Fix: Removed html5 warnings

This commit is contained in:
Laurent Destailleur 2014-04-27 01:51:50 +02:00
parent 8beaf30e88
commit 8c7ff91341
2 changed files with 12 additions and 12 deletions

View File

@ -61,7 +61,7 @@ $(document).ready(function () {
<input type="hidden" name="dol_no_mouse_hover" id="dol_no_mouse_hover" value="<?php echo $dol_no_mouse_hover; ?>" /> <input type="hidden" name="dol_no_mouse_hover" id="dol_no_mouse_hover" value="<?php echo $dol_no_mouse_hover; ?>" />
<input type="hidden" name="dol_use_jmobile" id="dol_use_jmobile" value="<?php echo $dol_use_jmobile; ?>" /> <input type="hidden" name="dol_use_jmobile" id="dol_use_jmobile" value="<?php echo $dol_use_jmobile; ?>" />
<table class="login_table_title" summary="<?php echo dol_escape_htmltag($title); ?>" align="center"> <table class="login_table_title center" summary="<?php echo dol_escape_htmltag($title); ?>">
<tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr> <tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr>
</table> </table>
<br> <br>
@ -72,7 +72,7 @@ $(document).ready(function () {
<div id="login_left"> <div id="login_left">
<table class="left" summary="Login pass" cellpadding="2"> <table class="left" summary="Login pass">
<!-- Login --> <!-- Login -->
<tr> <tr>
<td valign="middle" class="loginfield"><strong><label for="username"><?php echo $langs->trans('Login'); ?></label></strong></td> <td valign="middle" class="loginfield"><strong><label for="username"><?php echo $langs->trans('Login'); ?></label></strong></td>
@ -190,9 +190,9 @@ if (isset($conf->file->main_authentication) && preg_match('/openid/',$conf->file
<?php if (! empty($_SESSION['dol_loginmesg'])) <?php if (! empty($_SESSION['dol_loginmesg']))
{ {
?> ?>
<center><div align="center" style="max-width: 500px; margin-left: 10px; margin-right: 10px;"><div class="error"> <div class="center" style="max-width: 500px; margin-left: 10px; margin-right: 10px;"><div class="error">
<?php echo $_SESSION['dol_loginmesg']; ?> <?php echo $_SESSION['dol_loginmesg']; ?>
</div></div></center> </div></div>
<?php <?php
} }
?> ?>
@ -200,9 +200,9 @@ if (isset($conf->file->main_authentication) && preg_match('/openid/',$conf->file
<?php if ($main_home) <?php if ($main_home)
{ {
?> ?>
<center><div align="center" class="login_main_home" style="max-width: 80%"> <div class="center" class="login_main_home" style="max-width: 80%">
<?php echo $main_home; ?> <?php echo $main_home; ?>
</div></center><br> </div><br>
<?php <?php
} }
?> ?>

View File

@ -46,7 +46,7 @@ $(document).ready(function () {
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>"> <input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<input type="hidden" name="action" value="buildnewpassword"> <input type="hidden" name="action" value="buildnewpassword">
<table class="login_table_title" summary="<?php echo dol_escape_htmltag($title); ?>" align="center"> <table class="login_table_title center" summary="<?php echo dol_escape_htmltag($title); ?>">
<tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr> <tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr>
</table> </table>
<br> <br>
@ -57,7 +57,7 @@ $(document).ready(function () {
<div id="login_left"> <div id="login_left">
<table class="left" summary="Login pass" cellpadding="2"> <table class="left" summary="Login pass">
<!-- Login --> <!-- Login -->
<tr> <tr>
@ -129,7 +129,7 @@ if (! empty($hookmanager->resArray['options'])) {
</form> </form>
<center><div align="center" style="max-width: 680px; margin-left: 10px; margin-right: 10px;"> <div class="center" style="max-width: 680px; margin-left: 10px; margin-right: 10px;">
<?php if ($mode == 'dolibarr' || ! $disabled) { ?> <?php if ($mode == 'dolibarr' || ! $disabled) { ?>
<font style="font-size: 12px;"> <font style="font-size: 12px;">
<?php echo $langs->trans('SendNewPasswordDesc'); ?> <?php echo $langs->trans('SendNewPasswordDesc'); ?>
@ -139,15 +139,15 @@ if (! empty($hookmanager->resArray['options'])) {
<?php echo $langs->trans('AuthenticationDoesNotAllowSendNewPassword', $mode); ?> <?php echo $langs->trans('AuthenticationDoesNotAllowSendNewPassword', $mode); ?>
</div> </div>
<?php } ?> <?php } ?>
</div></center> </div>
<br> <br>
<?php if ($message) { ?> <?php if ($message) { ?>
<center><div align="center" style="max-width: 680px; margin-left: 10px; margin-right: 10px;"> <div class="center" style="max-width: 680px; margin-left: 10px; margin-right: 10px;">
<?php echo dol_htmloutput_mesg($message,'','',1); ?> <?php echo dol_htmloutput_mesg($message,'','',1); ?>
</div></center> </div>
<?php } ?> <?php } ?>
</center> <!-- end of center --> </center> <!-- end of center -->