/** * 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(); }
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(); }
/** * Method to display the view * @access public */ function display() { parent::display(); }
/** * constructor (registers additional tasks to methods) * @return void */ function __construct() { parent::__construct(); }
/** * display the edit form * @return void */ function edit() { JRequest::setVar('view', 'hmyamldefaultconf'); JRequest::setVar('hidemainmenu', 1); parent::display(); }