Index: trunk/core/admin_templates/config/config_universal.tpl
===================================================================
diff -u -r6703 -r7391
--- trunk/core/admin_templates/config/config_universal.tpl (.../config_universal.tpl) (revision 6703)
+++ trunk/core/admin_templates/config/config_universal.tpl (.../config_universal.tpl) (revision 7391)
@@ -1,7 +1,5 @@
-
-
-
+
@@ -27,7 +25,7 @@
return false;
}
}
-
+
function ValidatePassFields(){
var el=false;
var validated=true;
@@ -41,29 +39,29 @@
}
return validated;
}
-
+
function toggle_section($label) {
var $table = document.getElementById('config_table');
var $row = null;
var $is_visible = false;
-
+
for (var $i = 0; $i < $table.rows.length; $i++) {
$row = $table.rows[$i];
if ($row.getAttribute('header_label') != $label) {
continue;
}
-
+
if (!$row.style.display) {
$row.style.display = document.all ? 'block' : 'table-row';
}
-
+
$is_visible = !($row.style.display == 'none');
$row.style.display = $is_visible ? 'none' : (document.all ? 'block' : 'table-row');
-
+
document.getElementById('toggle_mark['+$label+']').innerHTML = '[' + ($is_visible ? '+' : '-') + ']';
}
}
-
+
var a_toolbar = new ToolBar();
a_toolbar.AddButton( new ToolBarButton('select', '', function() {
if (ValidatePassFields()){