7c08ef3653
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not. Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
19 lines
433 B
PHP
19 lines
433 B
PHP
<?php
|
|
// version $Id$
|
|
// Page for forbidden access from CAS
|
|
require("../../config.php");
|
|
|
|
if (!$site = get_site()) {
|
|
print_error('nosite', '', '', NULL, true);
|
|
}
|
|
|
|
$loginsite = get_string("loginsite");
|
|
$errormsg = get_string("auth_cas_invalidcaslogin", "auth");
|
|
|
|
print_header("$site->fullname: $loginsite", $site->fullname, $loginsite);
|
|
include("forbidden.html");
|
|
print_footer();
|
|
exit;
|
|
?>
|
|
|