Code

Removed state buttons
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Jun 2006 11:25:50 +0000 (11:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Jun 2006 11:25:50 +0000 (11:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3766 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servRepository.inc

index 44b59d757139f99435f0c3ada98f230408df3a42..8b69190afa40964b0ac7f1dd9c8e7eb629ccb412 100644 (file)
@@ -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){