Commit 75f77523 authored by Naomi Guyer's avatar Naomi Guyer Committed by Aaron Wells

BUG: change get_url to get_image_url (bootstrap)

Bug 1465107: Use Bootstrap CSS Framework

Change-Id: I6b2267104cde7fd7741c42dbae19abbb9176b543
parent a4b1ad67
......@@ -60,7 +60,7 @@ $calendar = array(
'tabindex' => false,
'type' => 'calendar',
'title' => get_string('date'),
'imagefile' => $THEME->get_url('images/calendar.png'),
'imagefile' => $THEME->get_image_url('calendar'),
'defaultvalue' => strtotime($search->loggedindate),
'caloptions' => array(
'showsTime' => true,
......
......@@ -324,7 +324,7 @@ function render_license($artefact) {
function license_icon_url($icon) {
global $THEME;
if (preg_match('/^license:([a-z_-]+\.png)$/', $icon, $m)) {
$icon = $THEME->get_url('images/license/' . $m[1]);
$icon = $THEME->get_image_url('license/' . $m[1]);
}
return $icon;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment