Skip to content
Snippets Groups Projects
Commit ddb2e5c4 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: W3C syntax error (See firefox module HTML Validator / Tidy)

parent 380be061
Branches
Tags
No related merge requests found
...@@ -21,9 +21,8 @@ ...@@ -21,9 +21,8 @@
header("Content-type: text/html; charset=".$conf->file->character_set_client); header("Content-type: text/html; charset=".$conf->file->character_set_client);
{/php} {/php}
<!-- BEGIN SMARTY TEMPLATE -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- BEGIN SMARTY TEMPLATE -->
<html> <html>
<head> <head>
...@@ -124,6 +123,10 @@ function donnefocus() {ldelim} ...@@ -124,6 +123,10 @@ function donnefocus() {ldelim}
{if $forgetpasslink} {if $forgetpasslink}
<a style="color: #888888; font-size: 10px" href="{$dol_url_root}/user/passwordforgotten.php">( <a style="color: #888888; font-size: 10px" href="{$dol_url_root}/user/passwordforgotten.php">(
{$langs->trans('PasswordForgotten')} {$langs->trans('PasswordForgotten')}
{if ! $helpcenterlink}
)
{/if}
</a>
{/if} {/if}
{if $helpcenterlink} {if $helpcenterlink}
...@@ -133,9 +136,8 @@ function donnefocus() {ldelim} ...@@ -133,9 +136,8 @@ function donnefocus() {ldelim}
{else} {else}
( (
{/if} {/if}
{$langs->trans('NeedHelpCenter')} {$langs->trans('NeedHelpCenter')})</a>
{/if} {/if}
)</a>
{/strip} {/strip}
</td></tr> </td></tr>
{/if} {/if}
......
...@@ -248,10 +248,13 @@ function dol_loginfunction($langs,$conf,$mysoc) ...@@ -248,10 +248,13 @@ function dol_loginfunction($langs,$conf,$mysoc)
if (! empty($conf->browser->phone)) print '<tr><td colspan="3">&nbsp;</td></tr>'; // More space with phones if (! empty($conf->browser->phone)) print '<tr><td colspan="3">&nbsp;</td></tr>'; // More space with phones
print '<tr><td colspan="3" align="center">'; print '<tr><td colspan="3" align="center">';
if (empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK)) if (empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK))
{ {
print '<a style="color: #888888; font-size: 10px" href="'.DOL_URL_ROOT.'/user/passwordforgotten.php">('; print '<a style="color: #888888; font-size: 10px" href="'.DOL_URL_ROOT.'/user/passwordforgotten.php">(';
print $langs->trans("PasswordForgotten"); print $langs->trans("PasswordForgotten");
if (! empty($conf->global->MAIN_HELPCENTER_DISABLELINK)) print ')';
print '</a>';
} }
if (empty($conf->global->MAIN_HELPCENTER_DISABLELINK)) if (empty($conf->global->MAIN_HELPCENTER_DISABLELINK))
...@@ -261,8 +264,9 @@ function dol_loginfunction($langs,$conf,$mysoc) ...@@ -261,8 +264,9 @@ function dol_loginfunction($langs,$conf,$mysoc)
if (! empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK)) print '('; if (! empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK)) print '(';
else print ' - '; else print ' - ';
print $langs->trans("NeedHelpCenter"); print $langs->trans("NeedHelpCenter");
}
print ')</a>'; print ')</a>';
}
print '</td></tr>'; print '</td></tr>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment