Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->template->debug = $this->add_view('debug');
     $this->host = $this->input->get('host');
     $this->service = $this->input->get('srv');
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     // Disable auto-rendering
     $this->auto_render = FALSE;
     $this->data->getTimeRange($this->start, $this->end, $this->view);
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     $this->auto_render = FALSE;
     // Disable auto-rendering
     $this->auto_render = FALSE;
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     $this->config->read_config();
     $this->host = $this->input->get('host');
     $this->service = $this->input->get('srv');
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct();
     $this->template = $this->add_view('popup');
     $this->host = pnp::clean($this->input->get('host'));
     $this->service = pnp::clean($this->input->get('srv'));
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct();
     $this->template = $this->add_view('zoom');
     $this->tpl = $this->input->get('tpl');
     $this->graph_width = $this->config->conf['zgraph_width'];
     $this->graph_height = $this->config->conf['zgraph_height'];
 }
Пример #7
0
 public function __construct()
 {
     parent::__construct();
     $this->template = $this->add_view('zoom');
     $this->host = $this->input->get('host');
     $this->service = $this->input->get('srv');
     $this->tpl = $this->input->get('tpl');
 }
Пример #8
0
 public function __construct()
 {
     parent::__construct();
     $this->template = $this->add_view('template');
     $this->template->color = $this->add_view('color');
     $this->template->color->color_box = $this->add_view('color_box');
     $this->template->color->logo_box = $this->add_view('logo_box');
 }
 public function __construct()
 {
     if ($this->getParamByKey('save') == 'true') {
         if (!isset($_COOKIE[session_name()])) {
             session_set_cookie_params(Model_User::LIFETIME_USER_COOKIE);
         }
     }
     parent::__construct();
 }
Пример #10
0
 public function __construct()
 {
     parent::__construct();
     $this->template->docs = $this->add_view('docs');
     $this->template->docs->search_box = $this->add_view('search_box');
     $this->template->docs->docs_box = $this->add_view('docs_box');
     $this->template->docs->logo_box = $this->add_view('logo_box');
     $this->doc_language = $this->config->conf['doc_language'];
 }
Пример #11
0
 public function __construct()
 {
     parent::__construct();
     $this->template->page = $this->add_view('page');
     $this->template->page->graph_content = $this->add_view('graph_content');
     $this->template->page->graph_content->graph_width = $this->config->conf['graph_width'] + 85;
     $this->template->page->graph_content->timerange_select = $this->add_view('timerange_select');
     $this->template->page->header = $this->add_view('header');
     $this->template->page->logo_box = $this->add_view('logo_box');
 }
Пример #12
0
 public function __construct()
 {
     parent::__construct();
     $this->template->graph = $this->add_view('graph');
     $this->template->zoom_header = $this->add_view('zoom_header');
     $this->template->zoom_header->graph_width = $this->config->conf['graph_width'] + 140;
     $this->template->zoom_header->graph_height = $this->config->conf['graph_height'] + 230;
     $this->template->graph->icon_box = $this->add_view('icon_box');
     $this->template->graph->icon_box->position = "graph";
     $this->template->graph->icon_box->xml_icon = TRUE;
     $this->template->graph->icon_box->pdf_icon = TRUE;
 }
Пример #13
0
 public function __construct()
 {
     parent::__construct();
     $this->template = $this->add_view('template');
     $this->template->graph = $this->add_view('graph');
     $this->templates = $this->data->getSpecialTemplates();
     $this->data->GRAPH_TYPE = 'special';
     if ($this->tpl == '') {
         if ($this->templates) {
             $this->tpl = $this->templates[0];
         }
         url::redirect('special?tpl=' . $this->tpl, 302);
     }
 }
Пример #14
0
 public function __construct()
 {
     parent::__construct();
     $this->template->page = $this->add_view('page');
     $this->template->zoom_header = $this->add_view('zoom_header');
     $this->template->zoom_header->graph_width = $this->config->conf['graph_width'] + 140;
     $this->template->zoom_header->graph_height = $this->config->conf['graph_height'] + 230;
     $this->template->page->graph_content = $this->add_view('graph_content');
     $this->template->page->graph_content->graph_width = $this->config->conf['graph_width'] + 85;
     $this->template->page->graph_content->timerange_select = $this->add_view('timerange_select');
     $this->template->page->header = $this->add_view('header');
     $this->template->page->logo_box = $this->add_view('logo_box');
     $this->is_authorized = TRUE;
 }
Пример #15
0
 public function __construct()
 {
     parent::__construct();
     // Disable auto-rendering
     $this->auto_render = FALSE;
     $this->view = 0;
     //fake value
     $this->source = "";
     if ($this->input->get('view') != "") {
         $this->view = $this->input->get('view');
     }
     if ($this->input->get('source')) {
         $this->source = $this->input->get('source');
     }
     $this->data->getTimeRange($this->start, $this->end, $this->view);
 }
Пример #16
0
 public function __construct()
 {
     parent::__construct();
     $this->template = $this->add_view('template');
     if (isset($this->version) && $this->version == "tiny") {
         $this->template->graph = $this->add_view('graph_tiny');
     } else {
         $this->template->graph = $this->add_view('graph');
     }
     $this->template->zoom_header = $this->add_view('zoom_header');
     $this->template->zoom_header->graph_width = $this->config->conf['zgraph_width'] + 140;
     $this->template->zoom_header->graph_height = $this->config->conf['zgraph_height'] + 230;
     $this->template->graph->icon_box = $this->add_view('icon_box');
     $this->template->graph->icon_box->position = "graph";
     $this->template->graph->icon_box->xml_icon = TRUE;
     $this->template->graph->icon_box->pdf_icon = TRUE;
 }
Пример #17
0
 public function __construct()
 {
     parent::__construct();
     $this->use_bg = 0;
     $this->bg = $this->config->conf['background_pdf'];
     // Define PDF background per url option
     if (isset($this->bg) && $this->bg != "") {
         if (is_readable(Kohana::config('core.pnp_etc_path') . "/" . $this->bg)) {
             $this->bg = Kohana::config('core.pnp_etc_path') . "/" . $this->bg;
         } else {
             $this->bg = $this->config->conf['background_pdf'];
         }
     }
     // Use PDF background if readable
     if (is_readable($this->bg)) {
         $this->use_bg = 1;
     }
 }
Пример #18
0
 public function __construct()
 {
     parent::__construct();
     $this->config->read_config();
 }
Пример #19
0
 public function __construct()
 {
     parent::__construct();
     $this->template = $this->add_view('template');
     $this->template->debug = $this->add_view('debug');
 }
Пример #20
0
 public function __construct()
 {
     parent::__construct();
     $this->session->set('classic-ui', 0);
     $this->template = $this->add_view('mobile');
 }
Пример #21
0
 public function __construct()
 {
     parent::__construct();
 }
Пример #22
0
 public function __construct()
 {
     parent::__construct();
     $this->template = $this->add_view('popup');
 }