From: hickert Date: Mon, 10 Aug 2009 09:33:35 +0000 (+0000) Subject: Renamed javascript function 'toggle' it is now called GOsa_toggle. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=891408d8d12afa97187016c4ea85bf2002f024d7;p=gosa.git Renamed javascript function 'toggle' it is now called GOsa_toggle. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14023 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/include/focus.js b/gosa-core/html/include/focus.js index 843a0a123..69f0a1ee8 100644 --- a/gosa-core/html/include/focus.js +++ b/gosa-core/html/include/focus.js @@ -256,7 +256,7 @@ function show(element) { document.poppedLayer.style.visibility = "visible"; } -function toggle(element) { +function GOsa_toggle(element) { if (browserType == "gecko" ) document.poppedLayer = document.getElementById(element); else if (browserType == "ie") @@ -286,7 +286,7 @@ function js_check(form) { form.javascript.value = 'true'; } -function divtoggle(element) { +function divGOsa_toggle(element) { var cell; var cellname="tr_"+(element); diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 3c799e8c0..36bc1eb22 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -363,6 +363,9 @@ if (session::is_set('errors')){ $smarty->assign("errors", session::get('errors')); } if ($error_collector != ""){ + + echo htmlentities($error_collector); + $smarty->assign("php_errors", preg_replace("/%BUGBODY%/",$error_collector_mailto,$error_collector).""); } else { $smarty->assign("php_errors", ""); diff --git a/gosa-core/ihtml/themes/default/msg_dialog.tpl b/gosa-core/ihtml/themes/default/msg_dialog.tpl index ae4e91924..0a77c4338 100644 --- a/gosa-core/ihtml/themes/default/msg_dialog.tpl +++ b/gosa-core/ihtml/themes/default/msg_dialog.tpl @@ -119,7 +119,7 @@ {if $s_Trace != "" && $i_TraceCnt != 0} -
Trace
+
Trace
{/if} diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index f1708574f..63a4a2402 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -759,14 +759,14 @@ class acl extends plugin "\n ". "\n "._("Object").": $name". "\n ". - "\n ". + "\n ". "\n "; } else if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/ie/i",$_SERVER['HTTP_USER_AGENT'])) { $display.= "\n". "\n ". "\n ". "\n ". + "\n ". "\n "; } else { $display.= "\n
"._("Object").": $name". - "\n
". diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index f7b8d075f..6566da07f 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -99,7 +99,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) diff --git a/gosa-core/include/utils/class_msgPool.inc b/gosa-core/include/utils/class_msgPool.inc index fa48370fa..5309dfa54 100644 --- a/gosa-core/include/utils/class_msgPool.inc +++ b/gosa-core/include/utils/class_msgPool.inc @@ -234,7 +234,7 @@ class msgPool if ($min == ""){ return (sprintf(_("Value for '%s' is too large!"), $name)); } else { - return (sprintf(_("'%s' must be smaller than %d!"), $name, $min)); + return (sprintf(_("'%s' must be smaller than %s!"), $name, $min)); } } diff --git a/gosa-core/plugins/admin/groups/generic.tpl b/gosa-core/plugins/admin/groups/generic.tpl index 45e95d516..5172c8b26 100644 --- a/gosa-core/plugins/admin/groups/generic.tpl +++ b/gosa-core/plugins/admin/groups/generic.tpl @@ -199,7 +199,7 @@
-
+ class="center" onClick="GOsa_toggle('div_trustmode');"> {t}Trust mode{/t}