Example #1
0
 function init()
 {
     parent::init();
     $this->active = array('content', 'content.site.index');
     $this->widget = Field::widgets();
     $first[0] = __('please select');
     $this->widget = $first + $this->widget;
 }
Example #2
0
 function init()
 {
     parent::init();
     $this->active = array('system', 'core.modules.index');
     $this->_base = base_path() . 'modules/';
     foreach ($this->_core_modules as $m) {
         $load = Modules::find()->where(array('name' => $m))->one();
         if ($load) {
             continue;
         }
         $this->load_module($m, true);
     }
 }
Example #3
0
 function init()
 {
     parent::init();
     $this->imagecache = array('resize' => array('width' => '', 'height' => '', 'keepar' => "true", 'pad' => "true"), 'crop' => array('x1' => '', 'y1' => '', 'x2' => '', 'y2' => ''), 'crop_resize' => array('width' => '', 'height' => ''), 'rotate' => array('degrees' => ''), 'flip' => array('direction' => array('vertical', 'horizontal', 'both')), 'watermark' => array('filename' => 'file', 'position' => array(1, 2, 3, 4, 5, 6, 7, 8, 9), 'padding' => ''), 'border' => array('size' => '', 'color' => 'color'), 'mask' => array('maskimage' => 'mask.ext'), 'rounded' => array('radius' => '', 'sides' => 'tl tr bl br', 'antialias' => ''), 'grayscale' => array('grayscale'));
     $this->active = array('system', 'image.admin.index');
 }
Example #4
0
 function init()
 {
     parent::init();
     $this->active = array('extend', 'comment.site.index');
 }
Example #5
0
 function init()
 {
     parent::init();
     $this->active = array('system', 'auth.config.index');
 }
Example #6
0
 function init()
 {
     parent::init();
     $this->active = array('system', 'i18n.site.index');
 }
Example #7
0
 function init()
 {
     parent::init();
     $this->active = array('auth');
 }
Example #8
0
 function init()
 {
     parent::init();
     $this->active = array('content', 'content.node.index');
 }
Example #9
0
 function init()
 {
     parent::init();
     $this->active = array('auth', 'auth.group.index');
 }