Registracija - odstranjeni placeholderji , dodan LostPass
This commit is contained in:
parent
8b75c96f89
commit
9a7f763eed
@ -627,11 +627,11 @@ class DisplayController{
|
||||
|
||||
// Email
|
||||
echo ' <label for="email" '.(isset($error['email']) ? 'class="red"' : '').'>'.$lang['email'].':</label>';
|
||||
echo ' <input class="regfield '.(isset($error['email']) ? 'red' : '').'" id="email" name="email" value="'.$email.'" placeholder="'.$lang['email'].'" type="text">';
|
||||
echo ' <input class="regfield '.(isset($error['email']) ? 'red' : '').'" id="email" name="email" value="'.$email.'" placeholder="" type="text">';
|
||||
|
||||
// Ime
|
||||
echo ' <label for="ime" '.(isset($error['ime']) ? 'class="red"' : '').'>'.$lang['cms_register_user_nickname'].':</label>';
|
||||
echo ' <input class="regfield '.(isset($error['ime']) ? 'red' : '').'" id="ime" name="ime" value="'.$ime.'" placeholder="'.$lang['cms_register_user_nickname'].'" type="text">';
|
||||
echo ' <input class="regfield '.(isset($error['ime']) ? 'red' : '').'" id="ime" name="ime" value="'.$ime.'" placeholder="" type="text">';
|
||||
|
||||
// RECAPTCHA
|
||||
if(AppSettings::getInstance()->getSetting('google-secret_captcha') !== false && AppSettings::getInstance()->getSetting('google-recaptcha_sitekey') !== false)
|
||||
@ -639,11 +639,11 @@ class DisplayController{
|
||||
|
||||
// Geslo
|
||||
echo ' <label for="p1" '.(isset($error['password']) ? 'class="red"' : '').'>'.$lang['login_password'].':</label>';
|
||||
echo ' <input id="p1" class="text '.(isset($error['password']) ? 'red' : '').'" value="" name="geslo" placeholder="'.$lang['password'].'" type="password">';
|
||||
echo ' <input id="p1" class="text '.(isset($error['password']) ? 'red' : '').'" value="" name="geslo" placeholder="" type="password">';
|
||||
|
||||
// Geslo2
|
||||
echo ' <label for="p2" '.(isset($error['password']) ? 'class="red"' : '').'>'.$lang['cms_register_user_repeat_password'].':</label>';
|
||||
echo ' <input id="p2" class="text '.(isset($error['password']) ? 'red' : '').'" value="" name="geslo2" placeholder="'.$lang['cms_register_user_repeat_password'].'" type="password">';
|
||||
echo ' <input id="p2" class="text '.(isset($error['password']) ? 'red' : '').'" value="" name="geslo2" placeholder="" type="password">';
|
||||
|
||||
// Strinjam se s pogoji
|
||||
//echo ' <input id="IAgree" type="hidden" name="agree" value="1">';
|
||||
@ -687,6 +687,10 @@ class DisplayController{
|
||||
// Submit
|
||||
echo ' <input name="submit" value="'.$lang['next1'].'" class="regfield" type="submit">';
|
||||
|
||||
// Lost pass
|
||||
echo ' <div class="lostpass"><a class="RegLastPage" href="#" onclick="LostPassword(\''.$lang['please_insert_email'].'\');">'.$lang['forgot_password'].'</a></div>';
|
||||
|
||||
|
||||
echo '</form>';
|
||||
}
|
||||
|
||||
@ -736,6 +740,8 @@ class DisplayController{
|
||||
|
||||
echo ' <input name="submit" value="'.$lang['login'].'" class="regfield" type="submit">';
|
||||
echo ' <span class="spaceLeft">'.str_replace('#URL#', $site_url.$this->root.'index.php?a=register', $lang['cms_login_registration_link']).'</span>';
|
||||
|
||||
|
||||
|
||||
echo ' </form>';
|
||||
|
||||
|
@ -1005,10 +1005,33 @@ body.landing_page #main .landing_page_window #login_holder .login_form .lostpass
|
||||
line-height: 20px;
|
||||
|
||||
}
|
||||
body.landing_page #main .landing_page_window #login_holder .login_form .lostpass a {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
/* REGISTRACIJA */
|
||||
|
||||
body.landing_page #main .landing_page_window .register_window label{
|
||||
body.landing_page #main .landing_page_window .register_window {
|
||||
padding: 24px 23px 25px 23px;
|
||||
}
|
||||
|
||||
body.landing_page #main .landing_page_window .register_window a {
|
||||
position: unset;
|
||||
text-align: left;
|
||||
text-decoration-line: underline;
|
||||
text-decoration-color: #1e88e5;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
body.landing_page #main .landing_page_window .register_window .lostpass {
|
||||
position: unset;
|
||||
text-align: left;
|
||||
text-decoration-line: underline;
|
||||
text-decoration-color: #1e88e5;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user