AAAAindex.html000066600000000000151372370550006543 0ustar00tmpl/edit_params.php000066600000001722151372370550010537 0ustar00form->getFieldsets('params'); foreach ($fieldSets as $name => $fieldSet) : $fieldsetItems = $this->form->getFieldset($name); if(empty($fieldsetItems)) continue; echo JHtml::_('sliders.panel',JText::_($fieldSet->label), $name.'-params'); if (isset($fieldSet->description) && trim($fieldSet->description)) : echo '

'.$this->escape(JText::_($fieldSet->description)).'

'; endif; ?>
tmpl/index.html000066600000000000151372370550007517 0ustar00tmpl/edit_visual.php000066600000006332151372370550010561 0ustar00
isNew == false):?> Edit Slides
putVisualFields("general") ?>

This is html caption, you can play with the text style.

bulletsHtml; ?>
tmpl/edit.php000066600000003600151372370550007171 0ustar00item->id; try{ ?>
loadTemplate('general'); ?>
getMessage(); $message = str_replace("\\", "/", $message); $message = stripslashes($message); ?> tmpl/arrows.php000066600000002445151372370550007567 0ustar00
tmpl/bullets.php000066600000001750151372370550007722 0ustar00
tmpl/.htaccess000066600000000177151372370550007337 0ustar00 Order allow,deny Deny from all tmpl/edit_general.php000066600000001604151372370550010670 0ustar00isNew) $boxTitle = JText::_('COM_UNITEHCAROUSEL_NEW'); else $boxTitle = JText::_('COM_UNITEHCAROUSEL_SLIDER_SETTINGS'); ?>
form, "general", $boxTitle); ?> isNew == false):?> Edit Slides
form, "params"); ?>
tmpl/default.php000066600000000455151372370550007675 0ustar00 slider default layouttmpl/ajax.php000066600000001660151372370550007173 0ustar00$action,"success"=>true); try{ switch($action){ case "get_bullets_html": $setName = UniteFunctionsHCar::getVal($data, "setName"); $html = HelperUniteHCar::getBulletsHtml($setName); $response["bullets_html"] = $html; break; default: UniteFunctionsHCar::throwError("Wrong action: $action"); break; } }catch(Exception $e){ $message = $e->getMessage(); UniteFunctionsHCar::jsonErrorResponse($message); } UniteFunctionsHCar::jsonResponse($response); ?>.htaccess000066600000000177151372370550006363 0ustar00 Order allow,deny Deny from all view.html.php000066600000004474151372370550007217 0ustar00isNew) $title .= '[ ' . JText::_( 'COM_UNITEHCAROUSEL_NEW' ).' ]'; else $title .= $this->item->title." [".JText::_("COM_UNITEHCAROUSEL_EDIT_SETTINGS")."]"; JToolBarHelper::title($title , 'generic.png' ); if ($this->isNew){ // For new records, check the create permission. JToolBarHelper::apply('slider.apply', 'JTOOLBAR_APPLY'); JToolBarHelper::save('slider.save', 'JTOOLBAR_SAVE'); JToolBarHelper::custom('slider.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); JToolBarHelper::cancel('slider.cancel', 'JTOOLBAR_CANCEL'); } else { JToolBarHelper::apply('slider.apply', 'JTOOLBAR_APPLY'); JToolBarHelper::save('slider.save', 'JTOOLBAR_SAVE'); //JToolBarHelper::custom('slider.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); JToolBarHelper::cancel('slider.cancel', 'JTOOLBAR_CANCEL'); } } /** * the main disply function */ public function display($tpl = null) { // Initialiase variables. $this->form = $this->get('Form'); $this->item = $this->get('Item'); $this->state = $this->get('State'); $this->isNew = ($this->item->id == 0); if($this->_layout == "default" || $this->_layout == "edit"){ if($this->isNew == false){ $this->linkEditSlides = HelperUniteHCar::getViewUrl_Items($this->item->id); } } // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); parent::display($tpl); } }