1<!-- file login.tpl.php -->
7 print
"Error, template page can't be called as URL";
10'@phan-var-force Context $context';
13<div
class=
"login-page__container">
14 <div
class=
"login-screen">
15 <div
class=
"login-screen__content">
16 <form
class=
"login" method=
"POST">
17 <?php echo
$context->getFormToken(); ?>
18 <input
type=
"hidden" name=
"action_login" value=
"login">
20 <div
class=
"login__logo"><!-- see --login-logo css var to change logo --></div>
22 <div
class=
"login__field">
23 <i
class=
"login__icon fas fa-user"></i>
24 <input
type=
"text" class=
"login__input" name=
"login" placeholder=
"<?php print dol_escape_htmltag($langs->trans('loginWebportalUserName')); ?>">
26 <div
class=
"login__field">
27 <i
class=
"login__icon fas fa-lock"></i>
28 <input
type=
"password" class=
"login__input" name=
"password" placeholder=
"<?php print dol_escape_htmltag($langs->trans('Password')) ?>">
30 <
button class=
"button login__submit">
31 <span
class=
"button__text"><?php print
dol_escape_htmltag($langs->trans(
'Connection')) ?></span>
32 <i
class=
"button__icon fas fa-chevron-right"></i>
35<!-- <div
class=
"social-login">-->
36<!-- <span
class=
"social-login__title">Follow us on</span>-->
37<!-- <div
class=
"social-icons">-->
38<!-- <a href=
"#" class=
"social-login__icon fab fa-instagram"></a>-->
39<!-- <a href=
"#" class=
"social-login__icon fab fa-facebook"></a>-->
40<!-- <a href=
"#" class=
"social-login__icon fab fa-twitter"></a>-->
44 <div
class=
"login-screen__background">
45 <span
class=
"login-screen__background__shape login-screen__background__shape4"></span>
46 <span
class=
"login-screen__background__shape login-screen__background__shape3"></span>
47 <span
class=
"login-screen__background__shape login-screen__background__shape2"></span>
48 <span
class=
"login-screen__background__shape login-screen__background__shape1"></span>
dol_escape_htmltag($stringtoescape, $keepb=0, $keepn=0, $noescapetags='', $escapeonlyhtmltags=0, $cleanalsojavascript=0)
Returns text escaped for inclusion in HTML alt or title or value tags, or into values of HTML input f...
ui state ui widget content ui state ui widget header ui state a ui button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
$context
@method int call_trigger(string $triggerName, User $user)
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
$conf db name
Only used if Module[ID]Name translation string is not found.