'; foreach ($topics as $i => $topic){ echo('
  • '.$topics[$i].'
  • '); } echo ''; print_simple_box_end(); // End of page. close_window_button(); global $CFG; echo '

    '. get_string('helpindex') .'

    '; $CFG->docroot = ''; // We don't want a doc link here print_footer('none'); die; /** * A function to return a simple link to a help page. We don't want a popup here * since these links are displayed in a pop up already. * * @param string $page * @param string $linktext * @param string $module * @return string */ function helplink($page, $linktext='', $module='moodle'){ global $CFG; return "wwwroot/help.php?module=$module&file=$page.html\">$linktext"; } ?>