summaryrefslogtreecommitdiff
path: root/pages/wot/5.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-10-16 06:09:25 +0200
committerMichael Tänzer <neo@nhng.de>2011-10-16 06:09:25 +0200
commit147cce7acd3ce673c494dc9b30f36b3d5554abea (patch)
tree28ef84874a81cd92558200c2a9c7a522cb94d906 /pages/wot/5.php
parent6e0ae5b60fdb53fccfa90519522fb9b1cbd44e45 (diff)
downloadcacert-devel-147cce7acd3ce673c494dc9b30f36b3d5554abea.tar.gz
cacert-devel-147cce7acd3ce673c494dc9b30f36b3d5554abea.tar.xz
cacert-devel-147cce7acd3ce673c494dc9b30f36b3d5554abea.zip
bug 985: replace occurences of $_SESSION['_config']['translations']
this includes a little rewrite of reminder handling Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages/wot/5.php')
-rw-r--r--pages/wot/5.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/wot/5.php b/pages/wot/5.php
index 6c53d00..4b574af 100644
--- a/pages/wot/5.php
+++ b/pages/wot/5.php
@@ -16,6 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
include_once("../includes/shutdown.php");
+ require_once("../includes/lib/l10n.php");
?>
<?
if(array_key_exists('error',$_SESSION['_config']) && $_SESSION['_config']['error'] != "")
@@ -39,7 +40,7 @@
<?
if($_SESSION['_config']['reminder-lang'] == "")
$_SESSION['_config']['reminder-lang'] = $_SESSION['profile']['language'];
- foreach($_SESSION['_config']['translations'] as $key => $val)
+ foreach(L10n::$translations as $key => $val)
{
echo "<option value='$key'";
if($key == $_SESSION['_config']['reminder-lang'])