예제 #1
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'options');
     $this->view = new \fpcm\model\view\acp('options', 'system');
     $this->config = new \fpcm\model\system\config(false, false);
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'users');
     $this->view = new \fpcm\model\view\acp('useradd', 'users');
     $this->author = new \fpcm\model\users\author();
 }
예제 #3
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array();
     $this->view = new \fpcm\model\view\acp('help', 'system');
     $this->cache = new \fpcm\classes\cache('helpcache_' . $this->config->system_lang);
 }
예제 #4
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->view = new \fpcm\model\view\acp('login', 'login');
     $this->loginLockedExpire = session_cache_expire();
     $this->iplist = new \fpcm\model\ips\iplist();
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'wordban');
     $this->view = new \fpcm\model\view\acp('itemadd', 'wordban');
     $this->item = new \fpcm\model\wordban\item();
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'ipaddr');
     $this->view = new \fpcm\model\view\acp('ipadd', 'ips');
     $this->ipaddress = new \fpcm\model\ips\ipaddress();
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'categories');
     $this->view = new \fpcm\model\view\acp('categoryadd', 'categories');
     $this->category = new \fpcm\model\categories\category();
 }
예제 #8
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'permissions');
     $this->view = new \fpcm\model\view\acp('permissions', 'system');
     $this->permissionData = new \fpcm\model\system\permissions();
 }
예제 #9
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'options', 'modules' => 'configure', 'modules' => 'install');
     $this->modulelist = new \fpcm\model\modules\modulelist();
     $this->view = new \fpcm\model\view\acp('modulesinstall', 'packagemgr');
 }
예제 #10
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'smileys');
     $this->view = new \fpcm\model\view\acp('list', 'smileys');
     $this->smileyList = new \fpcm\model\files\smileylist();
 }
예제 #11
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'options', 'modules' => 'configure');
     $this->view = new \fpcm\model\view\acp('list', 'modules');
     $this->moduleList = new \fpcm\model\modules\modulelist();
     $this->moduleActions = array($this->lang->translate('MODULES_LIST_INSTALL') => 'install', $this->lang->translate('MODULES_LIST_UNINSTALL') => 'uninstall', $this->lang->translate('MODULES_LIST_UPDATE') => 'update', $this->lang->translate('MODULES_LIST_ENABLE') => 'enable', $this->lang->translate('MODULES_LIST_DISABLE') => 'disable');
 }
