/** * @see wcf\form\IForm::show() */ public function show() { // set active menu item ACPMenu::getInstance()->setActiveMenuItem($this->menuItemName); // check master password WCFACP::checkMasterPassword(); // show form parent::show(); }
/** * @see wcf\form\IForm::show() */ public function show() { // set active menu item ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.option.category.' . $this->category->categoryName); // check permission WCF::getSession()->checkPermissions(array('admin.system.canEditOption')); if ($this->category->categoryName == 'module') { // check master password WCFACP::checkMasterPassword(); } // show form parent::show(); }
/** * @see \wcf\form\IForm::show() */ public function show() { // check master password WCFACP::checkMasterPassword(); // show form parent::show(); }