Modif loginfunction pour l'affichage du numro de version

This commit is contained in:
Rodolphe Quiedeville 2005-09-20 12:37:34 +00:00
parent 8948ca0059
commit 54c43e2e8d

View File

@ -860,17 +860,20 @@ function loginfunction()
print '<form id="login" method="post" action="' . $_SERVER['PHP_SELF'] . '" name="identification">';
print '
<table cellpadding="0" cellspacing="0" border="0" align="center" width="350">
<tr class="vmenu"><td>Dolibarr '.DOL_VERSION.'</td></tr>';
print '<table cellpadding="0" cellspacing="0" border="0" align="center" width="350">';
if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png'))
{
print '<tr><td colspan="3" style="text-align:center;">';
print '<img src="/logo.png"></td></tr>';
}
print'</table>
if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png'))
{
print '<tr><td colspan="3" style="text-align:center;">';
print '<img src="/logo.png"></td></tr>';
}
else
{
print '<tr class="vmenu"><td>Dolibarr '.DOL_VERSION.'</td></tr>';
}
print'</table>
<br>