Exemplo n.º 1
0
 function purge()
 {
     $confirmed = JRequest::getVar('confirmed', '0');
     if ($confirmed == '0') {
         JRequest::setVar('view', 'urls');
         JRequest::setVar('layout', 'confirm');
     } else {
         $model =& $this->getModel('urls');
         if ($model->purge()) {
             $this->cleanCache();
             $this->setRedirect('index.php?option=com_sef', JText::_('Successfully purged records'));
         } else {
             $this->setRedirect('index.php?option=com_sef', JText::_('Could not purge records'));
         }
     }
     parent::display();
 }
Exemplo n.º 2
0
 function purge()
 {
     $confirmed = JRequest::getVar('confirmed', '0');
     if ($confirmed == '0') {
         JRequest::setVar('view', 'urls');
         JRequest::setVar('layout', 'confirm');
     } else {
         $model =& $this->getModel('urls');
         if ($model->purge()) {
             $this->cleanCache();
             $this->setRedirect('index.php?option=com_sef', JText::_('COM_SEF_SUCCESSFULLY_PURGED_RECORDS'));
         } else {
             $this->setRedirect('index.php?option=com_sef', JText::_('COM_SEF_COULD_NOT_PURGE_RECORDS'));
         }
     }
     parent::display();
 }
Exemplo n.º 3
0
 function display()
 {
     JRequest::setVar('view', 'logger');
     parent::display();
 }
Exemplo n.º 4
0
 function display()
 {
     JRequest::setVar('view', 'sitemap');
     parent::display();
 }
Exemplo n.º 5
0
 function display()
 {
     JRequest::setVar('view', 'extensions');
     parent::display();
 }
Exemplo n.º 6
0
 function edit()
 {
     JRequest::setVar('view', 'config');
     parent::display();
 }
Exemplo n.º 7
0
 function display()
 {
     JRequest::setVar('view', 'statistics');
     parent::display();
 }
Exemplo n.º 8
0
 function changelog()
 {
     JRequest::setVar('view', 'info');
     JRequest::setVar('layout', 'changelog');
     parent::display();
 }
Exemplo n.º 9
0
 function display()
 {
     JRequest::setVar('view', 'htaccess');
     JRequest::setVar('layout', 'simple');
     parent::display();
 }
Exemplo n.º 10
0
 function edit()
 {
     JRequest::setVar('view', 'movedurl');
     parent::display();
 }
Exemplo n.º 11
0
 function display()
 {
     JRequest::setVar('view', 'metatags');
     parent::display();
 }
Exemplo n.º 12
0
 function display()
 {
     JRequest::setVar('view', 'cron');
     parent::display();
 }