diff --git a/htdocs/index.php b/htdocs/index.php index da147c99a7c..506022ef12f 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -80,7 +80,7 @@ print ""; $db->close(); -llxFooter("Dernière modification $Date$ révision $Revision$"); +llxFooter('$Date$ - $Revision$'); ?> diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 495f24a84cb..fd863681ed7 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -24,7 +24,8 @@ * */ -/** \file htdocs/main.inc.php +/** + \file htdocs/main.inc.php \brief Fichier de formatage générique des ecrans Dolibarr \version $Revision$ */ @@ -115,7 +116,7 @@ if (defined("MAIN_NOT_INSTALLED")) function top_menu($head, $title="", $target="") { - global $user, $conf, $langs; + global $user, $conf, $langs, $db; print ''; print "\n"; @@ -219,7 +220,7 @@ function top_menu($head, $title="", $target="") function left_menu($menu_array, $help_url='', $form_search='') { - global $user, $conf, $langs; + global $user, $conf, $langs, $db; print '