コード例 #1
0
ファイル: options.php プロジェクト: sea75300/fanpresscm3
 /**
  * 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
ファイル: useradd.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: help.php プロジェクト: sea75300/fanpresscm3
 /**
  * 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
ファイル: login.php プロジェクト: sea75300/fanpresscm3
 /**
  * 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
ファイル: itemadd.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: ipadd.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: categoryadd.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: permissions.php プロジェクト: sea75300/fanpresscm3
 /**
  * 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
ファイル: modinstall.php プロジェクト: sea75300/fanpresscm3
 /**
  * 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
ファイル: smileylist.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: modulelist.php プロジェクト: sea75300/fanpresscm3
 /**
  * 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
ファイル: commentlist.php プロジェクト: sea75300/fanpresscm3
 /**
  * @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
ファイル: filelist.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: categorylist.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: userlist.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: commentedit.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: templates.php プロジェクト: sea75300/fanpresscm3
 /**
  * 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
ファイル: addterm.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: rolledit.php プロジェクト: sea75300/fanpresscm3
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'users', 'system' => 'rolls');
     $this->view = new \fpcm\model\view\acp('rolledit', 'users');
 }
コード例 #21
0
ファイル: dashboard.php プロジェクト: sea75300/fanpresscm3
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->view = new \fpcm\model\view\acp('index', 'dashboard');
 }
コード例 #22
0
ファイル: editmessage.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: addmessage.php プロジェクト: sea75300/fanpresscm3
 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
ファイル: profile.php プロジェクト: sea75300/fanpresscm3
 /**
  * Controller-Processing
  */
 public function __construct()
 {
     parent::__construct();
     $this->view = new \fpcm\model\view\acp('profile', 'system');
 }
コード例 #26
0
ファイル: config.php プロジェクト: sea75300/fanpresscm3
 public function __construct()
 {
     parent::__construct();
     $this->view = new \fpcm\model\view\acp('ajax', 'common');
     $this->checkPermission = array('system' => 'options', 'modules' => 'configure');
 }
コード例 #27
0
ファイル: crons.php プロジェクト: sea75300/fanpresscm3
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'crons');
     $this->view = new \fpcm\model\view\acp('cronjobs', 'system');
 }
コード例 #28
0
ファイル: logout.php プロジェクト: sea75300/fanpresscm3
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
 }
コード例 #29
0
ファイル: logs.php プロジェクト: sea75300/fanpresscm3
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->checkPermission = array('system' => 'logs');
     $this->view = new \fpcm\model\view\acp('overview', 'logs');
 }
コード例 #30
0
ファイル: articlebase.php プロジェクト: sea75300/fanpresscm3
 public function __construct()
 {
     parent::__construct();
     $this->categoryList = new \fpcm\model\categories\categoryList();
 }