Example #1
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->assignModules($this->moduleList);
     $this->view->addJsLangVars(array('detailsHeadline' => $this->lang->translate('MODULES_LIST_INFORMATIONS')));
     $this->view->addJsVars(array('fpcmJqUploadInit' => 0));
     $this->view->setViewJsFiles(array(\fpcm\classes\baseconfig::$jsPath . 'modulelist.js', \fpcm\classes\baseconfig::$jsPath . 'filemanager.js'));
     if (!$this->permissions->check(array('modules' => 'install'))) {
         unset($this->moduleActions[$this->lang->translate('MODULES_LIST_INSTALL')], $this->moduleActions[$this->lang->translate('MODULES_LIST_UPDATE')]);
     }
     if (!$this->permissions->check(array('modules' => 'uninstall'))) {
         unset($this->moduleActions[$this->lang->translate('MODULES_LIST_UNINSTALL')]);
     }
     if (!$this->permissions->check(array('modules' => 'enable'))) {
         unset($this->moduleActions[$this->lang->translate('MODULES_LIST_ENABLE')], $this->moduleActions[$this->lang->translate('MODULES_LIST_DISABLE')]);
     }
     $this->view->assign('moduleManagerMode', true);
     if (!\fpcm\classes\baseconfig::canConnect()) {
         unset($this->moduleActions[$this->lang->translate('MODULES_LIST_INSTALL')], $this->moduleActions[$this->lang->translate('MODULES_LIST_UPDATE')]);
         $this->view->assign('moduleManagerMode', false);
     }
     $translInfo = array('{{filecount}}' => 1, '{{filesize}}' => \fpcm\classes\tools::calcSize(\fpcm\classes\baseconfig::uploadFilesizeLimit(true), 0));
     $this->view->assign('maxFilesInfo', $this->lang->translate('FILE_LIST_PHPMAXINFO', $translInfo));
     $this->view->assign('actionPath', \fpcm\classes\baseconfig::$rootPath . $this->getControllerLink('modules/list'));
     $this->view->assign('moduleActions', $this->moduleActions);
     $this->view->render();
 }
Example #2
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->view->render();
 }
Example #3
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $mode = (int) $this->getRequestVar('mode');
     if ($mode == 2) {
         $this->view->setShowHeader(0);
         $this->view->setShowFooter(0);
     }
     $this->view->setViewJsFiles(array(\fpcm\classes\loader::libGetFileUrl('tinymce4', 'tinymce.min.js'), \fpcm\classes\baseconfig::$jsPath . 'editor_comments.js'));
     $this->view->addJsVars(array('fpcmTinyMceLang' => $this->config->system_lang, 'fpcmTinyMcePlugins' => 'autolink charmap code image link lists media nonbreaking wordcount fpcm_emoticons autoresize', 'fpcmTinyMceToolbar' => 'fontsizeselect | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist blockquote | link unlink anchor image media emoticons charmap | undo redo removeformat searchreplace fullscreen code', 'fpcmNavigationActiveItemId' => 'itemnav-item-editcomments'));
     if ($this->comment->getChangeuser() && $this->comment->getChangetime()) {
         $changeUser = new \fpcm\model\users\author($this->comment->getChangeuser());
         $this->view->assign('changeInfo', $this->lang->translate('COMMMENT_LASTCHANGE', array('{{username}}' => $changeUser->exists() ? $changeUser->getDisplayname() : $this->lang->translate('GLOBAL_NOTFOUND'), '{{time}}' => date($this->config->system_dtmask, $this->comment->getChangetime()))));
     } else {
         $this->view->assign('changeInfo', $this->lang->translate('GLOBAL_NOCHANGE'));
     }
     $this->view->assign('ipWhoisLink', substr($this->comment->getIpaddress(), -1) === '*' ? false : true);
     $this->view->assign('comment', $this->comment);
     $this->view->assign('commentsMode', $mode);
     $this->view->assign('permApprove', $this->approve);
     $this->view->assign('permPrivate', $this->private);
     $this->view->render();
 }
