From 0092395c35382484bef31af3fa7de63f2d1a7fae Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 19 Mar 2009 20:43:44 +0000 Subject: [PATCH] =?UTF-8?q?-=20LSlang=20:=20Compatibilit=C3=A9=20sans-JS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trunk/includes/js/LSdefault.js | 3 +++ trunk/templates/default/login.tpl | 8 ++++++++ trunk/templates/default/top.tpl | 8 ++++++++ 3 files changed, 19 insertions(+) diff --git a/trunk/includes/js/LSdefault.js b/trunk/includes/js/LSdefault.js index fc939975..8c206dd0 100644 --- a/trunk/includes/js/LSdefault.js +++ b/trunk/includes/js/LSdefault.js @@ -85,6 +85,9 @@ var LSdefault = new Class({ this.LSlang_select.getElements('img').each(function(img) { img.addEvent('click',this.onSelectLSlangImgClick.bind(this,img)); },this); + document.getElements('.LSlang_hidden').each(function(el) { + el.dispose(); + },this); } } }, diff --git a/trunk/templates/default/login.tpl b/trunk/templates/default/login.tpl index 4fc13ee0..3024a211 100644 --- a/trunk/templates/default/login.tpl +++ b/trunk/templates/default/login.tpl @@ -28,6 +28,14 @@
{$loginform_label_pwd}
+
{$lang_label}
+
+ +
diff --git a/trunk/templates/default/top.tpl b/trunk/templates/default/top.tpl index 18651600..034134c5 100644 --- a/trunk/templates/default/top.tpl +++ b/trunk/templates/default/top.tpl @@ -38,6 +38,14 @@ {$lang_label} : {$LSlang} +
+ + +
{$connected_as} {$LSsession_username} Logout