Beispiel #1
0
 public function __construct($args)
 {
     parent::__construct($args);
     if ($this->user['group'] != 'root') {
         $this->error('Ошибка доступа');
     }
 }
Beispiel #2
0
 public function __construct($registry)
 {
     global $lang;
     parent::__construct($registry);
     $this->presenter()->assign("header_aside", "{$lang}/_parts/header_aside.tpl");
     $this->presenter()->assign("disable_scrolling", true);
     $this->presenter()->assign("disable_ring", true);
 }
Beispiel #3
0
 public function __construct($registry)
 {
     global $lang;
     parent::__construct($registry);
     $this->presenter()->addScript(false, "js/jquery-1.4.2.min.js");
     $this->presenter()->addScript(false, "js/pro.scroll.0.3.js");
     $this->presenter()->addScript(true, $this->SCRIPT);
     $this->presenter()->assign("header_aside", "{$lang}/_parts/header_aside.tpl");
 }
Beispiel #4
0
 public function __construct($registry)
 {
     global $lang;
     parent::__construct($registry);
     $this->presenter()->addScript(false, "js/jquery.js");
     $this->presenter()->addScript(false, "js/easySlider1.7.js");
     $this->presenter()->addScript(true, $this->SCRIPT);
     $this->presenter()->assign("header_aside", "{$lang}/_parts/header_aside.tpl");
     $this->presenter()->assign("page_menu", "{$lang}/_parts/page_menu.tpl");
 }
Beispiel #5
0
 public function __construct($registry)
 {
     global $lang;
     parent::__construct($registry);
     $this->presenter()->assign("header_aside", "{$lang}/_parts/header_aside.tpl");
     //$this->presenter()->assign("page_menu", "$lang/_parts/page_menu.tpl");
     $this->presenter()->addStyle(false, "js/jquery.jscrollpane2.css");
     $this->presenter()->addStyle(true, $this->STYLE);
     $this->presenter()->addScript(false, "js/jquery-1.6.1.min.js");
     $this->presenter()->addScript(false, "js/jquery.mousewheel.js");
     $this->presenter()->addScript(false, "js/jquery.jscrollpane.js");
     $this->presenter()->addScript(true, $this->SCRIPT);
 }
Beispiel #6
0
 public function __construct($args)
 {
     parent::__construct($args);
     SiteRead::me()->access('panel-settings');
 }
 /**
  * 构造函数。(ok)
  *
  */
 public function __construct()
 {
     parent::__construct();
 }
Beispiel #8
0
 function __construct()
 {
     $this->layouts = "first_layouts";
     parent::__construct();
 }
Beispiel #9
0
 public function __construct($args)
 {
     parent::__construct($args);
 }
Beispiel #10
0
 public function __construct($args)
 {
     parent::__construct($args);
     SiteRead::me()->access('menu-editor');
 }
Beispiel #11
0
 public function __construct($args)
 {
     parent::__construct($args);
     SiteRead::me()->access('change-modules');
 }
 public function __construct($params)
 {
     parent::__construct($params);
 }
Beispiel #13
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->avatars_dir = 'data/avatars';
     $this->ava_sizes = array('original' => 0, 'small' => 50, 'norm' => 100, 'big' => 200);
 }