Register from - popravljena napaka pri E-mailu

This commit is contained in:
Nejc Kovač 2022-06-21 10:34:24 +02:00
parent 24b5e2410f
commit a268fe710f
2 changed files with 22 additions and 6 deletions

View File

@ -621,17 +621,17 @@ class DisplayController{
} }
echo '<form name="register" id="register_form" class="register_form" action="'.$site_url.'frontend/api/api.php?action=register" method="post">'; echo '<form name="register" id="register_form" class="register_form register_window" action="'.$site_url.'frontend/api/api.php?action=register" method="post">';
echo ' <span class="subtitle">'.$lang['cms_register_user_text'].'</span>'; // echo ' <span class="subtitle">'.$lang['cms_register_user_text'].'</span>';
// Email // Email
echo ' <label for="email" '.(isset($error['email']) ? 'class="red"' : '').''.$lang['email'].':</label>'; 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="'.$lang['email'].'" type="text">';
// Ime // Ime
echo ' <label for="ime" '.(isset($error['ime']) ? 'class="red"' : '').'>'.$lang['cms_register_user_nickname'].':</label>'; 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="'.$lang['cms_register_user_nickname'].'" type="text">';
// RECAPTCHA // RECAPTCHA
if(AppSettings::getInstance()->getSetting('google-secret_captcha') !== false && AppSettings::getInstance()->getSetting('google-recaptcha_sitekey') !== false) if(AppSettings::getInstance()->getSetting('google-secret_captcha') !== false && AppSettings::getInstance()->getSetting('google-recaptcha_sitekey') !== false)

View File

@ -906,7 +906,7 @@ body.landing_page #main {
} }
.landing_page_content { .landing_page_content {
font-family: "Source Sans Pro"; font-family: "Source Sans Pro", "sans-serif";
text-align: center; text-align: center;
color: #333333; color: #333333;
@ -924,8 +924,9 @@ body.landing_page #main .app_subtitle {
text-shadow: unset; text-shadow: unset;
color: #333333; color: #333333;
font-weight: 400px; font-weight: 400;
line-height: 26px; line-height: 26px;
font-size: 18px;
margin-top: 25px; margin-top: 25px;
margin-bottom: 24px; margin-bottom: 24px;
@ -948,6 +949,12 @@ body.landing_page #main .landing_page_window .tabs .tab {
background-color: unset; background-color: unset;
color: #777777; color: #777777;
height: 39px;
display: flex;
justify-content: center;
align-items: center;
} }
body.landing_page #main .landing_page_window .tabs .tab.active { body.landing_page #main .landing_page_window .tabs .tab.active {
@ -956,10 +963,12 @@ body.landing_page #main .landing_page_window .tabs .tab.active {
body.landing_page #main .landing_page_window label { body.landing_page #main .landing_page_window label {
text-align: left; text-align: left;
font-size: 16px;
margin: 15px 0px 4px 0px; margin: 15px 0px 4px 0px;
} }
.landing_page_window input[type="text"] { .landing_page_window input[type="text"] {
padding: 0px; padding: 0px;
height: 38px; height: 38px;
@ -996,3 +1005,10 @@ body.landing_page #main .landing_page_window #login_holder .login_form .lostpass
line-height: 20px; line-height: 20px;
} }
/* REGISTRACIJA */
body.landing_page #main .landing_page_window .register_window label{
}