From 6e37cec2beca23dc8b01c5644671a73c7a017229 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 8 Dec 2008 18:50:52 +0000 Subject: [PATCH] A better demo home page --- htdocs/public/demo/index.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php index 4333b244574..330fe39b756 100644 --- a/htdocs/public/demo/index.php +++ b/htdocs/public/demo/index.php @@ -27,7 +27,8 @@ require("../../master.inc.php"); -$langs->setDefaultLang('auto'); +$langcode=(empty($_GET["lang"])?'auto':$_GET["lang"]); +$langs->setDefaultLang($langcode); $langs->load("main"); $langs->load("other"); @@ -67,6 +68,10 @@ function llxHeaderVierge($title, $head = "") print "".$title."\n"; print ''."\n"; if ($head) print $head."\n"; + print ''; print "\n"; print ''."\n"; } @@ -206,7 +211,7 @@ foreach ($demoprofiles as $profilarray) //if ($i % $NBOFCOLS == 0) print ''; print ''; print ''; - print ''."\n"; + print '
'."\n"; print ''; print ''; //print '