From: hickert Date: Tue, 25 May 2010 09:55:02 +0000 (+0000) Subject: Updated smarty assignment for index.php X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba069f72a6febfa712b8bc71c28d507ba84684e4;p=gosa.git Updated smarty assignment for index.php -In some cases this variable wasn't set. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18682 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index 3ce811e33..06fb9d3b7 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -198,6 +198,9 @@ bindtextdomain($domain, LOCALE_DIR); textdomain($domain); $smarty->assign ('nextfield', 'username'); +/* Translation of cookie-warning. Whether to display it, is determined by JavaScript */ +$smarty->assign ("cookies", _("Your browser has cookies disabled: please enable cookies and reload this page before logging in!")); + if ($_SERVER["REQUEST_METHOD"] != "POST") { @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $lang, "Setting language to"); } @@ -423,9 +426,6 @@ if (!isset($message)) { $smarty->assign ("message", $message); -/* Translation of cookie-warning. Whether to display it, is determined by JavaScript */ -$smarty->assign ("cookies", _("Your browser has cookies disabled: please enable cookies and reload this page before logging in!")); - /* Generate server list */ $servers= array(); if (isset($_POST['server'])) {