|
|
|
@ -1011,7 +1011,7 @@ if ( is_array($courses_tree) ) { |
|
|
|
|
if (count($session['courses'])<1) { continue; } |
|
|
|
|
echo '<ul class="session_box">'; |
|
|
|
|
echo '<li class="session_box_title" id="session_'.$session['details']['id'].'" >'; |
|
|
|
|
echo Display::return_icon('div_show.gif', get_lang('Expand'), array('align' => 'absmiddle', 'id' => 'session_img_'.$session['details']['id'])) . ' '; |
|
|
|
|
echo Display::return_icon('div_hide.gif', get_lang('Expand').'/'.get_lang('Hide'), array('align' => 'absmiddle', 'id' => 'session_img_'.$session['details']['id'])) . ' '; |
|
|
|
|
$s = get_session_title_box($session['details']['id']); |
|
|
|
|
echo get_lang('SessionName') . ': ' . $s['title']. ' - '.(!empty($s['coach'])?$s['coach'].' - ':'').$s['dates']; |
|
|
|
|
echo '</li>'; |
|
|
|
@ -1027,14 +1027,14 @@ if ( is_array($courses_tree) ) { |
|
|
|
|
// all sessions included in |
|
|
|
|
if (!empty($category['details'])) { |
|
|
|
|
echo '<div class="session_category" id="session_category_'.$category['details']['id'].'" style="background-color:#fbfbfb; border:1px solid #dddddd; padding:5px; margin-top: 10px;">'; |
|
|
|
|
echo '<div class="session_category_title_box" id="session_category_title_box_'.$category['details']['id'].'" style="font-size:larger; color: #555555;">'. Display::return_icon('div_show.gif', get_lang('Expand'), array('align' => 'absmiddle', 'id' => 'category_img_'.$category['details']['id'])) . ' ' . get_lang('SessionCategory') . ': ' . $category['details']['name'].' - '.get_lang('From').' '.$category['details']['date_start'].' '.get_lang('Until').' '.$category['details']['date_end'].'</div>'; |
|
|
|
|
echo '<div class="session_category_title_box" id="session_category_title_box_'.$category['details']['id'].'" style="font-size:larger; color: #555555;">'. Display::return_icon('div_hide.gif', get_lang('Expand').'/'.get_lang('Hide'), array('align' => 'absmiddle', 'id' => 'category_img_'.$category['details']['id'])) . ' ' . get_lang('SessionCategory') . ': ' . $category['details']['name'].' - '.get_lang('From').' '.$category['details']['date_start'].' '.get_lang('Until').' '.$category['details']['date_end'].'</div>'; |
|
|
|
|
|
|
|
|
|
foreach ($category['sessions'] as $session) { |
|
|
|
|
//don't show empty sessions |
|
|
|
|
if (count($session['courses'])<1) { continue; } |
|
|
|
|
echo '<ul class="session_box" id="session_'.$session['details']['id'].'">'; |
|
|
|
|
echo '<li class="session_box_title" id="session_'.$session['details']['id'].'">'; |
|
|
|
|
echo Display::return_icon('div_show.gif', get_lang('Expand'), array('align' => 'absmiddle', 'id' => 'session_img_'.$session['details']['id'])) . ' '; |
|
|
|
|
echo Display::return_icon('div_hide.gif', get_lang('Expand').'/'.get_lang('Hide'), array('align' => 'absmiddle', 'id' => 'session_img_'.$session['details']['id'])) . ' '; |
|
|
|
|
$s = get_session_title_box($session['details']['id']); |
|
|
|
|
echo get_lang('SessionName') . ': ' . $s['title']. ' - '.(!empty($s['coach'])?$s['coach'].' - ':'').$s['dates']; |
|
|
|
|
echo '</li>'; |
|
|
|
|