]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/member/member_book_surfbar_static.tpl
Mailer project continued (heavy refactoring):
[mailer.git] / templates / de / html / member / member_book_surfbar_static.tpl
index e7c712885250413cd3a5d736673143e6134e3e5a..ede62c0f329fafd404cb4c01f420808d67a453ec 100644 (file)
@@ -1,12 +1,12 @@
 <div align="center">
 <div align="center">
-<form accept-charset="UTF-8" id="book" action="{%url=modules.php?module=login&amp;what=book_surfbar%}" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
+{%form,formIdBook,formMethodPost=modules.php?module=login&amp;what=book_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 buchen - Statisch:</strong>
        </div>
 
        <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
 <div class="table3 dashed" style="margin-top:10px">
        <div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
                <strong>URL in Surfbar buchen - Statisch:</strong>
        </div>
 
        <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
-               URL eingeben: <input type="text" class="form_field" name="url" size="20" maxlength="255" value="http://" />
+               URL eingeben: <input type="text" class="form_field" id="url" name="url" size="20" maxlength="255" value="http://" />
        </div>
 
        <div class="member_input" style="padding-top:5px;padding-bottom:5px">
        </div>
 
        <div class="member_input" style="padding-top:5px;padding-bottom:5px">
        </div>
 
        <div class="table_header top" style="padding-top:5px;padding-bottom:5px">
        </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="submit" class="form_submit" name="ok" value="{--MEMBER_SURFBAR_ADD_URL_SUBMIT--}" />
        </div>
 </div>
 
                <input type="submit" class="form_submit" name="ok" value="{--MEMBER_SURFBAR_ADD_URL_SUBMIT--}" />
        </div>
 </div>
 
-<script src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}" type="text/javascript"></script>
+<script type="text/javascript" src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}"></script>
+<script type="text/javascript">
+<!--
+$('#book').submit(function() {
+       return submitForm();
+});
 
 
-</form>
+$('#reset').click(function() {
+       return resetForm();
+});
+//-->
+</script>
+
+{%form_close%}
 </div>
 </div>