24 include_once(
"./Services/Container/classes/class.ilContainerContentGUI.php");
 
   64                 if(isset(
$_SESSION[
'sess'][
'expanded'][$a_session_id]))
 
   66                         return $_SESSION[
'sess'][
'expanded'][$a_session_id];
 
   68                 if(in_array($a_session_id,$this->force_details))
 
   90                 include_once 
'Services/Object/classes/class.ilObjectListGUIFactory.php';
 
   93                         "Services/Container");
 
  115                 global $ilAccess, 
$lng;
 
  123                 if ($output_html != 
"")
 
  129                 $done_sessions = 
false;
 
  131                 if (is_array($this->items[
"sess"]))
 
  133                         $this->items[
'sess'] = 
ilUtil::sortArray($this->items[
'sess'],
'start',
'ASC',
true,
true);
 
  136                         $item_html = array();
 
  138                         foreach($this->items[
"sess"] as $item_data)
 
  140                                 if ($this->rendered_items[$item_data[
"child"]] !== 
true)
 
  142                                         $html = $this->
renderItem($item_data,$position++,
true);
 
  145                                                 $item_html[] = $html;
 
  151                         if (count($item_html) > 0)
 
  154                                 foreach($item_html as $h)
 
  158                                 $done_sessions = 
true;
 
  165                         #$this->addFooterRow($tpl); 
  168                 if (is_array($this->items[
"_all"]))
 
  171                         $item_html = array();
 
  173                         foreach($this->items[
"_all"] as $item_data)
 
  175                                 if ($this->rendered_items[$item_data[
"child"]] !== 
true)
 
  177                                         if ($item_data[
"type"] == 
"sess")
 
  181                                         $html = $this->
renderItem($item_data,$position++,
true);
 
  184                                                 $item_html[] = $html;
 
  190                         if (count($item_html) > 0)
 
  193                                 foreach($item_html as $h)
 
  200                 $output_html .= 
$tpl->get();
 
  202                 $a_tpl->setVariable(
"CONTAINER_PAGE_CONTENT", $output_html);
 
  215                 $tpl->setCurrentBlock(
'details_img');
 
  217                 $append = $this->details_level == 1 ? 
'off' : 
'';
 
  218                 $tpl->setCurrentBlock(
'details_img');
 
  220                 $tpl->setVariable(
'DETAILS_ALT',$this->lng->txt(
'details').
' 1');
 
  221                 $tpl->setVariable(
'DETAILS_LINK',
'repository.php?ref_id='.$this->
getContainerObject()->getRefId().
'&details_level=1');
 
  222                 $tpl->parseCurrentBlock();
 
  224                 $append = $this->details_level == 2 ? 
'off' : 
'';
 
  225                 $tpl->setCurrentBlock(
'details_img');
 
  227                 $tpl->setVariable(
'DETAILS_ALT',$this->lng->txt(
'details').
' 2');
 
  228                 $tpl->setVariable(
'DETAILS_LINK',
'repository.php?ref_id='.$this->
getContainerObject()->getRefId().
'&details_level=2');
 
  229                 $tpl->parseCurrentBlock();
 
  231                 $append = $this->details_level == 3 ? 
'off' : 
'';
 
  232                 $tpl->setCurrentBlock(
'details_img');
 
  234                 $tpl->setVariable(
'DETAILS_ALT',$this->lng->txt(
'details').
' 3');
 
  235                 $tpl->setVariable(
'DETAILS_LINK',
'repository.php?ref_id='.$this->
getContainerObject()->getRefId().
'&details_level=3');
 
  236                 $tpl->parseCurrentBlock();
 
  238                 $tpl->setCurrentBlock(
'container_details_row');
 
  239                 $tpl->setVariable(
'TXT_DETAILS',$this->lng->txt(
'details'));
 
  240                 $tpl->parseCurrentBlock();
 
  256                         if(
$_GET[
'expand'] > 0)
 
  266                 include_once(
'./Modules/Session/classes/class.ilSessionAppointment.php');
 
  269                         $this->force_details = $session;
 
  273                         $this->force_details = array($session);