Example #1
0
 /**
  * Affichage de toutes les aides
  */
 public static function help()
 {
     $msg = helper::init(true);
     $msg .= helper::module(true);
     $msg .= helper::dao(true);
     return $msg;
 }
Example #2
0
 /**
  * View-Variablen initialisieren
  */
 protected function initAssigns()
 {
     /**
      * CSS und JS Files
      */
     $this->assign('FPCM_CSS_FILES', $this->getViewCssFiles());
     $this->assign('FPCM_JS_FILES', $this->getViewJsFiles());
     $this->assign('FPCM_JS_VARS', $this->getJsVars());
     /**
      * Pfade
      */
     $this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
     $this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
     $this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
     /**
      * Sprache
      */
     $this->assign('FPCM_LANG', $this->language);
     /**
      * Meldungen
      */
     $this->assign('FPCM_MESSAGES', $this->getMessages());
     helper::init($this->config->system_lang);
 }
Example #3
0
 /**
  * View-Variablen initialisieren
  */
 protected function initAssigns()
 {
     /**
      * CSS und JS Files
      */
     $this->assign('FPCM_CSS_FILES', $this->config->system_mode && !$this->forceCss ? array() : $this->getViewCssFiles());
     $jsFiles = $this->getViewJsFiles();
     if ($this->config->system_mode && !$this->config->system_loader_jquery) {
         unset($jsFiles[0]);
     }
     $this->assign('FPCM_JS_FILES', $jsFiles);
     $this->assign('FPCM_JS_VARS', $this->getJsVars());
     /**
      * Pfade
      */
     $this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
     $this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
     $this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
     $this->assign('FPCM_SELF', $_SERVER['PHP_SELF']);
     /**
      * Sprache
      */
     $this->assign('FPCM_LANG', $this->language);
     /**
      * Meldungen
      */
     $this->assign('FPCM_MESSAGES', $this->getMessages());
     /**
      * Login-Status
      */
     $this->assign('FPCM_LOGGEDIN', $this->session->exists());
     /**
      * System config data
      */
     $this->assign('FPCM_VERSION', $this->config->system_version);
     $this->assign('FPCM_FRONTEND_LINK', $this->config->system_url);
     $this->assign('FPCM_DATETIME_MASK', $this->config->system_dtmask);
     $this->assign('FPCM_DATETIME_ZONE', $this->config->system_timezone);
     $this->assign('FPCM_MAINTENANCE_MODE', $this->config->system_maintenance);
     /**
      * Current module
      */
     $this->assign('FPCM_CURRENT_MODULE', \fpcm\classes\http::get('module'));
     helper::init($this->config->system_lang);
 }
Example #4
0
 /**
  * View-Variablen initialisieren
  */
 protected function initAssigns()
 {
     /**
      * Meldungen
      */
     $this->addJsVars(array('fpcmMsg' => $this->getMessages()));
     /**
      * CSS und JS Files
      */
     $this->assign('FPCM_CSS_FILES', $this->getViewCssFiles());
     $this->assign('FPCM_JS_FILES', $this->getViewJsFiles());
     $this->assign('FPCM_JS_VARS', $this->getJsVars());
     /**
      * Pfade
      */
     $this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
     $this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
     $this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
     $this->assign('FPCM_SELF', $_SERVER['PHP_SELF']);
     /**
      * Sprache
      */
     $this->assign('FPCM_LANG', $this->language);
     /**
      * System config data
      */
     $this->assign('FPCM_VERSION', $this->version);
     $this->assign('FPCM_LOGGEDIN', false);
     $this->assign('FPCM_CURRENT_MODULE', 'installer');
     helper::init($this->language->getLangCode());
 }
Example #5
0
 /**
  * View-Variablen initialisieren
  */
 public function initAssigns()
 {
     /**
      * Pfade
      */
     $this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
     $this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
     $this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
     $this->assign('FPCM_SELF', $_SERVER['PHP_SELF']);
     /**
      * Sprache
      */
     $this->assign('FPCM_LANG', $this->language);
     /**
      * Login-Status
      */
     $this->assign('FPCM_LOGGEDIN', $this->session->exists());
     /**
      * System config data
      */
     $this->assign('FPCM_VERSION', $this->config->system_version);
     $this->assign('FPCM_FRONTEND_LINK', $this->config->system_url);
     $this->assign('FPCM_DATETIME_MASK', $this->config->system_dtmask);
     $this->assign('FPCM_DATETIME_ZONE', $this->config->system_timezone);
     $this->assign('FPCM_MAINTENANCE_MODE', $this->config->system_maintenance);
     $this->assign('FPCM_CRONJOBS_DISABLED', \fpcm\classes\baseconfig::asyncCronjobsEnabled());
     /**
      * Current module
      */
     $this->assign('FPCM_CURRENT_MODULE', \fpcm\classes\http::get('module'));
     if ($this->session->exists()) {
         $this->assign('FPCM_USER', $this->session->currentUser->getDisplayName());
         $this->assign('FPCM_SESSION_LOGIN', $this->session->getLogin());
     }
     helper::init($this->config->system_lang);
 }
Example #6
0
 /**
  * View-Variablen initialisieren
  */
 protected function initAssigns()
 {
     /**
      * Current module
      */
     $this->assign('FPCM_CURRENT_MODULE', \fpcm\classes\http::get('module'));
     if ($this->session->exists()) {
         $this->assign('FPCM_USER', $this->session->currentUser->getDisplayName());
         $this->assign('FPCM_SESSION_LOGIN', $this->session->getLogin());
         $nav = new \fpcm\model\theme\navigation();
         $this->assign('FPCM_NAVIGATION', $nav->render());
         $this->assign('FPCM_NAVIGATION_ACTIVE', $this->getNavigationActiveCheckStr());
         $this->jsvars = array('fpcmSessionCheckEnabled' => true) + $this->jsvars;
         $this->addJsLangVars(array('sessionCheckMsg' => $this->language->translate('SESSION_TIMEOUT')));
     }
     /**
      * Meldungen
      */
     $this->addJsVars(array('fpcmMsg' => $this->getMessages()));
     /**
      * CSS und JS Files
      */
     $this->assign('FPCM_CSS_FILES', $this->getViewCssFiles());
     $this->assign('FPCM_JS_FILES', $this->getViewJsFiles());
     $this->assign('FPCM_JS_VARS', $this->getJsVars());
     /**
      * Pfade
      */
     $this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
     $this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
     $this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
     $this->assign('FPCM_SELF', $_SERVER['PHP_SELF']);
     /**
      * Sprache
      */
     $this->assign('FPCM_LANG', $this->language);
     /**
      * Login-Status
      */
     $this->assign('FPCM_LOGGEDIN', $this->session->exists());
     /**
      * Aufruf durch mobile Endgerät
      */
     $this->assign('FPCM_ISMOBILE', $this->isMobile);
     /**
      * System config data
      */
     $this->assign('FPCM_VERSION', $this->config->system_version);
     $this->assign('FPCM_FRONTEND_LINK', $this->config->system_url);
     $this->assign('FPCM_DATETIME_MASK', $this->config->system_dtmask);
     $this->assign('FPCM_DATETIME_ZONE', $this->config->system_timezone);
     $this->assign('FPCM_MAINTENANCE_MODE', $this->config->system_maintenance);
     $this->assign('FPCM_CRONJOBS_DISABLED', \fpcm\classes\baseconfig::asyncCronjobsEnabled());
     helper::init($this->config->system_lang);
 }
Example #7
0
 /**
  * __toString retourne l'aide du module
  *
  * @return string
  */
 public function __toString()
 {
     return helper::init();
 }