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