forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.html
41 lines (32 loc) · 821 Bytes
/
footer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php print_container_end(); ?><!-- end container Content -->
<!-- START OF FOOTER -->
<?php
global $CFG, $COURSE;
if (function_exists('is_in_popup')) {
$inpopup = is_in_popup();
} else {
$inpopup = false;
}
if (!$inpopup) {
print_container_start(false, '', 'footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
echo '</p>';
echo $loggedinas;
echo $homelink;
$useridarray = array(2 // MD
);
if (!empty($performanceinfo) && isloggedin() && in_array($USER->id, $useridarray)) {
echo $performanceinfo;
}
print_container_end();
} // end if inpopup
?>
</div> <!-- end page div -->
<script type="text/javascript">
/* <![CDATA[ */
script.init();
/* ]]> */
</script>
</body>
</html>