Diff of /contrib/plugins/grade/report/stats/tabs.php
Parent Directory
|
Revision Log
|
Patch
|
By dservos:
CONTRIB-496
Made the printable tab open in a new window.
|
| 41 |
get_string('myreportpreferences', 'grades')); |
get_string('myreportpreferences', 'grades')); |
| 42 |
} |
} |
| 43 |
|
|
| 44 |
|
/// A bit of a hack to make the printable tab open a new window. |
| 45 |
$row[] = new tabobject('printable', |
$row[] = new tabobject('printable', |
| 46 |
$CFG->wwwroot.'/grade/report/stats/print.php?id='.$courseid, |
'#" onClick="javascript:window.open(\'' . $CFG->wwwroot. '/grade/report/stats/print.php?id=' . $courseid . '\')', |
| 47 |
get_string('printable', 'gradereport_stats')); |
get_string('printable', 'gradereport_stats')); |
| 48 |
|
|
| 49 |
$tabs[] = $row; |
$tabs[] = $row; |
|
|
Legend:
| Removed from v.1.3 |
|
| changed lines |
| |
Added in v.1.4 |
|
|