Diff of /contrib/plugins/grade/report/visual/tabs.php
Parent Directory
|
Revision Log
|
Patch
|
By dservos:
CONTRIB-497
*Added new visualization, Grade Distribution
*Fixed some minor bugs
*Made abstract visualization class for creating visualizations by making classes witch extend it.
*Made visual_settings.php witch takes a visualization class and truns it in to XML witch flex can read in.
*Made flex visualization application read in XML formated settings as well as tab formated data from moodle and combind them to make a custom visualization.
*Made flex visualization application read and use langue strings from moodle.
*Added printer firendly tab
TODO:
*Add more visualizations
*Refactor some of the flex/actionscript code
*More douctenation
*More UI functions for the flex application
|
| 37 |
get_string('myreportpreferences', 'grades')); |
get_string('myreportpreferences', 'grades')); |
| 38 |
} |
} |
| 39 |
|
|
| 40 |
|
/// A bit of a hack to make the printable tab open a new window. |
| 41 |
|
$row[] = new tabobject('printable', |
| 42 |
|
'#" onClick="javascript:window.open(\'' . $CFG->wwwroot. '/grade/report/visual/print.php?id=' . $courseid . '&visid=' . $visid . '\')', |
| 43 |
|
get_string('printable', 'gradereport_visual')); |
| 44 |
|
|
| 45 |
$tabs[] = $row; |
$tabs[] = $row; |
| 46 |
echo '<div class="gradedisplay">'; |
echo '<div class="gradedisplay">'; |
| 47 |
print_tabs($tabs, $currenttab); |
print_tabs($tabs, $currenttab); |
|
|
Legend:
| Removed from v.1.2 |
|
| changed lines |
| |
Added in v.1.3 |
|
|