mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
A very quick and dirty try .... Williams? What do you think?
This commit is contained in:
parent
5fba04fba0
commit
77362fa9ce
@ -9,9 +9,19 @@
|
||||
|
||||
if (!empty($courseid)) {
|
||||
require_login($courseid);
|
||||
$course = get_record("course", "id", $courseid);
|
||||
|
||||
$strglossaries = get_string("modulenameplural", "glossary");
|
||||
$strsearch = get_string("search");
|
||||
|
||||
$CFG->framename = "newwindow";
|
||||
print_header(strip_tags("$course->shortname: $glossary->name"), "$course->fullname",
|
||||
"<a target=\"newwindow\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</a> -> $strglossaries -> $strsearch", "", "", true, " ", " ");
|
||||
|
||||
} else {
|
||||
print_header(); // Needs to be something here to allow linking back to the whole glossary
|
||||
}
|
||||
|
||||
print_header(); // Needs to be something here to allow linking back to the whole glossary
|
||||
|
||||
if ( $eid ) {
|
||||
$entries = get_records_sql("select e.* from {$CFG->prefix}glossary_entries e, {$CFG->prefix}glossary g".
|
||||
|
Loading…
x
Reference in New Issue
Block a user