Code

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

gosa-plugins/goto/admin/applications/application-list-release.tpl
gosa-plugins/goto/admin/applications/application-list.tpl
gosa-plugins/goto/admin/applications/class_applicationGeneric.inc

index 54599c7bec73814bacd994e32cc7fae178bcbd90..46bd2da9a00a26664a3bbc9888409d229379197f 100644 (file)
@@ -8,7 +8,7 @@
       </div>
       
       <div class="contentboxb">
-       <div style='background:white;padding:0px;padding:3px;'>
+       <div style='background:white;padding:3px;'>
         <table><tr>
           <td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td>
           <td><img src='images/rocket.png' alt='' class='center'></td>
index f3bba3f7a5439a4ad019c767e12df62df7d44c33..c9d5114166c134b220bdcfe637edb130476880a4 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 d5295027af1121ef10545e880d0d941023694668..0beadadfbeeba09e8072b470fe6d51f833a5ff02 100644 (file)
@@ -167,36 +167,6 @@ class application extends plugin
       $smarty->assign("selectmode", "disabled");
     }
     
-    /* Base select dialog */
-    $once = true;
-    foreach($_POST as $name => $value){
-      if(preg_match("/^chooseBase/",$name) && $once && !preg_match("/freeze/i",$this->FAIstate)){
-        $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()){
-        /* Just allow selection valid bases */ 
-        $tmp = $this->get_allowed_bases();
-        if(isset($tmp[$this->dialog->isSelected()])){
-          $this->base = $this->dialog->isSelected();
-        }
-        $this->dialog= false;
-      }else{
-        return($this->dialog->execute());
-      }
-    }
-
     /* Get random number for pictures */
     srand((double)microtime()*1000000);
     $smarty->assign("rand", rand(0, 10000));