34                parent::__construct($a_title, $a_postvar);
 
   46                $this->value = $a_value;
 
   66                $this->retype = $a_val;
 
   86                $this->retypevalue = $a_retypevalue;
 
   96                return $this->retypevalue;
 
  106                $this->maxlength = $a_maxlength;
 
  126                $this->size = $a_size;
 
  136                $this->preselection = $a_val;
 
  177                $this->validateauthpost = $a_validateauthpost;
 
  197                $this->requiredonauth = $a_requiredonauth;
 
  217                $this->skip_syntax_check = $a_val;
 
  227                return $this->skip_syntax_check;
 
  237                $this->autocomplete_disabled = (bool)$a_value;
 
  263                        $this->
setAlert($lng->txt(
"msg_input_is_required"));
 
  275                                $this->
setAlert($lng->txt(
"form_password_required_for_auth"));
 
  284                                $this->
setAlert($lng->txt(
"form_password_not_allowed_for_auth"));
 
  292                        $this->
setAlert($lng->txt(
"passwd_not_match"));
 
  300                        if($custom_error != 
'') $this->
setAlert($custom_error);
 
  301                        else $this->
setAlert($lng->txt(
"passwd_invalid"));
 
  316                $ptpl = 
new ilTemplate(
"tpl.prop_password.html", 
true, 
true, 
"Services/Form");
 
  322                                $ptpl->setCurrentBlock(
"retype");
 
  323                                $ptpl->setVariable(
"RSIZE", $this->
getSize());
 
  324                                $ptpl->setVariable(
"RID", $this->
getFieldId());
 
  325                                $ptpl->setVariable(
"RMAXLENGTH", $this->
getMaxLength());
 
  326                                $ptpl->setVariable(
"RPOST_VAR", $this->
getPostVar());
 
  330                                        $ptpl->setVariable(
"RAUTOCOMPLETE", 
"autocomplete=\"off\"");
 
  341                                        $ptpl->setVariable(
"RDISABLED",
 
  342                                                " disabled=\"disabled\"");
 
  344                                $ptpl->setVariable(
"TXT_RETYPE", 
$lng->txt(
"form_retype_password"));
 
  345                                $ptpl->parseCurrentBlock();
 
  350                                $ptpl->setCurrentBlock(
"prop_password_propval");
 
  352                                $ptpl->parseCurrentBlock();
 
  354                        $ptpl->setVariable(
"POST_VAR", $this->
getPostVar());
 
  355                        $ptpl->setVariable(
"ID", $this->
getFieldId());
 
  356                        $ptpl->setVariable(
"SIZE", $this->
getSize());
 
  360                                $ptpl->setVariable(
"DISABLED",
 
  361                                        " disabled=\"disabled\"");
 
  365                                $ptpl->setVariable(
"AUTOCOMPLETE", 
"autocomplete=\"off\"");
 
  372                        foreach ($passwd_list as $passwd)
 
  375                                $ptpl->setCurrentBlock(
"select_input");
 
  376                                $ptpl->setVariable(
"POST_VAR", $this->
getPostVar());
 
  377                                $ptpl->setVariable(
"OP_ID", $this->
getPostVar().
"_".$i);
 
  378                                $ptpl->setVariable(
"VAL_RADIO_OPTION", $passwd);
 
  379                                $ptpl->setVariable(
"TXT_RADIO_OPTION", $passwd);
 
  380                                $ptpl->parseCurrentBlock();
 
  396                $a_tpl->setCurrentBlock(
"prop_generic");
 
  397                $a_tpl->setVariable(
"PROP_GENERIC", $html);
 
  398                $a_tpl->parseCurrentBlock();
 
static _allowPasswordModificationByAuthMode($a_auth_mode)
Allow password modification.
_getAuthMode($a_auth_mode, $a_db_handler='')
special template class to simplify handling of ITX/PEAR
static isPassword($a_passwd, &$customError=null)
validates a password @access public
static generatePasswords($a_number)
Generate a number of passwords.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public