/** * @see wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); $useRequestData = count($_POST) ? true : false; I18nHandler::getInstance()->assignVariables($useRequestData); WCF::getTPL()->assign(array('groupID' => $this->group->groupID, 'action' => 'edit')); // add warning when the initiator is in the group if ($this->group->isMember($this->groupID)) { WCF::getTPL()->assign('warningSelfEdit', true); } }
/** * @see wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); I18nHandler::getInstance()->assignVariables(!empty($_POST)); WCF::getTPL()->assign(array( 'groupID' => $this->group->groupID, 'group' => $this->group, 'action' => 'edit' )); // add warning when the initiator is in the group if ($this->group->isMember()) { WCF::getTPL()->assign('warningSelfEdit', true); } }