Ajout logo
This commit is contained in:
parent
4fe65fcd68
commit
a172f4f71c
@ -71,6 +71,16 @@ print '<tr><td valign="top" class="notopnoleft">';
|
|||||||
/*
|
/*
|
||||||
* Informations
|
* 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 '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Informations").'</td></tr>';
|
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Informations").'</td></tr>';
|
||||||
print '<tr '.$bc[false].'>';
|
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");
|
if ($user->datelastaccess) print dolibarr_print_date($user->datelastaccess,"%d %B %Y %H:%M:%S");
|
||||||
else print $langs->trans("Unknown");
|
else print $langs->trans("Unknown");
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print "</tr>\n";
|
||||||
print '</table>';
|
print "</table>\n";
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -861,8 +861,15 @@ function loginfunction()
|
|||||||
|
|
||||||
print '
|
print '
|
||||||
<table cellpadding="0" cellspacing="0" border="0" align="center" width="350">
|
<table cellpadding="0" cellspacing="0" border="0" align="center" width="350">
|
||||||
<tr class="vmenu"><td>Dolibarr '.DOL_VERSION.'</td></tr>
|
<tr class="vmenu"><td>Dolibarr '.DOL_VERSION.'</td></tr>';
|
||||||
</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>';
|
||||||
|
}
|
||||||
|
|
||||||
|
print'</table>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@ -893,13 +900,14 @@ print '
|
|||||||
<tr><td colspan="3" style="text-align:center;"><br>
|
<tr><td colspan="3" style="text-align:center;"><br>
|
||||||
<input type="submit" class="button" value=" '.$langs->trans("Connection").' " tabindex="4" />
|
<input type="submit" class="button" value=" '.$langs->trans("Connection").' " tabindex="4" />
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
';
|
||||||
|
print '
|
||||||
</table>
|
</table>
|
||||||
<input type="hidden" name="loginfunction" value="loginfunction" />
|
<input type="hidden" name="loginfunction" value="loginfunction" />
|
||||||
|
|
||||||
';
|
';
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user