Merge branch 'MDL-36948-master' of git://github.com/FMCorz/moodle
authorDan Poltawski <dan@moodle.com>
Mon, 3 Dec 2012 03:59:01 +0000 (11:59 +0800)
committerDan Poltawski <dan@moodle.com>
Mon, 3 Dec 2012 03:59:01 +0000 (11:59 +0800)
admin/renderer.php
pix/i/reload.png [new file with mode: 0644]
pix/i/reload.svg [new file with mode: 0644]

index 5767d7f..8d49636 100644 (file)
@@ -691,7 +691,7 @@ class core_admin_renderer extends plugin_renderer_base {
     function upgrade_reload($url) {
         return html_writer::empty_tag('br') .
                 html_writer::tag('div',
-                    html_writer::link($url, $this->pix_icon('i/reload', '') .
+                    html_writer::link($url, $this->pix_icon('i/reload', '', '', array('class' => 'icon icon-pre')) .
                             get_string('reload'), array('title' => get_string('reload'))),
                 array('class' => 'continuebutton')) . html_writer::empty_tag('br');
     }
diff --git a/pix/i/reload.png b/pix/i/reload.png
new file mode 100644 (file)
index 0000000..9c849d1
Binary files /dev/null and b/pix/i/reload.png differ
diff --git a/pix/i/reload.svg b/pix/i/reload.svg
new file mode 100644 (file)
index 0000000..6bf89c5
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In  -->\r
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]>\r
+<svg version="1.1"\r
+        xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"\r
+        x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16" style="overflow:visible;enable-background:new 0 0 16 16;"\r
+        xml:space="preserve">\r
+<defs>\r
+</defs>\r
+<path style="fill:#999999;" d="M7.9,16c4,0,7.4-3,7.8-7h-3c-0.5,2-2.5,4-4.9,4c-2.8,0-5-2.2-5-5c0-2.8,2.2-5,5-5c1.1,0,2.1,0,3,1h-1\r
+       C9.3,4,9,4.5,9,5.1v1C9,6.6,9.3,7,9.8,7h4h1C15.4,7,16,6.6,16,6.1v-1v-4C16,0.5,15.4,0,14.8,0h-1C13.3,0,13,0.5,13,1.1v0.9\r
+       c-1-1.1-3.1-1.8-5-1.8C3.6,0.2,0,3.7,0,8.1C0,12.4,3.5,16,7.9,16z"/>\r
+</svg>\r