]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/js/js_surfbar_member_edit.tpl
Wrapper function introduced, description for random refid rewritten:
[mailer.git] / templates / de / html / js / js_surfbar_member_edit.tpl
index adeeb9c248dfd330f201e017dc80e8311d538dab..b8e754ee13223311c3473e5bffa655a8ad48ee60 100644 (file)
@@ -1,6 +1,6 @@
 var limit = document.getElementById('limit');
 var span = document.getElementById('span_limit');
-var old_limit = $content[views_max];
+var old_limit = {%pipe,bigintval=$content[views_max]%};
 
 function FocusLimitedNo () {
        if ((limit.value > 0) && (limit.value != '-')) {
@@ -14,7 +14,7 @@ function FocusLimitedNo () {
 
 function FocusLimitedYes () {
        limit.disabled = false;
-       limit.setAttribute('class', 'member_normal');
+       limit.setAttribute('class', 'form_field');
        limit.style.textAlign = 'left';
        if (old_limit > 0) {
                limit.value = old_limit;
@@ -37,7 +37,7 @@ function ResetForm () {
        return false;
 }
 
-if ($content[limited] == true) {
+if ({%pipe,bigintval=$content[limited]%} == true) {
        FocusLimitedYes();
 } else {
        FocusLimitedNo();