box_start();
echo $OUTPUT->heading(get_string('editorhelptopics'));
echo '
';
foreach ($topics as $i => $topic){
echo('- '.$topics[$i].'
');
}
echo '
';
echo $OUTPUT->box_end();
// End of page.
echo $OUTPUT->close_window_button();
global $CFG;
echo ''. get_string('helpindex') .'
';
$CFG->docroot = ''; // We don't want a doc link here
echo $OUTPUT->footer();
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";
}
?>