Ajout logo

This commit is contained in:
Rodolphe Quiedeville 2005-09-06 13:56:40 +00:00
parent 4fe65fcd68
commit a172f4f71c
2 changed files with 24 additions and 6 deletions

View File

@ -71,6 +71,16 @@ print '<tr><td valign="top" class="notopnoleft">';
/*
* Informations
*/
if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png'))
{
print '<table class="noborder" width="100%">';
print '<tr><td colspan="3" style="text-align:center;">';
print '<img src="/logo.png"></td></tr>';
print "</table><br />\n";
}
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Informations").'</td></tr>';
print '<tr '.$bc[false].'>';
@ -81,8 +91,8 @@ print '<td nowrap>'.$langs->trans("LastAccess").'</td><td>';
if ($user->datelastaccess) print dolibarr_print_date($user->datelastaccess,"%d %B %Y %H:%M:%S");
else print $langs->trans("Unknown");
print '</td>';
print '</tr>';
print '</table>';
print "</tr>\n";
print "</table>\n";
/*

View File

@ -861,8 +861,15 @@ function loginfunction()
print '
<table cellpadding="0" cellspacing="0" border="0" align="center" width="350">
<tr class="vmenu"><td>Dolibarr '.DOL_VERSION.'</td></tr>
</table>
<tr class="vmenu"><td>Dolibarr '.DOL_VERSION.'</td></tr>';
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>
<br>
@ -893,13 +900,14 @@ print '
<tr><td colspan="3" style="text-align:center;"><br>
<input type="submit" class="button" value="&nbsp; '.$langs->trans("Connection").' &nbsp;" tabindex="4" />
</td></tr>
';
print '
</table>
<input type="hidden" name="loginfunction" value="loginfunction" />
';
print '</form>';
}