<div align="center">
-<form accept-charset="UTF-8" id="edit" action="{%url=modules.php?module=login&what=list_surfbar%}" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
+{%form,formIdEdit,formMethodPost=modules.php?module=login&what=list_surfbar%}
<div class="table3 dashed" style="margin-top:10px">
<div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
<strong>URL in Surfbar editieren:</strong>
</div>
<div class="table_header top" style="padding-top:5px;padding-bottom:5px">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="reset" class="form_reset" id="reset" value="{--CLEAR_FORM--}" />
<input type="hidden" name="url_id" value="$content[url_id]" />
<input type="hidden" name="action" value="edit" />
<input type="hidden" name="execute" value="1" />
</div>
</div>
-<script src="{%url=js.php?js=surfbar_member_edit%}{%ext,version=surfbar%}&url_views_max=$content[url_views_max]&limited=$content[limited]"
- type="text/javascript"></script>
-</form>
+<script type="text/javascript"
+ src="{%url=js.php?js=surfbar_member_edit%}{%ext,version=surfbar%}&url_views_max=$content[url_views_max]&limited=$content[limited]"></script>
+<script type="text/javascript">
+<!--
+$('#edit').submit(function() {
+ return submitForm();
+});
+
+$('#reset').click(function() {
+ return resetForm();
+});
+//-->
+</script>
+
+{%form_close%}
</div>