From 63ac3d44d30327e6af1660766a5385d5d2c6eb8d Mon Sep 17 00:00:00 2001 From: Ben Woodhead Date: Mon, 5 Mar 2012 16:36:19 -0400 Subject: [PATCH] Added a new sp architecture based around alans ideas --- fedora_repository.newsp.inc | 11 +++++++++++ fedora_repository.solutionpacks.inc | 2 ++ formClass.inc | 11 ++++++++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 fedora_repository.newsp.inc diff --git a/fedora_repository.newsp.inc b/fedora_repository.newsp.inc new file mode 100644 index 00000000..98e6d3e0 --- /dev/null +++ b/fedora_repository.newsp.inc @@ -0,0 +1,11 @@ + diff --git a/fedora_repository.solutionpacks.inc b/fedora_repository.solutionpacks.inc index 59e2f6da..f8f4bdd5 100644 --- a/fedora_repository.solutionpacks.inc +++ b/fedora_repository.solutionpacks.inc @@ -308,3 +308,5 @@ function solution_pack_unregister_form_association($mods_form_name, $content_mod { } + + diff --git a/formClass.inc b/formClass.inc index 86a5128f..4ac1c246 100644 --- a/formClass.inc +++ b/formClass.inc @@ -48,7 +48,16 @@ class formClass { 'file' => 'fedora_repository.solutionpacks.inc', 'type' => MENU_LOCAL_TASK, ); - + + $items['admin/settings/fedora_repository/newsp'] = array( + 'title' => t('New Solution Packs'), + 'description' => t('Install content models and collections required by installed solution packs.'), + 'page callback' => 'fedora_repository_newsp_page', + 'access arguments' => array('add fedora datastreams'), + 'file' => 'fedora_repository.newsp.inc', + 'type' => MENU_LOCAL_TASK, + ); + $items['islandoracm.xsd'] = array( 'title' => t('Islandora Content Model XML Schema Definition'), 'page callback' => 'fedora_repository_display_schema',