Example #4
0
 /**
  * Controller-Processing
  * @return boolean
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->view->setViewJsFiles(array(\fpcm\classes\baseconfig::$jsPath . 'moduleinstaller.js'));
     $tempFile = new \fpcm\model\files\tempfile('installkeys');
     if (!$tempFile->getContent()) {
         trigger_error('No module key data found!');
         $this->view->addErrorMessage('MODULES_FAILED_TEMPKEYS');
         $this->view->assign('nokeys', true);
         $this->view->render();
         return false;
     }
     $startStep = $this->forceStep ? $this->forceStep : (\fpcm\classes\baseconfig::canConnect() ? 1 : 4);
     $keys = json_decode($tempFile->getContent(), true);
     $params = $this->initPkgManagerData();
     $params['fpcmModuleKeys'] = $keys;
     $params['fpcmModuleUrl'] = \fpcm\classes\baseconfig::$moduleServer . 'packages/{{pkgkey}}.zip';
     $params['fpcmUpdaterStartStep'] = $this->forceStep ? $this->forceStep : (\fpcm\classes\baseconfig::canConnect() ? 1 : 4);
     $params['fpcmProgressbarMax'] = count($keys);
     $params['fpcmUpdaterMessages']['EXIT_1'] = $this->lang->translate('MODULES_SUCCESS_INSTALL');
     $params['fpcmUpdaterMessages']['4_0'] = $this->lang->translate('MODULES_FAILED_INSTALL');
     $this->view->addJsVars($params);
     $this->view->render();
     $tempFile->delete();
 }
Example #5
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();
 }
Example #6
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->view->assign('item', $this->item);
     $this->view->render();
 }
Example #7
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->view->addJsVars(array('fpcmNavigationActiveItemId' => 'submenu-itemnav-item-wordban'));
     $this->view->assign('item', $this->item);
     $this->view->render();
 }
Example #8
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $list = $this->smileyList->getDatabaseList();
     $this->view->assign('list', $list);
     $this->view->render();
 }
Example #9
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $itemList = $this->list->getItems();
     $this->view->assign('itemList', $itemList);
     $this->view->render();
 }
Example #10
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->view->assign('term', $this->term);
     $this->view->assign('additional', '');
     $this->view->render();
 }
Example #11
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $userList = new \fpcm\model\users\userList();
     $this->view->assign('ipList', $this->ipList->getIpAll());
     $this->view->assign('users', $userList->getUsersAll());
     $this->view->render();
 }
Example #12
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->view->assign('msg', $this->message);
     $this->view->assign('additional', '&id=' . $this->message->getId());
     $this->view->addJsVars(array('fpcmInactivityDatePicker' => array('daysfull' => $this->lang->getDays(), 'daysshort' => $this->lang->getDaysShort(), 'months' => array_values($this->lang->getMonths()))));
     $this->view->render();
 }
Example #13
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $folderList = new \fpcm\model\files\backuplist();
     $files = $folderList->getFolderList();
     rsort($files);
     $this->view->assign('folderList', $files);
     $this->view->render();
 }
Example #14
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $cronlist = new \fpcm\model\crons\cronlist();
     $this->view->assign('cronjobList', $cronlist->getCronsData());
     $this->view->assign('currentTime', time());
     $this->view->render();
     $this->view->render();
 }
Example #15
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $userRolls = new \fpcm\model\users\userRollList();
     $this->view->assign('userRolls', $userRolls->getUserRollsTranslated());
     $this->view->assign('category', $this->category);
     $this->view->addJsVars(array('fpcmNavigationActiveItemId' => 'submenu-itemnav-item-categories'));
     $this->view->render();
 }
Example #16
0
 /**
  * @see \fpcm\controller\abstracts\controller::process()
  * @return mixed
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $this->initCommentPermissions();
     $this->initSearchForm();
     $this->view->assign('comments', $this->list->getCommentsAll());
     $this->view->assign('commentsMode', 1);
     $this->view->render();
 }
Example #17
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $userRolls = new \fpcm\model\users\userRollList();
     $this->view->assign('userRolls', array_flip($userRolls->getUserRollsTranslated()));
     $this->view->assign('permissions', $this->permissionData->getPermissionsAll());
     $this->view->assign('hideTitle', false);
     $this->view->setViewJsFiles(array(\fpcm\classes\baseconfig::$jsPath . 'permissions.js'));
     $this->view->render();
 }
Example #18
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $userRolls = new \fpcm\model\users\userRollList();
     $this->view->assign('userRolls', $userRolls->getUserRollsTranslated());
     $this->view->assign('author', $this->author);
     $this->view->assign('showDisableButton', false);
     $this->view->setViewJsFiles(array(\fpcm\classes\loader::libGetFileUrl('password-generator', 'password-generator.min.js')));
     $this->view->addJsVars(array('fpcmNavigationActiveItemId' => 'submenu-itemnav-item-users'));
     $this->view->render();
 }
Example #19
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $categoryList = $this->list->getCategoriesAll();
     foreach ($categoryList as &$category) {
         $rolls = $this->rollList->getRollsbyIdsTranslated(explode(';', $category->getGroups()));
         $category->setGroups(implode(', ', array_keys($rolls)));
     }
     $this->view->assign('categorieList', $categoryList);
     $this->view->render();
 }
Example #20
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     if (!$this->moduleKey) {
         $this->view = new \fpcm\model\view\error();
         $this->view->setMessage('Selected module not found in installed modules!');
         return $this->view->render();
     }
     $this->events->runEvent('acpConfig', $this->moduleKey);
     $this->view->render();
 }
Example #21
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $userList = new \fpcm\model\users\userList();
     $this->view->assign('userList', $userList->getUsersAll());
     $this->view->assign('sessionList', $this->session->getSessions());
     $this->view->assign('errorLogs', array());
     $this->view->assign('systemLogs', array());
     $this->view->assign('databaseLogs', array());
     $this->view->assign('packagesLogs', array());
     $this->view->assign('customLogs', $this->events->runEvent('logsAddList', array()));
     $this->view->render();
 }
Example #22
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $translatedRolls = $this->rollList->getUserRollsTranslated();
     $this->view->assign('currentUser', $this->session->getUserId());
     $this->view->assign('usersActive', $this->userList->getUsersActive(true));
     $this->view->assign('usersDisabled', $this->userList->getUsersDisabled(true));
     $this->view->assign('usersRollList', $translatedRolls);
     $this->view->assign('usersRolls', array_flip($translatedRolls));
     $this->view->assign('articleCounts', $this->articleList->countArticlesByUsers());
     $this->view->assign('rollPermissions', $this->permissions->check(array('system' => 'rolls')));
     $this->view->render();
 }
Example #23
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     if (!is_object($this->smiley)) {
         $this->smiley = new \fpcm\model\files\smiley();
     }
     $smileyList = new \fpcm\model\files\smileylist();
     $files = array();
     foreach ($smileyList->getFolderList() as $file) {
         $files[] = basename($file);
     }
     $this->view->assign('smiley', $this->smiley);
     $this->view->assign('files', $files);
     $this->view->render();
 }
Example #24
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $eventResult = $this->events->runEvent('articleReplaceEditorPlugin');
     if (is_a($eventResult, '\\fpcm\\model\\abstracts\\articleEditor')) {
         $this->editorPlugin = $eventResult;
     } elseif ($this->config->system_editor) {
         $this->editorPlugin = new \fpcm\model\editor\htmlEditor();
     } else {
         $this->editorPlugin = new \fpcm\model\editor\tinymceEditor();
     }
     $this->view->setViewJsFiles($this->editorPlugin->getJsFiles());
     $this->view->setViewCssFiles($this->editorPlugin->getCssFiles());
     $viewVars = $this->editorPlugin->getViewVars();
     foreach ($viewVars as $key => $value) {
         $this->view->assign($key, $value);
     }
     $changeAuthor = $this->permissions->check(array('article' => 'authors'));
     $this->view->assign('changeAuthor', $changeAuthor);
     if ($changeAuthor) {
         $userlist = new \fpcm\model\users\userList();
         $changeuserList = array($this->lang->translate('EDITOR_CHANGEAUTHOR') => '') + $userlist->getUsersNameList();
         $this->view->assign('changeuserList', $changeuserList);
     }
     $this->view->assign('editorFile', $this->editorPlugin->getEditorTemplate());
     $this->view->assign('article', $this->article);
     $this->view->assign('categories', $this->categoryList->getCategoriesCurrentUser());
     $this->view->assign('commentEnabledGlobal', $this->config->system_comments_enabled);
     $this->view->assign('showArchiveStatus', true);
     $this->view->assign('showDraftStatus', true);
     $this->view->assign('isRevision', false);
     $this->view->assign('timesMode', false);
     $this->view->assign('userfields', $this->getUserFields());
     $twitter = new \fpcm\model\system\twitter();
     $this->view->assign('showTwitter', $twitter->checkRequirements());
     $this->jsVars = $this->editorPlugin->getJsVars();
     $this->jsVars += array('fpcmFileManagerUrl' => \fpcm\classes\baseconfig::$rootPath . 'index.php?module=files/list&mode=', 'fpcmFileManagerUrlMode' => 2);
     $jsLangVars = array('fileManagerHeadline' => $this->lang->translate('HL_FILES_MNG'));
     $this->view->addJsLangVars(array_merge($jsLangVars, $this->editorPlugin->getJsLangVars()));
     $this->view->addJsVars($this->jsVars);
     return true;
 }
Example #25
0
 /**
  * Controller-Processing
  * @return boolean
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $contents = $this->cache->read();
     if ($this->cache->isExpired() || !is_array($contents)) {
         $xml = simplexml_load_string($this->lang->getHelp());
         foreach ($xml->chapter as $chapter) {
             $headline = trim($chapter->headline);
             $contents[$headline] = trim($chapter->text);
         }
     }
     $contents = $this->events->runEvent('extendHelp', $contents);
     $this->view->assign('chapters', $contents);
     $pos = $this->chapterHeadline ? (int) array_search(strtoupper(base64_decode($this->chapterHeadline)), array_keys($contents)) : false;
     $this->view->assign('defaultCapter', $pos);
     $this->view->render();
 }
Example #26
0
 /**
  * Controller-Processing
  * @return boolean
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     switch ($this->tid) {
         case 1:
             $this->template = new \fpcm\model\pubtemplates\article($this->config->articles_template_active);
             $this->getArticlesPreview();
             break;
         case 2:
             $this->template = new \fpcm\model\pubtemplates\article($this->config->article_template_active);
             $this->getArticlePreview();
             break;
         case 3:
             $this->template = new \fpcm\model\pubtemplates\comment($this->config->comments_template_active);
             $this->getCommentPreview();
             break;
         case 4:
             $this->template = new \fpcm\model\pubtemplates\commentform();
             $this->getCommentFormPreview();
             break;
         case 5:
             $this->template = new \fpcm\model\pubtemplates\latestnews();
             $this->getLatestNewsPreview();
             break;
         default:
             return false;
     }
     $this->view->assign('showToolbars', false);
     $this->view->assign('hideDebug', true);
     $this->view->assign('hideDebug', true);
     $this->view->assign('systemMode', 1);
     $this->view->setShowHeader(true);
     $this->view->setShowFooter(true);
     $this->view->setForceCss(true);
     $this->view->prependjQuery();
     $this->view->render();
 }
Example #27
0
 /**
  * Controller-Processing
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     if (!is_writable(\fpcm\classes\baseconfig::$versionFile)) {
         $this->view->addErrorMessage('UPDATE_WRITEERROR');
         $this->view->render();
         return false;
     }
     $this->config->setMaintenanceMode(false);
     $updater = new \fpcm\model\updater\system();
     $updater->checkUpdates();
     $remoteFilePath = $updater->getRemoteData('filepath');
     $params = $this->initPkgManagerData();
     $params['fpcmUpdaterMaxStep'] = 6;
     $params['fpcmUpdaterStartStep'] = $this->forceStep ? $this->forceStep : (\fpcm\classes\baseconfig::canConnect() ? 1 : 4);
     $params['fpcmUpdaterMessages']['1_START'] = $this->lang->translate('PACKAGES_RUN_DOWNLOAD', array('{{pkglink}}' => is_array($remoteFilePath) ? '' : $remoteFilePath));
     $params['fpcmUpdaterMessages']['EXIT_1'] = $this->lang->translate('UPDATES_SUCCESS');
     $this->view->addJsVars($params);
     $this->view->setViewJsFiles(array(\fpcm\classes\baseconfig::$jsPath . 'updater.js'));
     $this->view->render();
 }
Example #28
0
 /**
  * Controller-Processing
  * @return boolean
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $timezones = array();
     foreach ($this->getTimeZones() as $area => $zones) {
         foreach ($zones as $zone) {
             $timezones[$area][$zone] = $zone;
         }
     }
     $this->view->assign('timezoneAreas', $timezones);
     $modes = array($this->lang->translate('SYSTEM_OPTIONS_USEMODE_IFRAME') => 0, $this->lang->translate('SYSTEM_OPTIONS_USEMODE_PHPINCLUDE') => 1);
     $this->view->assign('systemModes', $modes);
     $editor = array($this->lang->translate('SYSTEM_OPTIONS_NEWS_EDITOR_STD') => 0, $this->lang->translate('SYSTEM_OPTIONS_NEWS_EDITOR_CLASSIC') => 1);
     $this->view->assign('editors', $editor);
     $sorts = array($this->lang->translate('SYSTEM_OPTIONS_NEWS_BYINTERNALID') => 'id', $this->lang->translate('SYSTEM_OPTIONS_NEWS_BYAUTHOR') => 'createuser', $this->lang->translate('SYSTEM_OPTIONS_NEWS_BYWRITTENTIME') => 'createtime', $this->lang->translate('SYSTEM_OPTIONS_NEWS_BYEDITEDTIME') => 'changetime');
     $this->view->assign('sorts', $sorts);
     $sortOrders = array($this->lang->translate('SYSTEM_OPTIONS_NEWS_ORDERASC') => 'ASC', $this->lang->translate('SYSTEM_OPTIONS_NEWS_ORDERDESC') => 'DESC');
     $this->view->assign('sortsOrders', $sortOrders);
     $templates = new \fpcm\model\pubtemplates\templatelist();
     $this->view->assign('articleTemplates', $templates->getArticleTemplates());
     $this->view->assign('commentTemplates', $templates->getCommentTemplates());
     $this->view->assign('globalConfig', $this->config->getData());
     $this->view->assign('languages', array_flip($this->lang->getLanguages()));
     $notify = array($this->lang->translate('SYSTEM_OPTIONS_COMMENT_NOTIFY_GLOBAL') => 0, $this->lang->translate('SYSTEM_OPTIONS_COMMENT_NOTIFY_AUTHOR') => 1, $this->lang->translate('SYSTEM_OPTIONS_COMMENT_NOTIFY_ALL') => 2);
     $this->view->assign('notify', $notify);
     $this->view->assign('articleLimitList', \fpcm\model\system\config::getArticleLimits());
     $this->view->assign('articleLimitListAcp', \fpcm\model\system\config::getAcpArticleLimits());
     $this->view->assign('defaultFontsizes', \fpcm\model\system\config::getDefaultFontsizes());
     $this->view->addJsVars(array('fpcmDtMasks' => \fpcm\classes\baseconfig::$dateTimeMasks));
     $twitter = new \fpcm\model\system\twitter();
     $showTwitter = $twitter->checkRequirements();
     $this->view->assign('showTwitter', $showTwitter);
     $this->view->assign('twitterIsActive', $twitter->checkConnection());
     $this->view->assign('twitterScreenName', $twitter->getUsername());
     $this->view->setViewJsFiles(array(\fpcm\classes\baseconfig::$jsPath . 'options.js'));
     $this->view->addJsVars(array('showTwitter' => $showTwitter ? 1 : 0, 'syscheck' => $this->syscheck));
     $this->view->render();
 }
Example #29
0
 /**
  * Controller-Processing
  * @return boolean
  */
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $users = $this->userList->getUsersNameList();
     $this->view->assign('timesMode', true);
     $this->view->assign('users', array_flip($users));
     $this->view->assign('commentEnabledGlobal', $this->config->system_comments_enabled);
     $this->view->assign('showArchiveStatus', true);
     $this->view->assign('showDraftStatus', false);
     $this->view->assign('articleActions', $this->articleActions);
     $this->view->assign('showTrash', $this->config->articles_trash);
     $this->view->assign('deletePermissions', $this->deleteActions);
     $this->initSearchForm($users);
     if ($this->config->articles_trash) {
         $this->view->assign('trash', $this->articleList->getArticlesDeleted(true));
     }
     $this->view->assign('drafts', $this->articleList->getArticlesDraft(true));
     $commentCounts = $this->commentList->countComments($this->getArticleListIds());
     $this->view->assign('commentCount', $commentCounts);
     $this->view->assign('commentPrivateUnapproved', $this->commentList->countUnapprovedPrivateComments($this->getArticleListIds()));
     $this->view->assign('commentSum', $commentCounts && $this->articleCount ? array_sum($commentCounts) : 0);
     $this->view->setViewJsFiles(array(\fpcm\classes\baseconfig::$jsPath . 'articlelist.js'));
     $this->translateCategories();
     $this->view->assign('showDrafts', true);
     return true;
 }
