[moodle] / contrib / plugins / grade / report / stats / tabs.php Repository:

Diff of /contrib/plugins/grade/report/stats/tabs.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Thu Jun 19 15:29:54 2008 WST revision 1.4, Fri Jun 20 17:28:35 2008 WST

By dservos:

CONTRIB-496 Made the printable tab open in a new window.

# Line 41  Line 41 
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

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.7