assign('login', $login) ?> assign('form_start', form_tag(st_secure_url_for('stUser/createPassword'), array('class' => 'st_form_ver6'))) ?> assign('error_email', form_error('user[email]', array('suffix'=>'', 'prefix'=>'', 'class'=>'st_error'))) ?> assign('label_email', label_for('st_form-user-email',__('E-mail (login)'))) ?> assign('input_email', input_tag('user[email]', $login, array('id'=>'st_form-user-email','disabled'=>'disabled','class'=>form_has_error('user{email}') ? 'st_form-error' : ''))) ?> assign('input_hidden_email', input_hidden_tag('user[email]', $login)) ?> assign('error_password1', form_error('user[password1]', array('suffix'=>'', 'prefix'=>'', 'class'=>'st_error'))) ?> assign('label_password1', label_for('st_form-user-password1',__('Hasło'))) ?> assign('input_password1', input_password_tag('user[password1]', $sf_params->get('user[password1]'), array('id'=>'st_form-user-password1','class'=>form_has_error('user{password1}') ? 'st_form-error' : ''))) ?> assign('error_password2', form_error('user[password2]', array('suffix'=>'', 'prefix'=>'', 'class'=>'st_error'))) ?> assign('label_password2', label_for('st_form-user-password2',__('Potwierdź hasło'))) ?> assign('input_password2', input_password_tag('user[password2]', $sf_params->get('user[password2]'), array('id'=>'st_form-user-password2','class'=>form_has_error('user{password2}') ? 'st_form-error' : ''))) ?> get('captcha_on', stConfig::INT)==1 && sfContext::getInstance()->getUser()->getAttribute('captcha_off')!=1): ?> assign('captcha_mod', $config->get('captcha_mod')); ?> assign('captcha_on', $config->get('captcha_on', stConfig::INT)==1) ?> assign('error_captcha', form_error('captcha', array('suffix'=>'', 'prefix'=>'', 'class'=>'st_error'))) ?> assign('get_captcha', get_captcha('270')) ?> assign('label_captcha', label_for('captcha_img',__('Cyfry z obrazka'))) ?> assign('input_captcha', input_tag('captcha', '', array('id'=>'captcha_img','class'=>form_has_error('captcha') ? 'st_form-error' : ''))) ?> get('captcha_mod')=="recaptcha3") { $smarty->assign('re_captcha_key', $config->get('recaptcha_key')); $smarty->assign('re_captcha_badge_position', $config->get('recaptcha_badge_position')); $smarty->assign('re_captcha_badge_margin', $config->get('recaptcha_badge_margin')); $smarty->assign('badscore', sfContext::getInstance()->getUser()->getAttribute('badscore')); } ?> assign('error_email', $sf_request->getError('user{email}')); $smarty->assign('error_password1', $sf_request->getError('user{password1}')); $smarty->assign('error_password2', $sf_request->getError('user{password2}')); $smarty->assign('error_captcha', $sf_request->getError('captcha')); ?> assign('error_privacy', form_error('user[privacy]', array('suffix'=>'', 'prefix'=>'', 'class'=>'st_error'))) ?> assign('checkbox_privacy', checkbox_tag('user[privacy]', 1, true, array('id'=>'st_form-user-privacy','class'=>form_has_error('user{privacy}') ? 'st_form-error' : ''))) ?> assignPartial('link_to_privacy', 'stUser', 'privacy'); ?> assign('register_submit', submit_tag(__('Zarejestruj'))) ?> assign('input_email', input_tag('user[email]', $login, array('id'=>'st_form-user-email','disabled'=>'disabled','class'=>'form-control'))); $smarty->assign('input_password1', input_password_tag('user[password1]', $sf_params->get('user[password1]'), array('id'=>'st_form-user-password1', 'autocomplete'=>'off' , 'placeholder'=>"* ".__('Hasło'), 'maxlength'=>'255', 'class'=>'form-control'))); $smarty->assign('input_password2', input_password_tag('user[password2]', $sf_params->get('user[password2]'), array('id'=>'st_form-user-password2', 'autocomplete'=>'off', 'placeholder'=>"* ".__('Potwierdź hasło'), 'maxlength'=>'255', 'class'=>'form-control'))); $smarty->assign('input_captcha', input_tag('captcha', '', array('id'=>'captcha_img', 'placeholder'=>"* ".__('Cyfry z obrazka'), 'maxlength'=>'255', 'class'=>'form-control'))); endif; ?> display('user_create_password.html') ?>