Code

Some cosmetic changes for printer dialogs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Oct 2005 08:28:58 +0000 (08:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Oct 2005 08:28:58 +0000 (08:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1692 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printerPPDDialog.inc
plugins/admin/systems/printerPPDDialog.tpl
plugins/admin/systems/printerPPDSelectionDialog.tpl

index d036a0128ce6c644369155dd813828d23b4c36cf..f3675f554977e2691ba099d73a9b0f958a5ca644 100644 (file)
@@ -159,10 +159,8 @@ class printerPPDDialog extends plugin
      * This function will generate a userfriendly post based form with this informations
      */
   
-    $HeadLine  = "<h2>"._("Options")."&nbsp;:</h2>";
-
     /* Set Headline */
-    $str = $HeadLine;
+    $str = "";
 
     /* If ppd exists and is readable */
     if((!empty($this->selectedPPD['link']))&&(file_exists($this->selectedPPD['link']))){
@@ -173,14 +171,14 @@ class printerPPDDialog extends plugin
       }
 
       /* Create a table */
-      $str .= "<div style='padding-left:10px;'><table>";
+      $str .= "<div style='padding-left:30px;'><table>";
 
       /* Input all data to the table */
       foreach($this->ppdConfig as $cat => $obj){
     
         /* Add new category */
-        $str .= "<tr><td colspan='2'><p class='seperator'>&nbsp;</p><br>";
-        $str .= "<b>".$cat."</b><br>";
+        $str .= "<tr><td colspan='2'><br>";
+        $str .= "<b>".$cat."&nbsp;:&nbsp;</b><br>";
         $str .= "</tr></td>";       
 
         /* Add attributes of the current category */
@@ -196,7 +194,7 @@ class printerPPDDialog extends plugin
           $type     = $settings['_type'];
  
           /* Add name to table */ 
-          $str .= "<tr><td style='padding-left:10px;'>\n";
+          $str .= "<tr><td style='padding-left:40px;'>\n";
           $str .= $name."<br>\n";
           $str .= "</td><td>\n";
    
index 0dec1c03f12071c1ab8f49df73ddbc04590f5271..5b8a8a5f878bd6aa6ecef2b799047bdb6af2fbaf 100644 (file)
@@ -1,21 +1,17 @@
-
-<h2>{t}Printer driver information file setup{/t}</h2>
+<h2><img src="images/house.png">&nbsp;{t}Printer driver information file setup{/t}</h2>
 
 <table summary="" width="50%">
        <tr>
                <td>
-                       {t}Current used information setup: {/t}
-               </td>
-               <td>
-                       {$ppdString}
-               </td>
-               <td>
+                       {t}Current used information setup{/t} :
+                       {$ppdString}<br>
                        <input type="submit" name="SelectPPD" value="{t}Select{/t}">
                </td>
        </tr>
 </table>
 <p class="seperator">&nbsp;</p>
 <br>
+<h2><img src="images/house.png">&nbsp;{t}Options{/t}</h2>
 {$properties}
 <p class="seperator">&nbsp;</p>
 <br>
index 73c44ed5b3bc353b6430ec15c4ee61a85451ff84..5b913ccac1780ef41d4b611a628ed89318a13d9d 100644 (file)
@@ -1,6 +1,6 @@
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
        <tr>
-               <td style="vertical-align:top;">
+               <td style="vertical-align:top;width=50%;">
                        <div class="contentboxh" style="height:20px;">
                                <p class="contentboxh" style="font-size:12px">
                                        <b>{t}Select objects to add{/t}</b>
@@ -8,7 +8,7 @@
                        </div>
                        <div class="contentboxb">
                                <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
-                                       <select style="width:500px; height:450px; margin-top:4px;" name="PPDselection" size="15">
+                                       <select style="width:100%; height:450px; margin-top:4px;" name="PPDselection" size="15">
             {html_options values=$objectKeys options=$objects}
                                        </select>
                                        <input type=hidden name="edit_helper">