From c969d58907a9330b2c7e0b465a95eee514ca5df9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 22 Jan 2018 23:51:24 +0100 Subject: [PATCH] Clean code --- htdocs/user/passwordforgotten.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/htdocs/user/passwordforgotten.php b/htdocs/user/passwordforgotten.php index 4412eb621b3..7731d5b09a6 100644 --- a/htdocs/user/passwordforgotten.php +++ b/htdocs/user/passwordforgotten.php @@ -168,24 +168,6 @@ else $template_dir = DOL_DOCUMENT_ROOT."/core/tpl/"; } -// Note: $conf->css looks like '/theme/eldy/style.css.php' -/* -$conf->css = "/theme/".(GETPOST('theme','alpha')?GETPOST('theme','alpha'):$conf->theme)."/style.css.php"; -$themepath=dol_buildpath($conf->css,1); -if (! empty($conf->modules_parts['theme'])) // This slow down -{ - foreach($conf->modules_parts['theme'] as $reldir) - { - if (file_exists(dol_buildpath($reldir.$conf->css, 0))) - { - $themepath=dol_buildpath($reldir.$conf->css, 1); - break; - } - } -} -$conf_css = $themepath."?lang=".$langs->defaultlang; -*/ - if (! $username) $focus_element = 'username'; else $focus_element = 'password';