Пример #1
0
 /**
  * @see wcf\page\IPage::show()
  */
 public function show()
 {
     // set active acp menu item
     if (!empty($this->activeMenuItem)) {
         ACPMenu::getInstance()->setActiveMenuItem($this->activeMenuItem);
     }
     parent::show();
 }
Пример #2
0
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     // set active tab
     UserMenu::getInstance()->setActiveMenuItem('wcf.user.menu.profile.avatar');
     parent::show();
 }
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     // check master password
     WCFACP::checkMasterPassword();
     parent::show();
 }
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     if (REGISTER_ACTIVATION_METHOD != 1) {
         throw new IllegalLinkException();
     }
     if (empty($_POST) && $this->user !== null && $this->activationCode != 0) {
         $this->submit();
     }
     parent::show();
 }
Пример #5
0
	/**
	 * @see	wcf\page\IPage::show()
	 */
	public function show() {
		if ($this->action == 'install') WCF::getSession()->checkPermissions(array('admin.system.package.canInstallPackage'));
		else {
			WCF::getSession()->checkPermissions(array('admin.system.package.canUpdatePackage'));
			$this->activeMenuItem = 'wcf.acp.menu.link.package';
		}
		
		// check master password
		WCFACP::checkMasterPassword();
		
		parent::show();
	}
Пример #6
0
 /**
  * @see	\wcf\page\Page::show()
  */
 public function show()
 {
     // set active tab
     UserMenu::getInstance()->setActiveMenuItem('wcf.user.option.category.settings.' . $this->category);
     parent::show();
 }
Пример #7
0
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     AbstractForm::show();
 }
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     // set active tab
     UserMenu::getInstance()->setActiveMenuItem('wcf.user.menu.settings.notification');
     parent::show();
 }
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     if (REGISTER_ACTIVATION_METHOD != 1) {
         throw new IllegalLinkException();
     }
     parent::show();
 }
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     if (!WCF::getSession()->getPermission('admin.system.package.canInstallPackage') && !WCF::getSession()->getPermission('admin.system.package.canUpdatePackage')) {
         throw new PermissionDeniedException();
     }
     // check master password
     WCFACP::checkMasterPassword();
     parent::show();
 }