Commit cd61deef authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Fixed myPortfolio theme stuff

parent 6ab3cf3c
...@@ -919,8 +919,8 @@ function pieform_validate(Pieform $form, $values) { ...@@ -919,8 +919,8 @@ function pieform_validate(Pieform $form, $values) {
function pieform_element_calendar_configure($element) { function pieform_element_calendar_configure($element) {
$element['jsroot'] = '/js/jscalendar/'; $element['jsroot'] = '/js/jscalendar/';
$element['themefile'] = get_config('themeurl') . 'style/calendar.css'; $element['themefile'] = theme_get_url('style/calendar.css');
$element['imagefile'] = get_config('themeurl') . 'calendar.gif'; $element['imagefile'] = theme_get_url('calendar.gif');
$element['language'] = 'en'; // @todo: language file names for the js calendar may need to be changed $element['language'] = 'en'; // @todo: language file names for the js calendar may need to be changed
return $element; return $element;
} }
......
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