public function __construct($args) { parent::__construct($args); if ($this->user['group'] != 'root') { $this->error('Ошибка доступа'); } }
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); }
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"); }
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"); }
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); }
public function __construct($args) { parent::__construct($args); SiteRead::me()->access('panel-settings'); }
/** * 构造函数。(ok) * */ public function __construct() { parent::__construct(); }
function __construct() { $this->layouts = "first_layouts"; parent::__construct(); }
public function __construct($args) { parent::__construct($args); }
public function __construct($args) { parent::__construct($args); SiteRead::me()->access('menu-editor'); }
public function __construct($args) { parent::__construct($args); SiteRead::me()->access('change-modules'); }
public function __construct($params) { parent::__construct($params); }
function __construct($args) { parent::__construct($args); $this->avatars_dir = 'data/avatars'; $this->ava_sizes = array('original' => 0, 'small' => 50, 'norm' => 100, 'big' => 200); }