~ubuntu-branches/ubuntu/trusty/moodle/trusty

« back to all changes in this revision

Viewing changes to mod/lesson/index.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-01-21 13:40:52 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20140121134052-ym2qvsp2cd9vq0p6
Tags: 2.5.4-1
* New upstream release, fixing security issues:
  - MSA-14-0001 Config passwords visibility issue [CVE-2014-0008]
  - MSA-14-0002 Group constraints lacking in "login as" [CVE-2014-0009]
  - MSA-14-0003 CSRF vulnerability in profile fields [CVE-2014-0010]
* Move /var/lib/moodle directory into package.
* Revert back to bundled yui3. Unfortunately, version in Debian and
  of upstream are not compatible (closes: #735312).

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
/// Print the list of instances (your module will probably extend this)
67
67
 
68
68
$timenow = time();
69
 
$strsectionname  = get_string('sectionname', 'format_'.$course->format);
70
69
$strname  = get_string("name");
71
70
$strgrade  = get_string("grade");
72
71
$strdeadline  = get_string("deadline", "lesson");
74
73
$table = new html_table();
75
74
 
76
75
if ($usesections) {
 
76
    $strsectionname = get_string('sectionname', 'format_'.$course->format);
77
77
    $table->head  = array ($strsectionname, $strname, $strgrade, $strdeadline);
78
78
    $table->align = array ("center", "left", "center", "center");
79
79
} else {
116
116
    }
117
117
}
118
118
echo html_writer::table($table);
119
 
echo $OUTPUT->footer();
 
 
b'\\ No newline at end of file'
 
119
echo $OUTPUT->footer();