diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php index 10875551b23..b78e530d87e 100644 --- a/htdocs/public/demo/index.php +++ b/htdocs/public/demo/index.php @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - + /** \file htdocs/public/demo/index.php \ingroup core @@ -60,6 +60,11 @@ function llxHeaderVierge($title, $head = "") { global $user, $conf, $langs; + header("Content-type: text/html; charset=".$conf->character_set_client); + + print ''; + //print ''; + print "\n"; print "\n"; print "\n"; print ''."\n"; @@ -114,7 +119,7 @@ if ($_REQUEST["action"] == 'gotodemo') /* * View */ - + llxHeaderVierge($langs->trans("DolibarrDemo")); @@ -190,7 +195,7 @@ print '
' print ''; print "\n"; -print ''; +print '
'; print ''; print '
'; print '
Dolibarr logo

'; @@ -204,7 +209,7 @@ print '
'; $NBOFCOLS=2; -print ''."\n"; +print '
'."\n"; $i=0; foreach ($demoprofiles as $profilarray) { @@ -214,9 +219,9 @@ foreach ($demoprofiles as $profilarray) //if ($i % $NBOFCOLS == 0) print ''; print ''; print '
'; - print ''."\n"; + print '
'."\n"; print ''; - print ''; + print ''; //print '';
Demo '.$profilarray['label'].'