public function render($data = array()) { // Load menu $items = $this->modmenu_model->loadItemAll($this->data['item']); $this->addData('items', $items); return parent::render(); }
public function __construct() { parent::__construct(); // Set view $this->view = 'admin/credits'; $this->links = array(base_url() . 'web/admin/credits.css'); }
public function __construct() { parent::__construct(); // Load language $this->lang->load('layerswitcher', $this->session->userdata('lang')); $this->view = 'openlayers/layerswitcherblock'; $this->scripts = array(base_url() . "web/openlayers/layerswitcher.js"); }
public function __construct() { parent::__construct(); // Load language $this->lang->load('gefeaturesearch', $this->session->userdata('lang')); $this->view = 'googleearth/gesearchblock'; $this->scripts = array(base_url() . "web/googleearth/gefeaturesearch.js"); }
public function __construct() { parent::__construct(); // Load language $this->lang->load('map', $this->session->userdata('lang')); $this->view = 'googleearth/gemapblock'; $this->load->config('googleearth'); $this->scripts = array("http://www.google.com/jsapi?key=" . $this->config->item('geapi_key')); }
public function __construct() { parent::__construct(); // Load language $this->lang->load('map', $this->session->userdata('lang')); $this->view = 'openlayers/mapblock'; $this->links = array(base_url() . "web/js/vendor/ol/theme/default/style.css", base_url() . "web/openlayers/mapblock.css"); $this->scripts = array(base_url() . "web/js/vendor/ol/OpenLayers.js", base_url() . "web/js/WebSig.js"); }
public function __construct() { parent::__construct(); // Set preview image $this->previewimg = base_url() . 'web/images/module/idiomswitcher.png'; // Set view $this->view = 'crm/langmenu'; // Set data $this->addData('ctrlpath', 'language'); }
public function __construct() { parent::__construct(); // Load language $this->lang->load('crm', $this->session->userdata('lang')); // Set view $this->view = 'crm/publicmenu'; // Set links $this->links = array(base_url() . 'web/auth/auth.css'); // Set data $this->addData('ctrlpath', 'tickets'); }
public function __construct() { parent::__construct(); // Load language $this->lang->load('auth', $this->session->userdata('lang')); // Set view $this->view = 'auth/menu'; // Set links $this->links = array(base_url() . 'web/auth/auth.css'); // Set scripts $this->scripts = array(); // Load account model $this->load->model('account/account_model'); // Get current session username $username = $this->session->userdata('username'); // Get current session username if ($username == 'guest') { $this->addData('form', array('username' => '', 'password' => '')); } else { // Load user account $account = $this->account_model->load($username); $this->addData('account', $account->export()); } }
public function __construct() { parent::__construct(); $this->view = 'user/ckeditor'; $this->scripts = array(base_url() . "web/js/vendor/ckeditor/ckeditor.js", base_url() . "web/js/vendor/ckeditor/adapters/jquery.js"); }
public function __construct() { parent::__construct(); $this->scripts = array(base_url() . "web/openlayers/wmsgetfeatureinfo.js"); }
public function __construct() { parent::__construct(); $this->view = 'openlayers/wfsgetfeaturepopupblock'; $this->scripts = array(base_url() . "web/openlayers/wfsgetfeaturepopup.js"); }
public function __construct() { parent::__construct(); $this->scripts = array(base_url() . "web/rating/vote.js"); }
public function __construct() { parent::__construct(); $this->scripts = array("http://maps.google.com/maps/api/js?v=3.6&sensor=false"); }
public function __construct() { parent::__construct(); $this->scripts = array(base_url() . "web/js/proj4js/proj4js-compressed.js", base_url() . "web/js/proj4js/epsg20790.js"); }