Code

Updated application management
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 9 Nov 2009 10:18:50 +0000 (10:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 9 Nov 2009 10:18:50 +0000 (10:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14797 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/applications/application-filter.tpl
gosa-plugins/goto/admin/applications/application-filter.xml
gosa-plugins/goto/admin/applications/class_applicationManagement.inc
gosa-plugins/goto/admin/applications/remove.tpl
gosa-plugins/goto/admin/applications/tabs_application.inc

index d8c1b1235fcbe75f1dd991233d2bf9404d6af9b5..8f83a74b4479da23430cd445bcede007fa9c904c 100644 (file)
@@ -7,7 +7,6 @@
 <div class="contentboxb">
 
 <div style="border-top:1px solid #AAAAAA"></div>
- {$SCOPE}
 
  <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
   <tr>
index 859d79b05dd0f7457980f7b8c5eaa4a89b2dbadf..4ef15f4a72fde35929d6b03370a457bee06e7c41 100644 (file)
@@ -16,7 +16,7 @@
       <attribute>cn</attribute>
       <attribute>description</attribute>
     </query>
-    <scope>auto</scope>
+    <scope>one</scope>
   </search>
 
   <element>
index 50422805d7895853c4f756ddb570c0cde5971478..93122037a21765df8e8b5d13b54814b098733e08 100644 (file)
@@ -51,13 +51,13 @@ class applicationManagement extends management
       $this->storagePoints= array(get_ou("applicationRDN"));
     }
 
-    // Build filter
-    if (session::global_is_set(get_class($this)."_filter")){
-      $filter= session::global_get(get_class($this)."_filter");
-    } else {
+#   // Build filter
+#   if (session::global_is_set(get_class($this)."_filter")){
+#     $filter= session::global_get(get_class($this)."_filter");
+#   } else {
       $filter = new filter(get_template_path($filter_xml, true));
       $filter->setObjectStorage($this->storagePoints);
-    }
+#    }
     $this->setFilter($filter);
 
     // Build headpage
@@ -91,10 +91,10 @@ class applicationManagement extends management
       }
       $headpage->setBase($this->app_release);
     }
+
     $headpage->update();
     $display = $headpage->render();
     return($this->getHeader().$display);
-
   }
 
   function getReleaseList($base = "", $prefix ="")
@@ -117,6 +117,8 @@ class applicationManagement extends management
 
   function IsReleaseManagementActivated()
   {
+    return(FALSE);  
+
     /* Check if we should enable the release selection */
     $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs'));
     if(!empty($tmp)){
index 7735c280ec1e126e35c5b6247b10485a8754e936..29adedf1b6b018f89299e906b111e32f6518ab03 100644 (file)
@@ -3,7 +3,7 @@
 </div>
 <p>
   {$info}
-  {t}This may be a primary user group. Please double check if you really want to do this since there is no way for GOsa to get your data back.{/t}
+  {t}Please double check if you really want to do this since there is no way for GOsa to get your data back.{/t}
 </p>
 
 <p>
index 21891310ae429bf4cc385550cd47ac8699ff56dd..b9373aeaff912209c5b2dafd5d41731b3a4afdb4 100644 (file)
@@ -32,17 +32,13 @@ class apptabs extends tabs
     }else{
       $new_dn= "cn=".$baseobject->cn.",".get_ou('applicationRDN').$baseobject->base;
     }
-
-    /* Move group? */
+    
+    // Do we have to move the object?
     if ($this->dn != $new_dn){
-
-      /* Write entry on new 'dn' */
       if ($this->dn != "new"){
         $baseobject->move($this->dn, $new_dn);
         $this->by_object['application']= $baseobject;
       }
-
-      /* Happen to use the new one */
       $this->dn= $new_dn;
     }