1<!-- file login.tpl.php -->
4if (empty($context) || !is_object($context)) {
5 print
"Error, template page can't be called as URL";
10<div
class=
"login-page__container">
11 <div
class=
"login-screen">
12 <div
class=
"login-screen__content">
13 <form
class=
"login" method=
"POST">
14 <?php echo $context->getFormToken(); ?>
15 <input
type=
"hidden" name=
"action_login" value=
"login">
17 <div
class=
"login__logo"><!-- see --login-logo css var to change logo --></div>
19 <div
class=
"login__field">
20 <i
class=
"login__icon fas fa-user"></i>
21 <input
type=
"text" class=
"login__input" name=
"login" placeholder=
"<?php print dol_escape_htmltag($langs->trans('loginWebportalUserName')); ?>">
23 <div
class=
"login__field">
24 <i
class=
"login__icon fas fa-lock"></i>
25 <input
type=
"password" class=
"login__input" name=
"password" placeholder=
"<?php print dol_escape_htmltag($langs->trans('Password')) ?>">
27 <
button class=
"button login__submit">
28 <span
class=
"button__text"><?php print
dol_escape_htmltag($langs->trans(
'Connection')) ?></span>
29 <i
class=
"button__icon fas fa-chevron-right"></i>
32<!-- <div
class=
"social-login">-->
33<!-- <span
class=
"social-login__title">Follow us on</span>-->
34<!-- <div
class=
"social-icons">-->
35<!-- <a href=
"#" class=
"social-login__icon fab fa-instagram"></a>-->
36<!-- <a href=
"#" class=
"social-login__icon fab fa-facebook"></a>-->
37<!-- <a href=
"#" class=
"social-login__icon fab fa-twitter"></a>-->
41 <div
class=
"login-screen__background">
42 <span
class=
"login-screen__background__shape login-screen__background__shape4"></span>
43 <span
class=
"login-screen__background__shape login-screen__background__shape3"></span>
44 <span
class=
"login-screen__background__shape login-screen__background__shape2"></span>
45 <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
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.