]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/member/member_surfbar_book_dynamic.tpl
Several more constants rewritten to getConfig()
[mailer.git] / templates / de / html / member / member_surfbar_book_dynamic.tpl
index fef10a0188eb744cb2eff71ca0652e869cb1d8c5..3787f96390d35634169b8634f963a25e41b02646 100644 (file)
@@ -1,4 +1,4 @@
-<form id="book" action="{!URL!}/modules.php?module=login&amp;what=surfbar_book" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
+<form 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">
                <strong>URL in Surfbar buchen - Dynamisch:</strong>
@@ -20,8 +20,8 @@
 
        <div class="member_input" style="padding-top:5px;padding-bottom:5px">
                Jeder Seiten-Aufruf durch andere Mitglieder kostet Ihnen mindestens
-               <strong>$content[costs] {!POINTS!}</strong>. Surfen Sie mit der Surfbar
-               erhalten Sie mindestens <strong>$content[reward] {!POINTS!}</strong> auf
+               <strong>$content[costs] {?POINTS?}</strong>. Surfen Sie mit der Surfbar
+               erhalten Sie mindestens <strong>$content[reward] {?POINTS?}</strong> auf
                Ihr Konto gutgeschrieben.<br />
                <br />
                Sie haben bereits <strong>$content[curr_order]</strong> von maximal
@@ -41,7 +41,9 @@ var span = document.getElementById('span_limit');
 var old_limit = 0;
 
 function FocusLimitedNo () {
-       old_limit = limit.value;
+       if ((limit.value > 0) && (limit.value != '-')) {
+               old_limit = limit.value;
+       }
        limit.disabled = true;
        limit.setAttribute('class', 'disabled');
        limit.style.textAlign = 'center';
@@ -68,8 +70,8 @@ function SubmitForm () {
 }
 
 function ResetForm () {
-       FocusLimitedNo();
        old_limit = 0;
+       FocusLimitedNo();
        return true;
 }
 
@@ -82,6 +84,6 @@ FocusLimitedNo();
 <span align="center" class="member_note" style="padding:5px">
        Die maximalen Kosten bzw. Einnahmen pro Surfbaraufruf  richten sich nach
        verschiedenen Faktoren. Schauen Sie unter <a
-        href="{!URL!}/modules.php?module=login&amp;what=surfbar_start">Surfbar starten</a>
+        href="{?URL?}/modules.php?module=login&amp;what=surfbar_start">Surfbar starten</a>
        nach, wenn Sie genaueres dazu wissen m&ouml;chten.
 </span>