Changeset 240
- Timestamp:
- 01/08/08 01:34:06 (1 year ago)
- Files:
-
- trunk/Framework/Module/Domains.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Framework/Module/Domains.php
r228 r240 93 93 { 94 94 $form = $this->addDomainForm(); 95 $this->setData('addDomainForm', $form->toHtml()); 96 $this->setData('LANG_Main_Menu', _('Main Menu')); 97 $this->setData('LANG_List_Domains', _('List Domains')); 98 $this->tplFile = 'addDomain.tpl'; 95 $this->_renderForm($form); 99 96 return; 100 97 } … … 112 109 $form = $this->addDomainForm(); 113 110 if (!$form->validate()) { 114 $this-> addDomain();111 $this->_renderForm($form); 115 112 return; 116 113 } … … 209 206 * @return void 210 207 */ 211 function cancelDelDomain() {208 public function cancelDelDomain() { 212 209 $this->setData('message', _("Domain deletion canceled")); 213 210 return $this->listDomains(); 211 } 212 213 private function _renderForm($form) 214 { 215 $this->tplFile = 'addDomain.tpl'; 216 $this->setData('addDomainForm', $form->toHtml()); 217 $this->setData('LANG_Main_Menu', _('Main Menu')); 218 $this->setData('LANG_List_Domains', _('List Domains')); 214 219 } 215 220
