MDL-29474 update more of the admin code to use the admin renderer.

This commit is contained in:
Tim Hunt
2011-10-20 11:13:35 +01:00
parent 36ca62cab7
commit da2fdc3f34
3 changed files with 50 additions and 46 deletions
+11
View File
@@ -354,4 +354,15 @@ class core_admin_renderer extends plugin_renderer_base {
return html_writer::table($table);
}
/**
* @global object
*/
function upgrade_reload($url) {
return html_writer::empty_tag('br') .
html_writer::tag('div',
html_writer::link($url, $this->pix_icon('i/reload', '') .
get_string('reload'), array('title' => get_string('reload'))),
array('class' => 'continuebutton')) . html_writer::empty_tag('br');
}
}