]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/member/member_surfbar_book_static.tpl
More HTML rewrites #3
[mailer.git] / templates / de / html / member / member_surfbar_book_static.tpl
index 3cf168d39b317cc35e25672179f90ea4f1a73da7..70445dd72f006069fd4569ae50d829a955c131be 100644 (file)
@@ -1,10 +1,10 @@
-<form id="book" action="{?URL?}/modules.php?module=login&amp;what=surfbar_book" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
+<form accept-charset="utf-8" id="book" action="{%url=modules.php?module=login&amp;what=surfbar_book%}" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
 <div class="member_table dashed" style="width:600px;margin-top:10px">
-       <div class="member_title2 bottom2" style="padding-top:5px;padding-bottom:5px">
+       <div class="member_title2 bottom" style="padding-top:5px;padding-bottom:5px">
                <strong>URL in Surfbar buchen - Statisch:</strong>
        </div>
 
-       <div class="member_input bottom2" style="padding-top:5px;padding-bottom:5px">
+       <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
                URL eingeben: <input type="text" name="url" size="20" maxlength="255" value="http://" />
        </div>
 
@@ -14,8 +14,8 @@
                <input type="radio" id="limited_yes" onfocus="return FocusLimitedYes()" name="limited" value="Y" /> {--YES--}
        </div>
 
-       <div class="member_input bottom2" style="padding-top:5px;padding-bottom:5px">
-               Aufrufe begrenzen auf: <input class="member_normal" type="text" id="limit" name="limit" size="7" maxlength="20" value="-" />
+       <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
+               Aufrufe begrenzen auf: <input type="text" class="member_normal" id="limit" name="limit" size="7" maxlength="20" value="-" />
        </div>
 
        <div class="member_input" style="padding-top:5px;padding-bottom:5px">
                <strong>$content[max_order]</strong> erlaubten URLs gebucht.
        </div>
 
-       <div class="member_title2 top2" style="padding-top:5px;padding-bottom:5px">
+       <div class="member_title2 top" style="padding-top:5px;padding-bottom:5px">
                <input type="reset" class="member_reset" value="{--CLEAR_FORM--}" />
                <input type="submit" class="member_submit" name="ok" value="{--MEMBER_SURFBAR_ADD_URL--}" />
        </div>
 </div>
 
-<script language="JavaScript" type="text/javascript">
-<!--
-var limit = document.getElementById('limit');
-var span = document.getElementById('span_limit');
-var old_limit = 0;
+<script src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}" type="text/javascript"></script>
 
-function FocusLimitedNo () {
-       if ((limit.value > 0) && (limit.value != '-')) {
-               old_limit = limit.value;
-       }
-       limit.disabled = true;
-       limit.setAttribute('class', 'disabled');
-       limit.style.textAlign = 'center';
-       limit.value = '-';
-}
-
-function FocusLimitedYes () {
-       limit.disabled = false;
-       limit.setAttribute('class', 'member_normal');
-       limit.style.textAlign = 'left';
-       if (old_limit > 0) {
-               limit.value = old_limit;
-       } else {
-               limit.value = '';
-       }
-       limit.focus();
-}
-
-function SubmitForm () {
-       if (limit.value == '-') {
-               limit.value = 0;
-       }
-       return true;
-}
-
-function ResetForm () {
-       old_limit = 0;
-       FocusLimitedNo();
-       return true;
-}
-
-FocusLimitedNo();
-
-//-->
-</script>
 </form>