Browse Source

fixed xslt paths

pull/127/head
Jason MacWilliams 13 years ago
parent
commit
1b43b3169d
  1. 4
      ObjectDetails.inc

4
ObjectDetails.inc

@ -89,7 +89,7 @@ function fedora_repository_object_details_XSLT($item) {
$input = NULL;
$xsl = new DomDocument();
try {
$xsl->load('./'. $path .'/'. variable_get('islandora_object_details_xslt_sheet', 'xsl/convertQDC.xsl'));
$xsl->load('./'. $path .'/'. variable_get('islandora_object_details_xslt_sheet', 'object_details_xslts/convertQDC.xsl'));
$input = new DomDocument();
$input->loadXML(trim($xmlstr));
} catch (Exception $e) {
@ -177,7 +177,7 @@ function fedora_repository_object_details_XSLT_config() {
$form['config']['xslt'] = array(
'#type' => 'select',
'#title' => t("XSL transform to use"),
'#default_value' => variable_get('islandora_object_details_xslt_sheet', 'xsl/convertQDC.xsl'),
'#default_value' => variable_get('islandora_object_details_xslt_sheet', 'object_details_xslts/convertQDC.xsl'),
'#options' => $options,
'#key_type' => 'associative',
'#required' => TRUE,

Loading…
Cancel
Save