41 $this->value = $a_value;
61 $this->retype = $a_val;
81 $this->retypevalue = $a_retypevalue;
91 return $this->retypevalue;
101 $this->maxlength = $a_maxlength;
121 $this->size = $a_size;
131 $this->preselection = $a_val;
172 $this->validateauthpost = $a_validateauthpost;
192 $this->requiredonauth = $a_requiredonauth;
212 $this->skip_syntax_check = $a_val;
222 return $this->skip_syntax_check;
238 $this->
setAlert($lng->txt(
"msg_input_is_required"));
250 $this->
setAlert($lng->txt(
"form_password_required_for_auth"));
259 $this->
setAlert($lng->txt(
"form_password_not_allowed_for_auth"));
267 $this->
setAlert($lng->txt(
"passwd_not_match"));
275 if($custom_error !=
'') $this->
setAlert($custom_error);
276 else $this->
setAlert($lng->txt(
"passwd_invalid"));
291 $ptpl =
new ilTemplate(
"tpl.prop_password.html",
true,
true,
"Services/Form");
297 $ptpl->setCurrentBlock(
"retype");
298 $ptpl->setVariable(
"RSIZE", $this->
getSize());
299 $ptpl->setVariable(
"RID", $this->
getFieldId());
300 $ptpl->setVariable(
"RMAXLENGTH", $this->
getMaxLength());
301 $ptpl->setVariable(
"RPOST_VAR", $this->
getPostVar());
311 $ptpl->setVariable(
"RDISABLED",
312 " disabled=\"disabled\"");
314 $ptpl->setVariable(
"TXT_RETYPE", $lng->txt(
"form_retype_password"));
315 $ptpl->parseCurrentBlock();
320 $ptpl->setCurrentBlock(
"prop_password_propval");
322 $ptpl->parseCurrentBlock();
324 $ptpl->setVariable(
"POST_VAR", $this->
getPostVar());
325 $ptpl->setVariable(
"ID", $this->
getFieldId());
326 $ptpl->setVariable(
"SIZE", $this->
getSize());
330 $ptpl->setVariable(
"DISABLED",
331 " disabled=\"disabled\"");
338 foreach ($passwd_list as $passwd)
341 $ptpl->setCurrentBlock(
"select_input");
342 $ptpl->setVariable(
"POST_VAR", $this->
getPostVar());
343 $ptpl->setVariable(
"OP_ID", $this->
getPostVar().
"_".$i);
344 $ptpl->setVariable(
"VAL_RADIO_OPTION", $passwd);
345 $ptpl->setVariable(
"TXT_RADIO_OPTION", $passwd);
346 $ptpl->parseCurrentBlock();
350 $a_tpl->setCurrentBlock(
"prop_generic");
351 $a_tpl->setVariable(
"PROP_GENERIC" ,$ptpl->get());
352 $a_tpl->parseCurrentBlock();