예제 #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;
 }
예제 #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);
     }
 }
예제 #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');
 }
예제 #4
0
 function init()
 {
     parent::init();
     $this->active = array('extend', 'comment.site.index');
 }
예제 #5
0
 function init()
 {
     parent::init();
     $this->active = array('system', 'auth.config.index');
 }
예제 #6
0
 function init()
 {
     parent::init();
     $this->active = array('system', 'i18n.site.index');
 }
예제 #7
0
 function init()
 {
     parent::init();
     $this->active = array('auth');
 }
예제 #8
0
 function init()
 {
     parent::init();
     $this->active = array('content', 'content.node.index');
 }
예제 #9
0
 function init()
 {
     parent::init();
     $this->active = array('auth', 'auth.group.index');
 }