3 require_once 
'Services/Table/classes/class.ilTable2GUI.php';
 
   17         $lng->loadLanguageModule(
'notification');
 
   24         $this->
setTitle($lng->txt(
'notification_options'));
 
   26         $this->
setId(
'notifications_settings');
 
   28         $this->
addColumn($lng->txt(
'notification_target'), 
'', 
'');
 
   31             $this->
addColumn($lng->txt(
'notc_' . $channel[
'title']), 
'', 
'20%', 
false, ($channel[
'config_type'] == 
'set_by_user' && 
false ? 
'optionSetByUser' : 
''));
 
   34         $this->
setRowTemplate(
'tpl.type_line.html', 
'Services/Notifications');
 
   48         $this->tpl->setVariable(
'NOTIFICATION_TARGET', $lng->txt(
'nott_' . $type[
'title']));
 
   50         foreach ($this->channels as $channeltype => $channel) {
 
   51             if (array_key_exists($type[
'name'], $this->userdata) && in_array($channeltype, $this->userdata[$type[
'name']]))
 
   52                     $this->tpl->touchBlock (
'notification_cell_checked');
 
   55                 $this->tpl->touchBlock (
'notification_cell_disabled');
 
   58             $this->tpl->setCurrentBlock(
'notification_cell');
 
   60             if ($this->adminMode && $channel[
'config_type'] == 
'set_by_user' && $type[
'config_type'] == 
'set_by_user')
 
   61                 $this->tpl->setVariable(
'NOTIFICATION_SET_BY_USER_CELL', 
'optionSetByUser');
 
   63             $this->tpl->setVariable(
'CHANNEL', $channeltype);
 
   64             $this->tpl->setVariable(
'TYPE', $type[
'name']);
 
   66             $this->tpl->parseCurrentBlock();