121 {
122 if(!isset(
$_POST[
'filename']) || !is_array(
$_POST[
'filename']) || !
$_POST[
'filename'])
123 {
125 $this->showAttachments();
126 return;
127 }
128
129 $this->tpl->setTitle($this->lng->txt('mail'));
130
131 require_once 'Services/Utilities/classes/class.ilConfirmationGUI.php';
133 $confirmation->setFormAction($this->ctrl->getFormAction($this, 'confirmDeleteAttachments'));
134 $confirmation->setConfirm($this->lng->txt('confirm'), 'confirmDeleteAttachments');
135 $confirmation->setCancel($this->lng->txt('cancel'), 'showAttachments');
136 $confirmation->setHeaderText($this->lng->txt('mail_sure_delete_file'));
137
139 {
141 }
142
143 $this->tpl->setContent($confirmation->getHtml());
144 $this->tpl->show();
145 }
Confirmation screen class.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled