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

« back to all changes in this revision

Viewing changes to mod/lesson/report.php

  • Committer: Package Import Robot
  • Author(s): Tomasz Muras
  • Date: 2012-11-15 21:50:13 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20121115215013-hmzkwz3v5hvm2a0a
Tags: 2.2.6.dfsg-1
New upstream version: 2.2.6 (Build: 20121112)

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
    if (has_capability('mod/lesson:edit', $context)) {
315
315
        $checklinks  = '<a href="javascript: checkall();">'.get_string('selectall').'</a> / ';
316
316
        $checklinks .= '<a href="javascript: checknone();">'.get_string('deselectall').'</a>';
 
317
        $checklinks .= html_writer::label('action', 'menuaction', false, array('class' => 'accesshide'));
317
318
        $checklinks .= html_writer::select(array('delete' => get_string('deleteselected')), 'action', 0, array(''=>'choosedots'), array('id'=>'actionid'));
318
319
        $PAGE->requires->js_init_call('M.util.init_select_autosubmit', array('theform', 'actionid', ''));
319
320
        echo $OUTPUT->box($checklinks, 'center');