31 parent::__construct($a_title, $a_postvar);
41 $this->value = $a_value;
71 $this->checkunused = $a_user_id;
91 $this->autocomplete_disabled = (bool)$a_value;
116 $this->
setAlert($lng->txt(
"msg_input_is_required"));
122 $this->
setAlert($lng->txt(
"login_invalid"));
129 $this->
setAlert($lng->txt(
"login_exists"));
145 $a_tpl->setCurrentBlock(
"prop_login");
146 $a_tpl->setVariable(
"POST_VAR", $this->
getPostVar());
147 $a_tpl->setVariable(
"ID", $this->
getFieldId());
149 $a_tpl->setVariable(
"SIZE", $this->
size);
150 $a_tpl->setVariable(
"MAXLENGTH", $this->maxlength);
153 $a_tpl->setVariable(
"DISABLED",
154 " disabled=\"disabled\"");
158 $a_tpl->setVariable(
"AUTOCOMPLETE",
"autocomplete=\"off\"");
162 $a_tpl->setVariable(
"REQUIRED",
"required=\"required\"");
164 $a_tpl->parseCurrentBlock();
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
static _loginExists($a_login, $a_user_id=0)
check if a login name already exists You may exclude a user from the check by giving his user id as 2...
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled