40 $this->formaction = $a_formaction;
60 $this->target = $a_target;
80 $this->multipart = $a_multipart;
120 $this->name = $a_name;
140 $this->keepopen = $a_keepopen;
160 $this->opentag = $a_open;
198 $tpl =
new ilTemplate(
"tpl.form.html",
true,
true,
"Services/Form");
204 $opentpl =
new ilTemplate(
'tpl.form_open.html',
true,
true,
"Services/Form");
207 $opentpl->setCurrentBlock(
"form_target");
208 $opentpl->setVariable(
"FORM_TARGET", $this->
getTarget());
209 $opentpl->parseCurrentBlock();
213 $opentpl->setCurrentBlock(
"form_name");
214 $opentpl->setVariable(
"FORM_NAME", $this->
getName());
215 $opentpl->parseCurrentBlock();
219 $opentpl->touchBlock(
"multipart");
242 $opentpl->setVariable(
"FORM_ACTION", $this->
getFormAction());
243 if ($this->
getId() !=
"")
245 $opentpl->setVariable(
"FORM_ID", $this->
getId());
247 $opentpl->parseCurrentBlock();
248 $tpl->setVariable(
'FORM_OPEN_TAG', $opentpl->get());
250 $tpl->setVariable(
"FORM_CONTENT", $content);
253 $tpl->setVariable(
"FORM_CLOSE_TAG",
"</form>");