From: hickert Date: Fri, 9 Jun 2006 11:25:50 +0000 (+0000) Subject: Removed state buttons X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2691bc7e64b6ba2e3d42ece2e6c4af6fb8fe7b14;p=gosa.git Removed state buttons git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3766 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc index 44b59d757..8b69190af 100644 --- a/plugins/admin/systems/class_servRepository.inc +++ b/plugins/admin/systems/class_servRepository.inc @@ -94,27 +94,11 @@ class servrepository extends plugin $smarty->assign("apply", apply_filter()); $smarty->assign("regex", $this->regex); - - /* Do we need to flip is_account state? */ - if (isset($_POST['modify_state'])){ - $this->is_account= !$this->is_account; - } - /* Show tab dialog headers */ - if ($this->is_account){ - $display= $this->show_header(_("Remove FAI repository extension."), - _("This server has FAI repository features enabled. You can disable them by clicking below.")); - } else { - $display= $this->show_header(_("Add FAI repository extension."), - _("This server has FAI repository features disabled. You can enable them by clicking below.")); - return ($display); - } - /* ADD / EDIT Repository Dialog Handling */ - $once = false; if(isset($_POST['servRepository'])){ foreach($_POST as $name => $value){