mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Placeholder (required) field on login menu (menu) AND signup field
This commit is contained in:
@@ -98,7 +98,7 @@ e107::getLanguage()->bcDefs($bcDefs);
|
|||||||
function sc_lm_password_input($parm='')
|
function sc_lm_password_input($parm='')
|
||||||
{
|
{
|
||||||
$pref = e107::getPref();
|
$pref = e107::getPref();
|
||||||
$t_password = "<input class='form-control tbox login pass' type='password' placeholder='Password' required='required' name='userpass' id='userpass' size='15' value='' maxlength='30' />\n";
|
$t_password = "<input class='form-control tbox login pass' type='password' placeholder='".LAN_PASSWORD."' required='required' name='userpass' id='userpass' size='15' value='' maxlength='30' />\n";
|
||||||
if (!USER && e107::getSession()->is('challenge') && varset($pref['password_CHAP'],0)) $t_password .= "<input type='hidden' name='hashchallenge' id='hashchallenge' value='".e107::getSession()->get('challenge')."' />\n\n";
|
if (!USER && e107::getSession()->is('challenge') && varset($pref['password_CHAP'],0)) $t_password .= "<input type='hidden' name='hashchallenge' id='hashchallenge' value='".e107::getSession()->get('challenge')."' />\n\n";
|
||||||
return $t_password;
|
return $t_password;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user