Example #1
0
 /**
  * @see	\wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     $this->readOptionTree();
     // add breadcrumbs
     WCF::getBreadcrumbs()->add(new Breadcrumb(WCF::getLanguage()->get('wcf.user.members'), LinkHandler::getInstance()->getLink('MembersList')));
 }
	/**
	 * @see	wcf\page\IPage::readData()
	 */
	public function readData() {
		parent::readData();
		
		if (empty($_POST)) {
			if (MAIL_USE_FORMATTED_ADDRESS) {
				$this->from = MAIL_FROM_NAME.' <'.MAIL_FROM_ADDRESS.'>';
			}
			else {
				$this->from = MAIL_FROM_ADDRESS;
			}
		}
		
		$this->availableGroups = $this->getAvailableGroups();
		
		foreach ($this->activeOptions as $name => $option) {
			if (isset($this->values[$name])) {
				$this->activeOptions[$name]['optionValue'] = $this->values[$name];
			}
		}
		
		$this->options = $this->optionHandler->getCategoryOptions('profile');
	}
Example #3
0
 /**
  * @see wcf\page\IPage::readData()
  */
 public function readData()
 {
     $this->readOptionTree();
     parent::readData();
 }
Example #4
0
 /**
  * @see	\wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     // add email column for authorized users
     if (WCF::getSession()->getPermission('admin.user.canEditMailAddress')) {
         array_unshift($this->columns, 'email');
     }
     $this->readOptionTree();
 }
 /**
  * @see	\wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     if (empty($_POST)) {
         if (MAIL_USE_FORMATTED_ADDRESS) {
             $this->from = MAIL_FROM_NAME . ' <' . MAIL_FROM_ADDRESS . '>';
         } else {
             $this->from = MAIL_FROM_ADDRESS;
         }
     }
     $this->availableGroups = $this->getAvailableGroups();
     $this->options = $this->optionHandler->getCategoryOptions('profile');
 }