AAAAPK%bA\GÖY Y view.html.phpnuW+A„¶form = $this->get('Form'); $this->item = $this->get('Item'); $this->state = $this->get('State'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); parent::display($tpl); } /** * Toolbar for product editing * * @copyright * @author RolandD * @todo * @see * @access protected * @param * @return void * @since 1.0 */ protected function addToolbar() { // Hide the mainmenu JRequest::setVar('hidemainmenu', true); $user = JFactory::getUser(); $isNew = ($this->item->id == 0); $checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id')); JToolBarHelper::title(JText::_('COM_CSVI_PAGE_'.($checkedOut ? 'VIEW_REPLACEMENT' : ($isNew ? 'ADD_REPLACEMENT' : 'EDIT_REPLACEMENT'))), 'csvi_replacement_48'); if (!$checkedOut) { JToolBarHelper::apply('replacement.apply', 'JTOOLBAR_APPLY'); JToolBarHelper::save('replacement.save', 'JTOOLBAR_SAVE'); JToolBarHelper::custom('replacement.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); } // If an existing item, can save to a copy. if (!$isNew) { JToolBarHelper::custom('replacement.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); } if (empty($this->item->id)) { JToolBarHelper::cancel('replacement.cancel', 'JTOOLBAR_CANCEL'); } else { JToolBarHelper::cancel('replacement.cancel', 'JTOOLBAR_CLOSE'); } } } ?>PK%bA\®)ÕÐtmpl/.htaccessnuW+A„¶ Order allow,deny Deny from all PK%bA\wtW¶tmpl/index.htmlnuW+A„¶PK%bA\ÀìÁvv tmpl/edit.phpnuW+A„¶
  • form->getLabel('name'); ?> form->getInput('name'); ?>
  • form->getLabel('findtext'); ?> form->getInput('findtext'); ?>
  • form->getLabel('replacetext'); ?> form->getInput('replacetext'); ?>
  • form->getLabel('method'); ?> form->getInput('method'); ?>
PK%bA\É#o,, index.htmlnuW+A„¶PK%bA\®)ÕÐ .htaccessnuW+A„¶ Order allow,deny Deny from all PK%bA\GÖY Y view.html.phpnuW+A„¶PK%bA\®)ÕЖ tmpl/.htaccessnuW+A„¶PK%bA\wtW¶S tmpl/index.htmlnuW+A„¶PK%bA\ÀìÁvv ¬ tmpl/edit.phpnuW+A„¶PK%bA\É#o,, _index.htmlnuW+A„¶PK%bA\®)ÕÐ Å.htaccessnuW+A„¶PKÊ}