You are here

function theme_course_outline in Course 8.2

Same name and namespace in other branches
  1. 8.3 includes/course.theme.inc \theme_course_outline()
  2. 7.2 includes/course.theme.inc \theme_course_outline()
  3. 7 includes/course.theme.inc \theme_course_outline()
  4. 3.x includes/course.theme.inc \theme_course_outline()

Theme the course outline.

File

includes/course.theme.inc, line 6

Code

function theme_course_outline($variables) {
  $output = '';
  $output .= '<div class="course-outline">';
  $output .= '<span class="trigger"></span>';
  $output .= '<h4 class="course-title">' . filter_xss($variables['node']->title) . '</h4>';
  $output .= theme('item_list', array(
    'title' => '',
    'items' => $variables['items'],
  ));
  $output .= '</div>';
  return $output;
}