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