You are here

course.theme.inc in Course 8.3

File

includes/course.theme.inc
View source
<?php

/**
 * Theme the course outline.
 */
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;
}

Functions

Namesort descending Description
theme_course_outline Theme the course outline.