| Current Path : /home/smartconb/www/armencom33/administrator/components/com_falang/views/import/ |
| Current File : /home/smartconb/www/armencom33/administrator/components/com_falang/views/import/view.html.php |
<?php
/**
* @package Falang for Joomla!
* @author Stéphane Bouey <stephane.bouey@faboba.com> - http://www.faboba.com
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
* @copyright Copyright (C) 2010-2023. Faboba.com All rights reserved.
*/
// No direct access to this file
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Toolbar\ToolbarHelper;
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
JLoader::import( 'views.default.view',FALANG_ADMINPATH);
class ImportViewImport extends FalangViewDefault
{
protected $form;
function display($tpl = null)
{
$document = Factory::getDocument();
$document->setTitle(Text::_('COM_FALANG_TITLE') . ' :: ' . Text::_('COM_FALANG_TITLE_IMPORT'));
$this->addToolbar();
$this->form = $this->get('Form');
parent::display($tpl);
}
protected function addToolbar()
{
Factory::getApplication()->input->set('hidemainmenu', true);
// set page title
ToolBarHelper::title( Text::_( 'COM_FALANG_TITLE_IMPORT' ), 'falang-import');
//add toolbar actions
ToolBarHelper::cancel('import.cancel',Text::_('JCANCEL'));
}
}