Code

Updated lists
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 30 Jan 2010 11:48:27 +0000 (11:48 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 30 Jan 2010 11:48:27 +0000 (11:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15498 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_componentGeneric.inc
gosa-plugins/systems/admin/systems/serverService-list.tpl
gosa-plugins/systems/admin/systems/system-list.tpl
gosa-plugins/systems/admin/systems/systemSelect/selectSystem-list.tpl

index 35ed070d6fafe8f362690faab43c9bec26605dcf..70477398b0e286b1393057933176d1d9c89a4e62 100644 (file)
@@ -85,37 +85,6 @@ class componentGeneric extends plugin
       return($display);
     }
 
-    /* Base select dialog */
-    $once = true;
-    foreach($_POST as $name => $value){
-      if(preg_match("/^chooseBase/",$name) && $once){
-        $once = false;
-        $this->dialog = new baseSelectDialog($this->config,$this,$this->get_allowed_bases());
-        $this->dialog->setCurrentBase($this->base);
-      }
-    }
-
-    /* Dialog handling */
-    if(is_object($this->dialog)){
-      /* Must be called before save_object */
-      $this->dialog->save_object();
-
-      if($this->dialog->isClosed()){
-        $this->dialog = false;
-      }elseif($this->dialog->isSelected()){
-
-        /* A new base was selected, check if it is a valid one */
-        $tmp = $this->get_allowed_bases();
-        if(isset($tmp[$this->dialog->isSelected()])){
-          $this->base = $this->dialog->isSelected();
-        }
-
-        $this->dialog= false;
-      }else{
-        return($this->dialog->execute());
-      }
-    }
-
     /* Fill templating stuff */
     $smarty= get_smarty();
     $smarty->assign("usePrototype", "true");
index cdef0d1b14c6cfbba37d4504468a13dc97a158f1..6c9ff0a22c2f77181173f121b7526a6f175edf4b 100644 (file)
@@ -1,8 +1,8 @@
 <input type='image' src='images/empty.png' name='no_action_posted' value='do_nothing' alt='' style='width:2px;height:2px;'>
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=2>
+<table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
   <tr>
-    <td style="vertical-align:top; width:50%;">
+    <td style="vertical-align:top; width:100%;">
       <div class="contentboxh">
         <p class="contentboxh">&nbsp;{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
       </div>
@@ -17,9 +17,6 @@
       
       <div style='height:4px;'>
       </div>
-      
-      <input type="hidden" id="d_save" value="205">
-      <input type="hidden" id="d_space" value="760">
       {$LIST}
     </td>
   </tr>
index f3bba3f7a5439a4ad019c767e12df62df7d44c33..d0747103b9ca62798d806ccc05c1eb8a480d933a 100644 (file)
@@ -1,8 +1,8 @@
 <input type='image' src='images/empty.png' name='no_action_posted' value='do_nothing' alt='' style='width:2px;height:2px;'>
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=2>
+<table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
   <tr>
-    <td style="vertical-align:top; width:50%;">
+    <td style="vertical-align:top; width:100%;">
       <div class="contentboxh">
         <p class="contentboxh">&nbsp;{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
       </div>
       <div style='height:4px;'>
       </div>
       
-      <input type="hidden" id="d_save" value="450">
-      <input type="hidden" id="d_space" value="760">
       {$LIST}
     </td>
-    <td style='vertical-align:top'>
+    <td style='vertical-align:top;min-width:250px'>
       {$FILTER}
     </td>
   </tr>
index 231a0495ef390931581aa0d15a9d3285f5214f4a..ad9f86af8d0bc0daa94c184ebbd757701ef47949 100644 (file)
@@ -1,8 +1,8 @@
 <input type='image' src='images/empty.png' name='no_action_posted' value='do_nothing' alt='' style='width:2px;height:2px;'>
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=2>
+<table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
   <tr>
-    <td style="vertical-align:top; width:50%;">
+    <td style="vertical-align:top; width:100%;">
       <div class="contentboxh">
         <p class="contentboxh">&nbsp;{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
       </div>
       
       <div style='height:4px;'>
       </div>
-      
-      <input type="hidden" id="d_save" value="450">
-      <input type="hidden" id="d_space" value="760">
       {$LIST}
     </td>
-    <td style='vertical-align:top'>
+    <td style='vertical-align:top;min-width:250px'>
       {$FILTER}
     </td>
   </tr>