AAAAindex.html000066600000000000151372006130006531 0ustar00.htaccess000066600000000177151372006130006351 0ustar00 Order allow,deny Deny from all default.php000066600000026140151372006130006706 0ustar00get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $ordering = ($listOrder == 'a.lft'); $canOrder = $user->authorise('core.edit.state', 'com_menus'); $saveOrder = ($listOrder == 'a.lft' && $listDirn == 'asc'); ?>
menu_associations) ? $app->menu_associations : 0; if ($assoc): ?> items as $i => $item) : $orderkey = array_search($item->id, $this->ordering[$item->parent_id]); $canCreate = $user->authorise('core.create', 'com_menus'); $canEdit = $user->authorise('core.edit', 'com_menus'); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out==$user->get('id')|| $item->checked_out==0; $canChange = $user->authorise('core.edit.state', 'com_menus') && $canCheckin; ?> menu_associations) ? $app->menu_associations : 0; if ($assoc): ?>
items, 'filesave.png', 'items.saveorder'); ?>
id); ?> |—', $item->level-1) ?> checked_out) : ?> editor, $item->checked_out_time, 'items.', $canCheckin); ?> escape($item->title); ?> escape($item->title); ?>

|—', $item->level-1) ?> type !='url') : ?> note)) : ?> escape($item->alias));?> escape($item->alias), $this->escape($item->note));?> type =='url' && $item->note) : ?> escape($item->note));?>

published, $i, $canChange, 'cb'); ?> pagination->orderUpIcon($i, isset($this->ordering[$item->parent_id][$orderkey - 1]), 'items.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?> pagination->orderDownIcon($i, $this->pagination->total, isset($this->ordering[$item->parent_id][$orderkey + 1]), 'items.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?> class="text-area-order" title="title; ?> order" /> escape($item->access_level); ?> escape($item->item_type); ?> type == 'component') : ?> language=='*' || $item->home=='0'):?> home, $i, 'items.', ($item->language != '*' || !$item->home) && $canChange);?> image.'.gif', $item->language_title, array('title'=>JText::sprintf('COM_MENUS_GRID_UNSET_LANGUAGE', $item->language_title)), true);?> image.'.gif', $item->language_title, array('title'=>$item->language_title), true);?> association):?> id);?> language==''):?> language=='*'):?> language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?> id; ?>
pagination->getListFooter(); ?>
authorize('core.create', 'com_menus') || $user->authorize('core.edit', 'com_menus')) : ?> loadTemplate('batch'); ?>
view.html.php000066600000004262151372370720007211 0ustar00items = $this->get('Items'); $this->pagination = $this->get('Pagination'); $this->state = $this->get('State'); $this->arrSliders = $this->get("ArrSliders"); $this->sliderID = $this->get("SliderID"); $this->linkSliderSettings = HelperUniteHCar::getViewUrl_Slider($this->sliderID); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); parent::display($tpl); } protected function addToolbar() { //$sliderTitle = $this->arrSliders[$this->sliderID]["title"]; $arrSlider = HelperUniteHCar::getSlider($this->sliderID); $sliderTitle = $arrSlider["title"]; $title = JText::_('COM_UNITEHCAROUSEL'). " - ".$sliderTitle." - "; $title .= "[".JText::_('COM_UNITEHCAROUSEL_SLIDES')."]"; JToolBarHelper::title($title, 'generic.png'); $numSliders = count($this->arrSliders); if($numSliders > 0){ JToolBarHelper::addNew('items.add','JTOOLBAR_NEW'); JToolBarHelper::deleteList('', 'items.delete','JTOOLBAR_DELETE'); JToolBarHelper::divider(); JToolBarHelper::custom('items.publish', 'publish.png', 'publish_f2.png','JTOOLBAR_PUBLISH', true); JToolBarHelper::custom('items.unpublish', 'unpublish.png', 'unpublish_f2.png', 'JTOOLBAR_UNPUBLISH', true); JToolBarHelper::divider(); JToolBarHelper::cancel('slider.cancel', 'JTOOLBAR_CLOSE'); //JToolBarHelper::divider(); //JToolBarHelper::preferences('com_unitehcarousel', 300, 600); } } }tmpl/default_slide.php000066600000015447151372370720011063 0ustar00get('id'); $listOrder = $this->state->get('list.ordering'); $listDirn = $this->state->get('list.direction'); $canOrder = true; //$user->authorise('core.edit.state', 'com_contact.category'); $saveOrder = $listOrder == 'a.ordering'; ?>
linkSliderSettings)):?>
items); foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'a.ordering'); $canCreate = true; //$user->authorise('core.create', 'com_contact.category.'.$item->catid); $canEdit = true; //$user->authorise('core.edit', 'com_contact.category.'.$item->catid); $canCheckin = true; //$user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0; $canEditOwn = true; //$user->authorise('core.edit.own', 'com_contact.category.'.$item->catid) && $item->created_by == $userId; $canChange = true; //$user->authorise('core.edit.state', 'com_contact.category.'.$item->catid) && $canCheckin; //get params $params = new JRegistry(); $params->loadString($item->params, "json"); $urlRoot = JURI::root(); //get image url's: $image = $params->get("image"); $thumbUrl = UniteFunctionJoomlaHCar::getImageOutputUrl($image,200,100,true); $imageUrl = $urlRoot.$image; $img_file = pathinfo($imageUrl,PATHINFO_BASENAME); $itemTitle = $item->title." ($img_file)"; ?>
pagination->getListFooter(); ?>
id); ?> checked_out) : ?> editor, $item->checked_out_time, 'items.', $canCheckin); ?> escape($itemTitle); ?> escape($itemTitle); ?>

escape($item->alias));?>

slide image slider_name; ?> published, $i, 'items.', true, 'cb' ); ?> pagination->orderUpIcon($i, ($item->catid == @$this->items[$i-1]->catid),'items.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?> pagination->orderDownIcon($i, $n, ($item->catid == @$this->items[$i+1]->catid), 'items.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?> pagination->orderUpIcon($i, ($item->catid == @$this->items[$i-1]->catid),'items.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?> pagination->orderDownIcon($i, $n, ($item->catid == @$this->items[$i+1]->catid), 'items.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?> class="text-area-order" /> ordering; ?> id; ?>
tmpl/index.html000066600000000000151372370720007516 0ustar00tmpl/.htaccess000066600000000177151372370720007336 0ustar00 Order allow,deny Deny from all tmpl/default.php000066600000001072151372370720007670 0ustar00 arrSliders); if($numSliders == 0){ //error output ?>

Please add some slider before operating slides

loadTemplate("slide"); HelperUniteHCar::includeView("sliders/tmpl/footer.php"); ?>