예제 #12
0
 /**
  * @see \fpcm\controller\abstracts\controller::__construct()
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('article' => array('editall', 'edit'), 'comment' => array('editall', 'edit'));
     $this->view = new \fpcm\model\view\acp('commentlist', 'comments');
     $this->list = new \fpcm\model\comments\commentList();
     $this->articleList = new \fpcm\model\articles\articlelist();
 }
예제 #13
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('uploads' => 'visible');
     $this->view = new \fpcm\model\view\acp('listouter', 'filemanager');
     $this->fileList = new \fpcm\model\files\imagelist();
     $this->userList = new \fpcm\model\users\userList();
 }
예제 #14
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'categories');
     $this->view = new \fpcm\model\view\acp('categorylist', 'categories');
     $this->list = new \fpcm\model\categories\categoryList();
     $this->rollList = new \fpcm\model\users\userRollList();
 }
예제 #15
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'users');
     $this->view = new \fpcm\model\view\acp('userlist', 'users');
     $this->userList = new \fpcm\model\users\userList();
     $this->rollList = new \fpcm\model\users\userRollList();
     $this->articleList = new \fpcm\model\articles\articlelist();
 }
예제 #16
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('article' => array('editall', 'edit'), 'comment' => array('editall', 'edit'));
     if ($this->permissions) {
         $this->approve = $this->permissions->check(array('comment' => 'approve'));
         $this->private = $this->permissions->check(array('comment' => 'private'));
     }
     $this->view = new \fpcm\model\view\acp('commentedit', 'comments');
 }
예제 #17
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->articleList = new \fpcm\model\articles\articlelist();
     $this->categoryList = new \fpcm\model\categories\categoryList();
     $this->commentList = new \fpcm\model\comments\commentList();
     $this->userList = new \fpcm\model\users\userList();
     $this->listShowLimit = $this->config->articles_acp_limit;
     $this->view = new \fpcm\model\view\acp('listouter', 'articles');
     $this->articleActions = array($this->lang->translate('ARTICLE_LIST_PINNED') => 'pinn', $this->lang->translate('ARTICLE_LIST_APPROVE') => 'approval', $this->lang->translate('EDITOR_ARCHIVE') => 'archive', $this->lang->translate('ARTICLE_LIST_COMMENTS') => 'comments', $this->lang->translate('ARTICLE_LIST_NEWTWEET') => 'newtweet', $this->lang->translate('GLOBAL_DELETE') => 'delete', $this->lang->translate('ARTICLE_LIST_RESTOREARTICLE') => 'restore');
     $this->initPermissions();
 }
예제 #18
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'templates');
     $this->view = new \fpcm\model\view\acp('overview', 'templates');
     $fileLib = new \fpcm\model\system\fileLib();
     $this->view->setViewJsFiles($fileLib->getCmJsFiles());
     $this->view->setViewCssFiles($fileLib->getCmCssFiles());
     $this->articleTemplate = new \fpcm\model\pubtemplates\article($this->config->articles_template_active);
     if ($this->config->articles_template_active != $this->config->article_template_active) {
         $this->articleSingleTemplate = new \fpcm\model\pubtemplates\article($this->config->article_template_active);
     }
     $this->commentTemplate = new \fpcm\model\pubtemplates\comment($this->config->comments_template_active);
     $this->commentFormTemplate = new \fpcm\model\pubtemplates\commentform();
     $this->latestNewsTemplate = new \fpcm\model\pubtemplates\latestnews();
     $this->tweetTemplate = new \fpcm\model\pubtemplates\tweet();
 }
예제 #19
0
 public function __construct()
 {
     $this->term = new \fpcm\modules\nkorg\tweetextender\model\term();
     $this->view = new \fpcm\model\view\module(\fpcm\model\abstracts\module::getModuleKeyByFolder(__DIR__), 'acp', 'editor');
     return parent::__construct();
 }
예제 #20
0
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'users', 'system' => 'rolls');
     $this->view = new \fpcm\model\view\acp('rolledit', 'users');
 }
예제 #21
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->view = new \fpcm\model\view\acp('index', 'dashboard');
 }
예제 #22
0
 public function __construct()
 {
     $this->view = new \fpcm\model\view\module(\fpcm\model\abstracts\module::getModuleKeyByFolder(__DIR__), 'acp', 'editor');
     return parent::__construct();
 }
예제 #23
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'templates');
 }
예제 #24
0
 public function __construct()
 {
     $this->message = new \fpcm\modules\nkorg\inactivity_manager\model\message();
     $this->view = new \fpcm\model\view\module(\fpcm\model\abstracts\module::getModuleKeyByFolder(__DIR__), 'acp', 'editor');
     return parent::__construct();
 }
예제 #25
0
 /**
  * Controller-Processing
  */
 public function __construct()
 {
     parent::__construct();
     $this->view = new \fpcm\model\view\acp('profile', 'system');
 }
예제 #26
0
 public function __construct()
 {
     parent::__construct();
     $this->view = new \fpcm\model\view\acp('ajax', 'common');
     $this->checkPermission = array('system' => 'options', 'modules' => 'configure');
 }
예제 #27
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'crons');
     $this->view = new \fpcm\model\view\acp('cronjobs', 'system');
 }
예제 #28
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
 }
예제 #29
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'logs');
     $this->view = new \fpcm\model\view\acp('overview', 'logs');
 }
예제 #30
0
 public function __construct()
 {
     parent::__construct();
     $this->categoryList = new \fpcm\model\categories\categoryList();
 }