a63e9235e47911a2d19a1475e6b56af1319f71bd
1 <br>
2 {if $Method == "edit"}
3 <select name="select_type" size="12" style="width:100%">
4 {html_options values=$PrinterTypeKeys output=$PrinterTypes}
5 </select><br>
6 <input name="type_string">
7 <input type="submit" name="add_type" value="{t}Add{/t}" >
8 <input type="submit" name="rename_type" value="{t}Rename{/t}" >
9 <input type="submit" name="del_type" value="{t}Delete{/t}" >
11 <p class="seperator"> </p>
12 <div align="right">
13 <p>
14 <input name="close_edit_type" value="{t}Close{/t}" type="submit">
15 </p>
16 </div>
17 <script language="JavaScript" type="text/javascript">
18 <!-- // First input field on page
19 focus_field('type_string');
20 -->
21 </script>
23 {else}
25 {t}Please enter a new name{/t} <input name="string" value="{$string}">
26 <p class="seperator"> </p>
27 <p>
28 <div align="right" style="text-align: right;">
29 <input type="submit" name="Rename_PType_OK" value="{t}Rename{/t}" >
30 <input type="submit" name="Rename_Cancel" value="{t}Cancel{/t}" >
31 </div>
32 </p>
33 <script language="JavaScript" type="text/javascript">
34 <!-- // First input field on page
35 focus_field('string');
36 -->
37 </script>
39 {/if}