noalyss-commit
[Top][All Lists]
Advanced

[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;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]