/**
  * Display form to modify site settings.
  */
 function settings()
 {
     $this->validate();
     $this->setupTemplate(true);
     import('admin.form.SiteSettingsForm');
     $settingsForm = new SiteSettingsForm();
     $settingsForm->initData();
     $settingsForm->display();
 }
예제 #2
0
 /**
  * Display form to modify site settings.
  */
 function settings($args, &$request)
 {
     $this->validate();
     $this->setupTemplate($request, true);
     import('classes.admin.form.SiteSettingsForm');
     $settingsForm = new SiteSettingsForm();
     $settingsForm->initData();
     $settingsForm->display();
 }
예제 #3
0
 /**
  * Display form to modify site settings.
  */
 function settings()
 {
     $this->validate();
     $this->setupTemplate(true);
     import('classes.admin.form.SiteSettingsForm');
     $settingsForm = new SiteSettingsForm();
     if ($settingsForm->isLocaleResubmit()) {
         $settingsForm->readInputData();
     } else {
         $settingsForm->initData();
     }
     $settingsForm->display();
 }