~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to mod/choice/renderer.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
    public function display_publish_name_vertical($choices) {
124
124
        global $PAGE;
125
125
        $html ='';
126
 
        $html .= html_writer::tag('h2',format_string(get_string("responses", "choice")), array('class'=>'main'));
 
126
        $html .= html_writer::tag('h3',format_string(get_string("responses", "choice")));
127
127
 
128
128
        $attributes = array('method'=>'POST');
129
129
        $attributes['action'] = new moodle_url($PAGE->url);
364
364
        $truserpercentage = new html_table_row($rows['userpercentage']);
365
365
        $table->data = array($trgraph, $trusernumber, $truserpercentage);
366
366
 
367
 
        $header = html_writer::tag('h2',format_string(get_string("responses", "choice")));
 
367
        $header = html_writer::tag('h3',format_string(get_string("responses", "choice")));
368
368
        $html .= html_writer::tag('div', $header, array('class'=>'responseheader'));
369
369
        $html .= html_writer::tag('a', get_string('skipresultgraph', 'choice'), array('href'=>'#skipresultgraph', 'class'=>'skip-block'));
370
370
        $html .= html_writer::tag('div', html_writer::table($table), array('class'=>'response'));
460
460
        $table->data = $rows;
461
461
 
462
462
        $html = '';
463
 
        $header = html_writer::tag('h2',format_string(get_string("responses", "choice")));
 
463
        $header = html_writer::tag('h3',format_string(get_string("responses", "choice")));
464
464
        $html .= html_writer::tag('div', $header, array('class'=>'responseheader'));
465
465
        $html .= html_writer::table($table);
466
466