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; $input = NULL;
$xsl = new DomDocument(); $xsl = new DomDocument();
try { 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 = new DomDocument();
$input->loadXML(trim($xmlstr)); $input->loadXML(trim($xmlstr));
} catch (Exception $e) { } catch (Exception $e) {
@ -177,7 +177,7 @@ function fedora_repository_object_details_XSLT_config() {
$form['config']['xslt'] = array( $form['config']['xslt'] = array(
'#type' => 'select', '#type' => 'select',
'#title' => t("XSL transform to use"), '#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, '#options' => $options,
'#key_type' => 'associative', '#key_type' => 'associative',
'#required' => TRUE, '#required' => TRUE,

Loading…
Cancel
Save