Code

Print a error message if files are 0-byte long,
[gosa.git] / trunk / gosa-plugins / goto / admin / systems / ppd / printerPPDDialog.tpl
1 <h2><img alt="P" class="center" src="plugins/systems/images/select_printer.png" align="middle">&nbsp;{t}Printer driver{/t}</h2>
2 {if !$path_valid}
3 <p>
4         <b>{msgPool type=invalidConfigurationAttribute param=ppdPath}</b>
5 </p>
6 {else}
7         <table summary="" width="100%">
8                 <tr>
9                         <td width="50%" style="vertical-align:top">
10                                 {t}Model{/t}: <i>{$ppdString}</i>&nbsp;
11                                 <input type="submit" name="SelectPPD" value="{t}Select{/t}">
12                         </td>
13                         <td style="border-left: 1px solid rgb(160, 160, 160);padding-left:10px;">
14                                 {t}New driver{/t}&nbsp;
15                                 <input type="file" value="" name="NewPPDFile">
16                                 <input type="submit" name="SubmitNewPPDFile" value="{t}Upload{/t}">
17                         </td>
18                 </tr>
19         </table>
20         {if $showOptions eq 1}
21         <p class="seperator">&nbsp;</p>
22         <h2><img alt="L" class="center" src="images/lists/on.png" align="middle">&nbsp;{t}Options{/t}</h2>
23         {$properties}
24         {/if}
25 {/if}
26 <p class="plugbottom">
27         <input type="hidden" name="PPDDisSubmitted" value="1">
28         {if $path_valid}
29         <input type="submit" name="SavePPD" value="{msgPool type=applyButton}">
30         {/if}
31         <input type="submit" name="ClosePPD" value="{msgPool type=cancelButton}">
32 </p>