index 69577736b27f150a4404795244c4dc09043f4a09..bc24ce30555d11bc91d951a2858ad815d69228bf 100644 (file)
<input type="submit" name="rename_type" value="{t}Rename{/t}" >
<input type="submit" name="del_type" value="{t}Delete{/t}" >
<input type="submit" name="rename_type" value="{t}Rename{/t}" >
<input type="submit" name="del_type" value="{t}Delete{/t}" >
-<p class="seperator"> </p>
-<div align="right">
-<p>
-<input name="close_edit_type" value="{t}Close{/t}" type="submit">
-</p>
-</div>
+ <p class="seperator"> </p>
+ <div align="right">
+ <p>
+ <input name="close_edit_type" value="{t}Close{/t}" type="submit">
+ </p>
+ </div>
+ <script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.type_string.focus();
+ -->
+ </script>
{else}
{t}Please enter a new name{/t} <input name="string" value="{$string}">
<p class="seperator"> </p>
{else}
{t}Please enter a new name{/t} <input name="string" value="{$string}">
<p class="seperator"> </p>
<input type="submit" name="Rename_Cancel" value="{t}Cancel{/t}" >
</div>
</p>
<input type="submit" name="Rename_Cancel" value="{t}Cancel{/t}" >
</div>
</p>
+ <script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.string.focus();
+ -->
+ </script>
{/if}
{/if}
-<script language="JavaScript" type="text/javascript">
- <!-- // First input field on page
- document.mainform.type_string.focus();
- -->
-</script>