]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/surfbar/surfbar_frame_top.tpl
New function isValidUserid() introduced, more rewrites to EL:
[mailer.git] / templates / de / html / surfbar / surfbar_frame_top.tpl
index ce80817c02c3ba277eb053e213abdb3ba2a55676..6574dedf7fc41b79ff97819bc1a2b5677869d927 100644 (file)
@@ -4,14 +4,14 @@
        <td id="surfbar_td">
                <div>
                &raquo;<span id="surfbar_points">$content[xxx]=$content[xxx] {?POINTS?}</span> in
-               <span id="surfbar_counter">$content[xxx]</span>
+               <span class="surfbar_counter">$content[xxx]</span>
                <span id="surfbar_counter_word">Sekunden</span>&laquo;
                &raquo;<span id="surfbar_reload">X</span> von
                <span id="surfbar_max">X</span> im Reload&laquo;
                </div>
 
                <div>
-               &raquo;<a href="$content[url]" target="_blank">Aktuelle Seite in neuem
+               &raquo;<a href="{%pipe,SURFBAR_GET_URL=$content[url_id]%}" target="_blank">Aktuelle Seite in neuem
                Fenster &ouml;ffnen</a>&laquo;
                <span id="surfbar_navi">[<a href="#" onclick="return startStopCounter();"
                 id="start">Anhalten</a>|<a target="_parent"
@@ -57,7 +57,7 @@ function init () {
 }
 
 function confirm () {
-       parent.surfbar_url.location="{%url=surfbar.php?id=$content[url_id]&check=$content[check]&salt=$content[salt]%}";
+       parent.surfbar_url.location="{%url=surfbar.php?id=$content[url_id]&check={%pipe,SURFBAR_GENERATE_VALIDATION_CODE=$content[url_id]%}&salt={%pipe,SURFBAR_GET_SALT%}%}";
 }
 
 function reloadSurfbar () {
@@ -66,11 +66,11 @@ function reloadSurfbar () {
 }
 
 function initCounter () {
-       parent.surfbar_url.location.href = '$content[url]';
-       counter.innerHTML = '$content[reload]';
-       points.innerHTML  = '$content[reward]';
-       reload.innerHTML  = '$content[curr_reload]';
-       max.innerHTML     = '$content[max_urls]';
+       parent.surfbar_url.location.href = '{%pipe,SURFBAR_GET_URL=$content[url_id]%}';
+       counter.innerHTML = '{%pipe,SURFBAR_GET_RELOAD_TIME=$content[url_id]%}';
+       points.innerHTML  = '{%pipe,SURFBAR_GET_REWARD,translateComma=$content[url_id]%}';
+       reload.innerHTML  = '{%pipe,SURFBAR_GET_USER_LOCKS%}';
+       max.innerHTML     = '{%pipe,SURFBAR_GET_TOTAL_URLS%}';
 }
 
 function startCounter () {