From a172f4f71c36424b128225323de0c0f4cf2a5116 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 6 Sep 2005 13:56:40 +0000 Subject: [PATCH] Ajout logo --- htdocs/index.php | 14 ++++++++++++-- htdocs/lib/functions.inc.php | 16 ++++++++++++---- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/htdocs/index.php b/htdocs/index.php index 522ff4e01a1..e31ae7d79c0 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -71,6 +71,16 @@ print ''; /* * Informations */ + +if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png')) +{ + print ''; + print ''; + print "
'; + print '

\n"; +} + + print ''; print ''; print ''; @@ -81,8 +91,8 @@ print ''; -print ''; -print '
'.$langs->trans("Informations").'
'.$langs->trans("LastAccess").''; if ($user->datelastaccess) print dolibarr_print_date($user->datelastaccess,"%d %B %Y %H:%M:%S"); else print $langs->trans("Unknown"); print '
'; +print "\n"; +print "\n"; /* diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 9c95155bad4..122a2cc8915 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -861,8 +861,15 @@ function loginfunction() print ' - -
Dolibarr '.DOL_VERSION.'
+Dolibarr '.DOL_VERSION.''; + +if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png')) +{ + print ''; + print ''; +} + +print'
@@ -893,13 +900,14 @@ print '
- +'; +print ' - '; print ''; + }