-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblock_coursereserves.php
More file actions
25 lines (20 loc) · 914 Bytes
/
block_coursereserves.php
File metadata and controls
25 lines (20 loc) · 914 Bytes
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
<?php
class block_coursereserves extends block_base {
public function init() {
$this->title = get_string('coursereserves', 'block_coursereserves');
}
public function get_content() {
if ($this->content !== null) {
return $this->content;
}
$this->content = new stdClass();
$html = '<p>
<span style="font-size: large;"><a href="https://ares.up.edu/ares/" target="_blank">Course Reserves</a></span>
</p>
<p>
<span style="font-size: small;">Login with your UP network username and password to see items on reserve for your courses.</span>
</p>';
$this->content->text = $html;
return $this->content;
}
}