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
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">';
// 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="'.$lang['cms_register_user_nickname'].'" type="text">';
// RECAPTCHA
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 {
font-family: "Source Sans Pro";
font-family: "Source Sans Pro", "sans-serif";
text-align: center;
color: #333333;
@ -924,8 +924,9 @@ body.landing_page #main .app_subtitle {
text-shadow: unset;
color: #333333;
font-weight: 400px;
font-weight: 400;
line-height: 26px;
font-size: 18px;
margin-top: 25px;
margin-bottom: 24px;
@ -948,6 +949,12 @@ body.landing_page #main .landing_page_window .tabs .tab {
background-color: unset;
color: #777777;
height: 39px;
display: flex;
justify-content: center;
align-items: center;
}
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 {
text-align: left;
font-size: 16px;
margin: 15px 0px 4px 0px;
}
.landing_page_window input[type="text"] {
padding: 0px;
height: 38px;
@ -995,4 +1004,11 @@ body.landing_page #main .landing_page_window #login_holder .login_form .lostpass
font-size: 16px;
line-height: 20px;
}
/* REGISTRACIJA */
body.landing_page #main .landing_page_window .register_window label{
}