48 $this->validationRegexp =
"";
58 $this->value = $a_value;
78 $this->validationRegexp = $a_value;
98 $this->maxlength = $a_maxlength;
118 $this->size = $a_size;
150 $this->input_type = $a_type;
160 return $this->input_type;
176 $this->
setAlert($lng->txt(
"msg_input_is_required"));
184 $this->
setAlert($lng->txt(
"msg_wrong_format"));
201 $a_tpl->setCurrentBlock(
"prop_text_propval");
203 $a_tpl->parseCurrentBlock();
205 $a_tpl->setCurrentBlock(
"prop_text");
209 $a_tpl->setVariable(
'PROP_INPUT_TYPE',
'password');
212 $a_tpl->setVariable(
'PROP_INPUT_TYPE',
'hidden');
216 $a_tpl->setVariable(
'PROP_INPUT_TYPE',
'text');
218 $a_tpl->setVariable(
"POST_VAR", $this->
getPostVar());
219 $a_tpl->setVariable(
"ID", $this->
getFieldId());
220 $a_tpl->setVariable(
"SIZE", $this->
getSize());
221 $a_tpl->setVariable(
"MAXLENGTH", $this->
getMaxLength());
224 $a_tpl->setVariable(
"DISABLED",
225 " disabled=\"disabled\"");
227 $a_tpl->parseCurrentBlock();