AAAA.htaccess000066600000000177151377410640006363 0ustar00 Order allow,deny Deny from all view.html.php000066600000003104151377410640007204 0ustar00form = $this->get('Form'); $this->ftp = JClientHelper::setCredentialsFromRequest('ftp'); $this->source = $this->get('Source'); $this->state = $this->get('State'); $this->template = $this->get('Template'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); parent::display($tpl); } /** * Add the page title and toolbar. * * @since 1.6 */ protected function addToolbar() { JRequest::setVar('hidemainmenu', true); $user = JFactory::getUser(); $canDo = TemplatesHelper::getActions(); JToolBarHelper::title(JText::_('COM_TEMPLATES_MANAGER_EDIT_FILE'), 'thememanager'); // Can save the item. if ($canDo->get('core.edit')) { JToolBarHelper::apply('source.apply'); JToolBarHelper::save('source.save'); } JToolBarHelper::cancel('source.cancel'); JToolBarHelper::divider(); JToolBarHelper::help('JHELP_EXTENSIONS_TEMPLATE_MANAGER_TEMPLATES_EDIT_SOURCE'); } } tmpl/edit.php000066600000003154151377410640007175 0ustar00
ftp) : ?> loadTemplate('ftp'); ?>
source->filename, $this->template->element); ?> form->getLabel('source'); ?>
form->getInput('source'); ?>
form->getInput('extension_id'); ?> form->getInput('filename'); ?>
tmpl/.htaccess000066600000000177151377410640007337 0ustar00 Order allow,deny Deny from all tmpl/index.html000066600000000037151377410640007531 0ustar00 tmpl/edit_ftp.php000066600000002243151377410640010044 0ustar00
ftp instanceof Exception): ?>

ftp->message); ?>

index.html000066600000000037151377410640006555 0ustar00