Файловый менеджер - Редактировать - /home/lmsyaran/public_html/j3/administrator/components/com_invoices/views/currency/view.html.php
Назад
<?php /*------------------------------------------------------------------------ # com_invoices - Invoice Manager for Joomla # ------------------------------------------------------------------------ # author Germinal Camps # copyright Copyright (C) 2012 - 2016 JoomlaThat.com. All Rights Reserved. # @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://www.joomlathat.com # Technical Support: Forum - http://www.joomlathat.com/support -------------------------------------------------------------------------*/ //no direct access defined('_JEXEC') or die('Restricted access.'); jimport( 'joomla.application.component.view' ); class CurrenciesViewCurrency extends JViewLegacy { protected $input; function __construct() { parent::__construct(); $mainframe = JFactory::getApplication(); $this->input = $mainframe->input; } function display($tpl = null) { //cridem el CSS $document = JFactory::getDocument(); //get the item $this->item = $this->get('Data'); $isNew = ($this->item->id < 1); $text = $isNew ? JText::_( 'NEW' ) : JText::_( 'EDIT' ); $title = $isNew ? JText::_( 'CURRENCY' ) : $this->item->name; JToolbarHelper::title( $title . ': <small><small>[ ' . $text.' ]</small></small>','currencies' ); JToolbarHelper::save(); if ($isNew) { JToolbarHelper::cancel(); } else { JToolbarHelper::apply(); JToolbarHelper::cancel( 'cancel', JText::_('CLOSE') ); } $this->setLayout('form'); parent::display($tpl); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка