12 include_once
'Services/Form/classes/class.ilFormPropertyGUI.php';
32 $this->lng = $DIC->language();
35 parent::__construct($this->lng->txt(
'attachments'));
45 $this->items[] = $label;
50 $tpl =
new ilTemplate(
'tpl.mail_new_attachments.html',
true,
true,
'Services/Mail');
52 foreach ($this->items as $item) {
53 $tpl->setCurrentBlock(
'attachment_list_item');
54 $tpl->setVariable(
'ATTACHMENT_LABEL', $item);
55 $tpl->parseCurrentBlock();
57 $tpl->setVariable(
'ATTACHMENT_BUTTON_LABEL', $this->buttonLabel);
59 $a_tpl->setCurrentBlock(
"prop_generic");
60 $a_tpl->setVariable(
"PROP_GENERIC",
$tpl->get());
61 $a_tpl->parseCurrentBlock();
special template class to simplify handling of ITX/PEAR
Create styles array
The data for the language used.