Code

Replace stream_get_contents() which is not php4 compatible
[gosa.git] / plugins / admin / systems / printerPPDDialog.tpl
index 5b8a8a5f878bd6aa6ecef2b799047bdb6af2fbaf..761d00516199f9d9d08e1d31d93fe3191c24bb80 100644 (file)
@@ -1,20 +1,24 @@
-<h2><img src="images/house.png">&nbsp;{t}Printer driver information file setup{/t}</h2>
-
-<table summary="" width="50%">
+<h2><img alt="P" class="center" src="images/select_printer.png" align="middle">&nbsp;{t}Printer driver{/t}</h2>
+<table summary="" width="100%">
        <tr>
-               <td>
-                       {t}Current used information setup{/t} :
-                       {$ppdString}<br>
+               <td width="50%" style="vertical-align:top">
+                       {t}Model{/t}: <i>{$ppdString}</i>&nbsp;
                        <input type="submit" name="SelectPPD" value="{t}Select{/t}">
                </td>
+               <td style="border-left: 1px solid rgb(160, 160, 160);padding-left:10px;">
+                       {t}New driver{/t}&nbsp;
+                       <input type="file" value="" name="NewPPDFile">
+                       <input type="submit" name="SubmitNewPPDFile" value="{t}Upload{/t}">
+               </td>
        </tr>
 </table>
+{if $showOptions eq 1}
 <p class="seperator">&nbsp;</p>
-<br>
-<h2><img src="images/house.png">&nbsp;{t}Options{/t}</h2>
+<h2><img alt="L" class="center" src="images/lamp.png" align="middle">&nbsp;{t}Options{/t}</h2>
 {$properties}
-<p class="seperator">&nbsp;</p>
-<br>
-<input type="hidden" name="PPDDisSubmitted" value="1">
-<input type="submit" name="SavePPD" value="{t}Save{/t}">
-<input type="submit" name="ClosePPD" value="{t}Close{/t}">
+{/if}
+<p class="plugbottom">
+       <input type="hidden" name="PPDDisSubmitted" value="1">
+       <input type="submit" name="SavePPD" value="{t}Apply{/t}">
+       <input type="submit" name="ClosePPD" value="{t}Cancel{/t}">
+</p>