Exemplo n.º 1
0
	/**
	 * @see	wcf\form\IForm::show()
	 */
	public function show() {
		// set active menu item
		ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.user.massProcessing');
		
		// check master password
		WCFACP::checkMasterPassword();
		
		// show form
		parent::show();
	}
Exemplo n.º 2
0
 /**
  * @see wcf\form\IForm::save()
  */
 public function save()
 {
     parent::save();
     // store search result in database
     $data = serialize(array('matches' => $this->matches, 'itemsPerPage' => $this->itemsPerPage, 'columns' => $this->columns));
     $search = SearchEditor::create(array('userID' => WCF::getUser()->userID, 'searchData' => $data, 'searchTime' => TIME_NOW, 'searchType' => 'users'));
     // get new search id
     $this->searchID = $search->searchID;
     $this->saved();
     // forward to result page
     $url = LinkHandler::getInstance()->getLink('UserList', array('id' => $this->searchID), 'sortField=' . rawurlencode($this->sortField) . '&sortOrder=' . rawurlencode($this->sortOrder));
     HeaderUtil::redirect($url);
     exit;
 }
Exemplo n.º 3
0
 /**
  * @see	\wcf\form\IForm::save()
  */
 public function save()
 {
     parent::save();
     // store search result in database
     $search = SearchEditor::create(array('userID' => WCF::getUser()->userID ?: null, 'searchData' => serialize(array('matches' => $this->matches)), 'searchTime' => TIME_NOW, 'searchType' => 'users'));
     // get new search id
     $this->searchID = $search->searchID;
     $this->saved();
     // forward to result page
     $url = LinkHandler::getInstance()->getLink('MembersList', array('id' => $this->searchID));
     HeaderUtil::redirect($url);
     exit;
 }
Exemplo n.º 4
0
	/**
	 * @see	wcf\page\IPage::show()
	 */
	public function show() {
		// set active menu item
		ACPMenu::getInstance()->setActiveMenuItem($this->menuItemName);
		
		// get the default language id
		$this->languageID = $this->getDefaultFormLanguageID();
		
		// show form
		parent::show();
	}
Exemplo n.º 5
0
 /**
  * @see	\wcf\page\IPage::show()
  */
 public function show()
 {
     // get the default language id
     $this->languageID = $this->getDefaultFormLanguageID();
     // show form
     parent::show();
 }