Example #30
0
 public function process()
 {
     if (!parent::process()) {
         return false;
     }
     $userRolls = new \fpcm\model\users\userRollList();
     $this->view->assign('userRolls', $userRolls->getUserRollsTranslated());
     $this->view->assign('languages', array_flip($this->lang->getLanguages()));
     $timezones = array();
     foreach ($this->getTimeZones() as $area => $zones) {
         foreach ($zones as $zone) {
             $timezones[$area][$zone] = $zone;
         }
     }
     $this->view->assign('timezoneAreas', $timezones);
     $this->view->assign('externalSave', true);
     $this->view->assign('articleLimitList', \fpcm\model\system\config::getAcpArticleLimits());
     $this->view->assign('defaultFontsizes', \fpcm\model\system\config::getDefaultFontsizes());
     $userList = new \fpcm\model\users\userList();
     $showDisableButton = !$this->userEnabled && ($this->userId == $this->session->getUserId() || $userList->countActiveUsers() == 1) ? false : true;
     $this->view->assign('showDisableButton', $showDisableButton);
     $this->view->setViewJsFiles(array(\fpcm\classes\loader::libGetFileUrl('password-generator', 'password-generator.min.js')));
     $this->view->addJsVars(array('fpcmNavigationActiveItemId' => 'submenu-itemnav-item-users', 'fpcmDtMasks' => \fpcm\classes\baseconfig::$dateTimeMasks));
     $this->view->render();
 }