0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: sliders.tar
view.html.php 0000666 00000003240 15137237035 0007203 0 ustar 00 <?php /** * @package Unite Horizontal Carousel for Joomla 1.7-2.5 * @author UniteCMS.net * @copyright (C) 2012 Unite CMS, All Rights Reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html **/ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die( 'Restricted access' ); jimport('joomla.application.component.view'); class UniteHCarouselViewSliders extends JMasterViewHCar { protected $items; protected $pagination; protected $state; public function display($tpl = null) { $this->items = $this->get('Items'); $this->pagination = $this->get('Pagination'); $this->state = $this->get('State'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); parent::display($tpl); } /** * * add toolbar */ protected function addToolbar() { $title = JText::_('COM_UNITEHCAROUSEL'). " - ". JText::_('COM_UNITEHCAROUSEL_SLIDERS'); JToolBarHelper::title($title , 'generic.png'); JToolBarHelper::addNew('slider.add','JTOOLBAR_NEW'); JToolBarHelper::editList('slider.edit','JTOOLBAR_EDIT'); JToolBarHelper::deleteList('COM_UNITEHCAROUSEL_SLIDER_APPROVE_DELETE', 'sliders.delete','JTOOLBAR_DELETE'); JToolBarHelper::divider(); JToolBarHelper::custom('sliders.publish', 'publish.png', 'publish_f2.png','JTOOLBAR_PUBLISH', true); JToolBarHelper::custom('sliders.unpublish', 'unpublish.png', 'unpublish_f2.png', 'JTOOLBAR_UNPUBLISH', true); //JToolBarHelper::divider(); //JToolBarHelper::preferences('com_unitehcarousel', 300, 600); } } index.html 0000666 00000000000 15137237035 0006541 0 ustar 00 .htaccess 0000666 00000000177 15137237035 0006361 0 ustar 00 <FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch>