Code

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

gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc
gosa-plugins/goto/admin/mimetypes/mimetype-list-release.tpl
gosa-plugins/goto/admin/mimetypes/mimetype-list.tpl

index 8a4aab7e4b2522834d67097c091727cf3b01a85f..bd8f4cae6a082ecf4da9fc3aaf88e35a92209592 100644 (file)
@@ -162,38 +162,6 @@ class mimetype extends plugin
     }
     $smarty->assign("IconReadable", preg_match("/r/",$this->getacl("gotoMimeIcon",preg_match("/freeze/i",$this->FAIstate))));
 
-    /* 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()){
-
-        /* 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());
-      }
-    }
-
     /* Check Posts */
     $posts = array(    
         "/^Pattern_SortUp_/"   => array("Action" => "Pattern_SortUp",  "Func" => "ArrayUp",    "Attr" => "use_gotoMimeFilePattern"),
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>