Beispiel #1
0
 /**
  * display the edit form
  * @return void
  */
 function edit()
 {
     $document =& JFactory::getDocument();
     $document->addStyleSheet('templates/system/css/system.css');
     JRequest::setVar('view', 'hmyamldesignconf');
     JRequest::setVar('hidemainmenu', 1);
     parent::display();
 }
Beispiel #2
0
 function ftpLogin()
 {
     global $mainframe, $option;
     // Set FTP credentials, if given
     jimport('joomla.client.helper');
     $error = JClientHelper::setCredentialsFromRequest('ftp');
     if ($error) {
         $mainframe->enqueueMessage(JText::_('YAML FTP LOGIN ERROR'), 'error');
     } else {
         $mainframe->enqueueMessage(JText::_('YAML FTP LOGIN SUCCESS'));
     }
     if ($return = JRequest::getVar('return', false, 'POST')) {
         $mainframe->redirect($return);
     }
     parent::display();
 }
Beispiel #3
0
 /**
  * Method to display the view
  * @access  public
  */
 function display()
 {
     parent::display();
 }
Beispiel #4
0
 /**
  * constructor (registers additional tasks to methods)
  * @return void
  */
 function __construct()
 {
     parent::__construct();
 }
Beispiel #5
0
 /**
  * display the edit form
  * @return void
  */
 function edit()
 {
     JRequest::setVar('view', 'hmyamldefaultconf');
     JRequest::setVar('hidemainmenu', 1);
     parent::display();
 }