function _default() { $this->view->add2Menu(fmGetDefaultFolders()); $this->view->add2Content(fmGetFiles()); }
protected function popupError($rule = null) { $errorText = '<div class="mPopupAuthError">' . ($rule ? MRights::getError($rule, 1) : MText::_("noauth")) . '</div>'; $this->view->add2Content('<script noCache="1">newDarkenPopup(\'error\',mText.error,\'' . $errorText . '\',500,150);</script>'); $this->view->add2Content(fmGetFiles()); }