Browse Source

Merge pull request #9 from bwoodhead/6.x

ISLANDORA-314: Changed names to Islandora from Fedora
pull/10/merge
Ben Woodhead 13 years ago
parent
commit
e48680ad06
  1. 2
      fedora_repository.info
  2. 14
      formClass.inc

2
fedora_repository.info

@ -3,6 +3,6 @@ name = Digital Repository
dependencies[] = imageapi
dependencies[] = tabs
description = Shows a list of items in a fedora collection.
package = Fedora Repository
package = Islandora
version = 6.x-$Format:%h$-dev
core = 6.x

14
formClass.inc

@ -24,8 +24,8 @@ class formClass {
$items = array();
$items['admin/settings/fedora_repository'] = array(
'title' => t('Fedora collection list'),
'description' => t('Enter the Fedora Collection information here'),
'title' => t('Configure Islandora'),
'description' => t('Enter the Islandora Collection information here'),
'page callback' => 'drupal_get_form',
'page arguments' => array('fedora_repository_admin'),
'access arguments' => array('administer site configuration'),
@ -33,7 +33,7 @@ class formClass {
);
$items['admin/settings/fedora_repository/collection'] = array(
'title' => t('Collection list'),
'description' => t('Enter the Fedora collection information here.'),
'description' => t('Enter the Islandora collection information here.'),
'access arguments' => array('administer site configuration'),
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => 0,
@ -49,7 +49,7 @@ class formClass {
);
$items['islandoracm.xsd'] = array(
'title' => t('Islandoracm XML Schema Definition'),
'title' => t('Islandora Content Model XML Schema Definition'),
'page callback' => 'fedora_repository_display_schema',
'page arguments' => array('islandoracm.xsd'),
'type' => MENU_CALLBACK,
@ -57,7 +57,7 @@ class formClass {
);
$items['collection_policy.xsd'] = array(
'title' => t('Islandoracm XML Schema Definition'),
'title' => t('Islandora Content Model XML Schema Definition'),
'page callback' => 'fedora_repository_display_schema',
'page arguments' => array('collection_policy.xsd'),
'type' => MENU_CALLBACK,
@ -113,9 +113,7 @@ class formClass {
$items['fedora/repository/replaceStream'] = array(
'title' => t('Replace Stream'),
'page callback' => 'fedora_repository_replace_stream',
// 'callback arguments' => array(3, 4),
'type' => MENU_CALLBACK,
// 'access callback' => 'fedora_repository_user_access',
'access arguments' => array('add fedora datastreams'),
);
$items['fedora/repository/purgeObject'] = array(
@ -866,4 +864,4 @@ class formClass {
return $form;
}
}
}

Loading…
Cancel
Save