function display($tpl = null) { $icon = 'manage-words.png'; JToolBarHelper::title(JText::_('JoomSEF Words Manager'), $icon); JToolBarHelper::back('Back', 'index.php?option=com_sef'); JHTML::_('behavior.tooltip'); parent::display($tpl); }
function display($tpl = null) { JToolBarHelper::title(JText::_('COM_SEF_301_REDIRECTS_MANAGER'), '301-redirects.png'); $bar =& JToolBar::getInstance(); JToolBarHelper::addNew(); JToolBarHelper::editList(); JToolBarHelper::deleteList(JText::_('Are you sure you want to delete selected URLs?')); JToolBarHelper::spacer(); $bar->appendButton('Confirm', JText::_('CONFIRM_DEL_FILTER'), 'delete_f2', JText::_('Delete All Filtered'), 'deletefiltered', false, false); JToolBarHelper::spacer(); JToolBarHelper::back('Back', 'index.php?option=com_sef'); // Get data from the model $this->assignRef('items', $this->get('Data')); $this->assign($this->getModel()); $this->assignRef('total', $this->get('Total')); $this->assignRef('lists', $this->get('Lists')); $this->assignRef('pagination', $this->get('Pagination')); parent::display($tpl); }
function display($tpl = null) { JToolBarHelper::title(JText::_('COM_SEF_LOGS_TITLE'), '404-logs.png'); JToolBarHelper::custom('clear', 'clear', '', 'COM_SEF_LOGS_CLEAR', false); JToolBarHelper::spacer(); JToolBarHelper::back('Back', 'index.php?option=com_sef'); // Get data from the model $this->assignRef('items', $this->get('Data')); $this->assignRef('total', $this->get('Total')); $this->assignRef('lists', $this->get('Lists')); $this->assignRef('pagination', $this->get('Pagination')); $enabled = $this->get('Enabled'); if (!$enabled) { $app =& JFactory::getApplication(); $app->enqueueMessage(JText::_('COM_SEF_LOGS_DISABLED_NOTICE')); } JHTML::_('behavior.tooltip'); parent::display($tpl); }
function display($tpl = null) { JToolBarHelper::title(JText::_('JoomSEF Website Crawler'), 'web-crawl.png'); JToolBarHelper::back('Back', 'index.php?option=com_sef'); // Prepare vars for JS $document =& JFactory::getDocument(); $js = "var jsCrawlerTextRunning = '" . JText::_('COM_SEF_CRAWLER_RUNNING', true) . "';\n"; $js .= "var jsCrawlerTextCancel = '" . JText::_('COM_SEF_CRAWLER_CANCEL', true) . "';\n"; $js .= "var jsCrawlerTextFinish = '" . JText::_('COM_SEF_CRAWLER_FINISH', true) . "';\n"; $js .= "var jsCrawlerTextSuccess = '" . JText::_('COM_SEF_CRAWLER_SUCCESS', true) . "';\n"; $js .= "var jsCrawlerTextCancelled = '" . JText::_('COM_SEF_CRAWLER_CANCELLED', true) . "';\n"; $js .= "var jsCrawlerTextError = '" . JText::_('COM_SEF_CRAWLER_ERROR', true) . "';\n"; $js .= "var jsCrawlerScriptUrl = '" . JURI::root() . "administrator/index.php?option=com_sef&controller=crawler&task=crawl';\n"; $js .= "var jsCrawlerRootUrl = '" . JURI::root() . "';\n"; $document->addScriptDeclaration($js); // Load JS JHTML::script('crawler.js', 'administrator/components/com_sef/assets/js/', false); JHTML::_('behavior.mootools'); JHTML::_('behavior.tooltip'); parent::display($tpl); }
function display($tpl = null) { JToolBarHelper::title('JoomSEF - ' . JText::_('.htaccess Editor'), 'edit.png'); JToolBarHelper::back('Back', 'index.php?option=com_sef'); parent::display(); }
function display($tpl = null) { JToolBarHelper::title(JText::_('COM_SEF_CRON'), 'cron.png'); JToolBarHelper::back('Back', 'index.php?option=com_sef'); parent::display($tpl); }