Commit 0ab246fc authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Moved the calendar.gif image into the images directory

parent 26e130f8
......@@ -920,7 +920,7 @@ function pieform_validate(Pieform $form, $values) {
function pieform_element_calendar_configure($element) {
$element['jsroot'] = '/js/jscalendar/';
$element['themefile'] = theme_get_url('style/calendar.css');
$element['imagefile'] = theme_get_url('calendar.gif');
$element['imagefile'] = theme_get_url('images/calendar.gif');
$element['language'] = 'en'; // @todo: language file names for the js calendar may need to be changed
return $element;
}
......
......@@ -114,7 +114,7 @@ function makeCalendarLink(item, type) {
'onclick': 'return false;', // @todo do with mochikit connect
'class' : 'pieform-calendar-toggle'},
IMG({
'src': '{{$THEMEURL}}calendar.gif',
'src': '{{theme_path location='images/calendar.gif'}}',
'alt': ''})
);
return link;
......
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