[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/06: BUG : theme do not change the first ti
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/06: BUG : theme do not change the first time |
Date: |
Thu, 13 Mar 2014 20:39:47 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 3439ad0b5a1882aef58ba1a573abe24e4190eee7
Author: Dany De Bontridder <address@hidden>
Date: Thu Mar 13 19:49:29 2014 +0100
BUG : theme do not change the first time
---
html/do.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/html/do.php b/html/do.php
index 1c299c9..b4a0833 100644
--- a/html/do.php
+++ b/html/do.php
@@ -31,6 +31,7 @@ require_once('user_common.php');
require_once('ac_common.php');
require_once 'function_javascript.php';
require_once 'constant.security.php';
+require_once 'class_html_input.php';
mb_internal_encoding("UTF-8");
// if gDossier is not set redirect to form to choose a folder
@@ -46,10 +47,9 @@ if ( ! isset ($_SESSION['g_theme']))
exit();
}
+$style_user=HtmlInput::default_value_post("style_user",$_SESSION['g_theme']);
-if (isset ($_POST["style_user"])){$_SESSION['g_theme']=$_POST['style_user'];}
-
-html_page_start($_SESSION['g_theme']);
+html_page_start($style_user);
global $g_user, $cn,$g_parameter;
- [Noalyss-commit] [noalyss] branch master updated (4e50bc4 -> eed45b7), Dany De Bontridder, 2014/03/13
- [Noalyss-commit] [noalyss] 04/06: bug : Font size too large, Dany De Bontridder, 2014/03/13
- [Noalyss-commit] [noalyss] 06/06: Bug : ledger search without border, Dany De Bontridder, 2014/03/13
- [Noalyss-commit] [noalyss] 03/06: bug : no lettering for the great ledger, Dany De Bontridder, 2014/03/13
- [Noalyss-commit] [noalyss] 05/06: Bug : rapport, cannot use it, Dany De Bontridder, 2014/03/13
- [Noalyss-commit] [noalyss] 01/06: CSS : change color Anchor, Dany De Bontridder, 2014/03/13
- [Noalyss-commit] [noalyss] 02/06: BUG : theme do not change the first time,
Dany De Bontridder <=