function display($tpl = null) { $this->addToolbar(); EventgalleryHelpersEventgallery::addSubmenu('events'); $this->sidebar = JHtmlSidebar::render(); parent::display($tpl); }
function display($tpl = null) { $this->folders = $this->get('Folders'); $this->addToolbar(); EventgalleryHelpersEventgallery::addSubmenu('overview'); $this->sidebar = JHtmlSidebar::render(); parent::display($tpl); }
function display($tpl = null) { $this->item = $this->get('Item'); $folderMgr = EventgalleryLibraryManagerFolder::getInstance(); $this->folder = $folderMgr->getFolder($this->item->folder); $this->addToolbar(); EventgalleryHelpersEventgallery::addSubmenu('events'); $this->sidebar = JHtmlSidebar::render(); parent::display($tpl); }
/** * Display the view */ public function display($tpl = null) { $this->state = $this->get('State'); $this->item = $this->get('Item'); $this->form = $this->get('Form'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); EventgalleryHelpersEventgallery::addSubmenu('surcharge'); $this->sidebar = JHtmlSidebar::render(); return parent::display($tpl); }
function display($tpl = null) { $app = JFactory::getApplication(); if (EVENTGALLERY_EXTENDED) { $params = JComponentHelper::getParams('com_eventgallery'); $downloadid = $params->get('downloadid', ''); if (strlen($downloadid) < 10) { $app->enqueueMessage(JText::_('COM_EVENTGALLERY_OPTIONS_COMMON_DOWNLOADID_MISSING_WARNING'), 'warning'); } } EventgalleryHelpersEventgallery::addSubmenu('eventgallery'); $this->sidebar = JHtmlSidebar::render(); $this->addToolbar(); parent::display($tpl); }
/** * Display the view */ public function display($tpl = null) { $this->state = $this->get('State'); $this->item = $this->get('Item'); $this->form = $this->get('Form'); $folderMgr = EventgalleryLibraryManagerFolder::getInstance(); $this->folder = $folderMgr->getFolder($this->item->folder); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); EventgalleryHelpersEventgallery::addSubmenu('event'); $this->sidebar = JHtmlSidebar::render(); return parent::display($tpl); }
function display($tpl = null) { // Get data from the model $this->state = $this->get('State'); $this->items = $this->get('Items'); $this->foldertags = $this->get('Tags'); $this->pagination = $this->get('Pagination'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } if ($this->getLayout() !== 'contentpluginbutton') { $this->addToolbar(); EventgalleryHelpersEventgallery::addSubmenu('events'); $this->sidebar = JHtmlSidebar::render(); } return parent::display($tpl); }
function display($tpl = null) { $app = JFactory::getApplication(); $model = $this->getModel(); $this->filter = $app->getUserStateFromRequest('com_eventgallery.comments.filter', 'filter'); if (is_array($this->filter)) { $this->filter = implode(";", $this->filter); } $model->setState('com_eventgallery.comments.filter', $this->filter); $this->pagination = $model->getPagination(); $this->items = $model->getItems(); JToolbarHelper::title(JText::_('COM_EVENTGALLERY_COMMENTS'), 'generic.png'); JToolbarHelper::deleteList('Remove all comments?', 'comments.delete', 'Remove'); JToolbarHelper::editList('comment.edit', 'Edit'); //JToolbarHelper::addNewX('editComment','New'); JToolbarHelper::publishList('comments.publish'); JToolbarHelper::unpublishList('comments.unpublish'); EventgalleryHelpersEventgallery::addSubmenu('comments'); $this->sidebar = JHtmlSidebar::render(); parent::display($tpl); }
public static function addSubmenu($vName = 'events') { EventgalleryHelpersEventgallery::addSubmenu($vName); }