205 $DIC[
'ilHelp']->setScreenIdComponent(
"mail");
206 $DIC[
'ilMainMenu']->setActive(
"mail");
208 $this->tpl->getStandardTemplate();
215 $DIC->tabs()->addTarget(
'fold', $this->ctrl->getLinkTargetByClass(
'ilmailfoldergui'));
216 $this->ctrl->setParameterByClass(
'ilmailformgui',
'type',
'new');
217 $DIC->tabs()->addTarget(
'compose', $this->ctrl->getLinkTargetByClass(
'ilmailformgui'));
218 $this->ctrl->clearParametersByClass(
'ilmailformgui');
219 $DIC->tabs()->addTarget(
'mail_addressbook', $this->ctrl->getLinkTargetByClass(
'ilcontactgui'));
220 $DIC->tabs()->addTarget(
'options', $this->ctrl->getLinkTargetByClass(
'ilmailoptionsgui'));
222 switch ($this->forwardClass) {
223 case 'ilmailformgui':
224 $DIC->tabs()->setTabActive(
'compose');
228 $DIC->tabs()->setTabActive(
'mail_addressbook');
231 case 'ilmailoptionsgui':
232 $DIC->tabs()->setTabActive(
'options');
235 case 'ilmailfoldergui':
237 $DIC->tabs()->setTabActive(
'fold');
241 if (isset(
$_GET[
'message_sent'])) {
242 $DIC->tabs()->setTabActive(
'fold');
246 $tree_state =
'tree';
248 $tree_state =
'flat';
252 $this->ctrl->setParameter($this,
'mail_id', (
int)
$_GET[
'mail_id']);
253 $this->ctrl->setParameter($this,
'type',
'redirect_to_read');
256 $this->ctrl->setParameter($this,
'viewmode', $tree_state);
257 $this->tpl->setTreeFlatIcon($this->ctrl->getLinkTarget($this), $tree_state);
259 $this->ctrl->clearParameters($this);
260 $this->tpl->setCurrentBlock(
"tree_icons");
261 $this->tpl->parseCurrentBlock();
isMailDetailCommand($cmd)
static get($a_var)
Get a value.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static infoPanel($a_keep=true)