diff --git a/book.inc b/book.inc
index 12044a2..aefaecd 100644
--- a/book.inc
+++ b/book.inc
@@ -5,7 +5,7 @@
class IslandoraBook {
function __construct($pid = '') {
- module_load_include('inc', 'islandora_repository', 'api/fedora_item');
+ module_load_include('inc', 'fedora_repository', 'api/fedora_item');
if (!empty($pid)) {
$this->pid = $pid;
$this->item = new Fedora_Item($pid);
@@ -13,8 +13,8 @@ class IslandoraBook {
}
public function showFieldSets() {
- module_load_include('inc', 'islandora_repository', 'plugins/tagging_form');
- module_load_include('inc', 'islandora_repository', 'plugins/DarwinCore');
+ module_load_include('inc', 'fedora_repository', 'plugins/tagging_form');
+ module_load_include('inc', 'fedora_repository', 'plugins/DarwinCore');
module_load_include('module', 'islandora_book');
global $base_url;
$show_purge_tab = (!empty($_POST['form_id']) && ($_POST['form_id'] == 'islandora_book_purge_pages_form'));
@@ -162,8 +162,8 @@ function book_add_pages_form_submit($form, &$form_state) {
ok
*/
function ibook_create_page_objects($pid, $image_list = array(), $page_cmodel = 'islandora-book:pageCModel', $relation = 'isMemberOfCollection', $tmpDir) {
- module_load_include('inc', 'islandora_repository', 'api/fedora_item');
- module_load_include('inc', 'islandora_repository', 'ObjectHelper');
+ module_load_include('inc', 'fedora_repository', 'api/fedora_item');
+ module_load_include('inc', 'fedora_repository', 'ObjectHelper');
$book = new Fedora_Item($pid);
if (!$book->exists()) {
return FALSE;
@@ -201,8 +201,8 @@ function ibook_create_page_objects($pid, $image_list = array(), $page_cmodel = '
}
function ibook_add_single_page_object($book_pid, $page_file, $page_num = 1, $page_title = NULL, $page_cmodel = 'islandora-book:pageCModel', $relation = 'isMemberOfCollection') {
- module_load_include('inc', 'islandora_repository', 'api/fedora_utils');
- module_load_include('inc', 'islandora_repository', 'api/fedora_item');
+ module_load_include('inc', 'fedora_repository', 'api/fedora_utils');
+ module_load_include('inc', 'fedora_repository', 'api/fedora_item');
$page_item = Fedora_Item::ingest_new_item("$book_pid-" . sprintf("%03d", $page_num), 'A', $page_title);
$page_item->add_relationship('hasModel', $page_cmodel, FEDORA_MODEL_URI);
$page_item->add_relationship($relation, $book_pid);
@@ -259,7 +259,7 @@ function deleteDirectory($dir) {
}
function makePDF($book_pid, $file_list, $tmpDir) {
- module_load_include('inc', 'islandora_repository', 'api/fedora_item');
+ module_load_include('inc', 'fedora_repository', 'api/fedora_item');
$book_item = new Fedora_Item($book_pid);
$outputFile = "${tmpDir}book.pdf";
$tiffs = array();
diff --git a/image_rotator_tagger_block.inc b/image_rotator_tagger_block.inc
index 6ae4283..eb29e23 100644
--- a/image_rotator_tagger_block.inc
+++ b/image_rotator_tagger_block.inc
@@ -7,8 +7,8 @@
function get_random_image() {
- module_load_include('inc', 'islandora_repository', 'CollectionClass');
- module_load_include('inc', 'islandora_repository', 'ObjectHelper');
+ module_load_include('inc', 'fedora_repository', 'CollectionClass');
+ module_load_include('inc', 'fedora_repository', 'ObjectHelper');
$itqlquery = 'select $object $title from <#ri>
where $object
and $object
@@ -47,8 +47,8 @@ and $object $title';
function _fedora_image_rotator_tagger_block_content() {
- module_load_include('inc', 'islandora_repository', 'api/fedora_item');
- module_load_include('inc', 'islandora_repository', 'plugins/tagging_form');
+ module_load_include('inc', 'fedora_repository', 'api/fedora_item');
+ module_load_include('inc', 'fedora_repository', 'plugins/tagging_form');
global $base_url;
if (!empty($_POST['pid'])) {
@@ -71,7 +71,7 @@ function _fedora_image_rotator_tagger_block_content() {
return ''
. l( '', 'fedora/repository/'. $result['pid'], array('html' => TRUE, 'alias' => TRUE))
.'
This image is from '. l($result['title'], 'fedora/ilives_book_viewer/'. substr($image_item->pid, 0, strrpos($image_item->pid, '-')), array('html' => TRUE, 'alias' => TRUE)) . '.'
- . drupal_get_form('islandora_repository_image_tagging_form', $result['pid']) . '
';
+ . drupal_get_form('fedora_repository_image_tagging_form', $result['pid']) . '
';
}
else {
return '';
@@ -95,13 +95,13 @@ class ShowILivesStreamsInFieldSets {
}
function showJPG() {
- module_load_include('inc', 'islandora_repository', 'plugins/tagging_form');
+ module_load_include('inc', 'fedora_repository', 'plugins/tagging_form');
global $base_url;
$collection_fieldset = array(
'#collapsible' => FALSE,
'#value' => '',
);
return theme('fieldset', $collection_fieldset)
- . drupal_get_form('islandora_repository_image_tagging_form', $this->pid);
+ . drupal_get_form('fedora_repository_image_tagging_form', $this->pid);
}
}
diff --git a/islandora_book.info b/islandora_book.info
index e785f4a..909ff22 100644
--- a/islandora_book.info
+++ b/islandora_book.info
@@ -2,7 +2,7 @@
name = Islandora Book Solution Pack
description = Provides book interface
package = Islandora Solution Pack
-dependencies[] = islandora_repository
+dependencies[] = fedora_repository
dependencies[] = xml_forms
dependencies[] = islandora_content_model_forms
version = 11.2.beta2
diff --git a/islandora_book.module b/islandora_book.module
index 549fe90..838e09e 100644
--- a/islandora_book.module
+++ b/islandora_book.module
@@ -58,7 +58,7 @@ function islandora_book_book_viewer($pid) {
// it will execute it against the book.
function islandora_book_create_book_view($pid, $query = NULL) {
global $user;
- module_load_include('inc', 'islandora_repository', 'ObjectHelper');
+ module_load_include('inc', 'fedora_repository', 'ObjectHelper');
$path = drupal_get_path('module', 'islandora_book');
$objectHelper = new ObjectHelper;
$xml = $objectHelper->getStream($pid, 'MODS');
@@ -115,7 +115,7 @@ function islandora_book_create_book_view($pid, $query = NULL) {
$output .= $newdom->saveXML();
}
if (isset($query)) {
- module_load_include('inc', 'islandora_repository', 'SearchClass');
+ module_load_include('inc', 'fedora_repository', 'SearchClass');
$searchClass = new SearchClass();
$pageQuery = convert_query_to_page_query($query, $pid);
$output .= '' . $searchClass->custom_search($pageQuery, $startPage, '/xsl/pageResults.xsl', 500) . '
'; //limit results to 500 pages of a book since there is no paging if we enable paging in xslt this can be changed
@@ -194,7 +194,7 @@ function islandora_book_theme() {
function islandora_book_requirements($phase) {
global $base_url;
if ($phase == 'runtime') {
- module_load_include('inc', 'islandora_repository', 'api/fedora_utils');
+ module_load_include('inc', 'fedora_repository', 'api/fedora_utils');
$requirements['iiv-war'] = array();
$requirements['iiv-war']['title'] = t("Islandora OpenLayers image viewer web app");
if (!_islandora_book_viewer_available()) {
@@ -396,7 +396,7 @@ function islandora_book_purge_pages_form(&$form_state, $pid, $referrer = NULL) {
$form['submit'] = array(
'#type' => 'image_button',
- '#src' => drupal_get_path('module', 'islandora_repository') . '/images/purge_big.png',
+ '#src' => drupal_get_path('module', 'fedora_repository') . '/images/purge_big.png',
'#value' => t('Purge'),
'#suffix' => 'Purge all pages associated with this book',
);
@@ -412,7 +412,7 @@ function islandora_book_purge_pages_form(&$form_state, $pid, $referrer = NULL) {
}
function islandora_book_purge_pages_form_submit($form, &$form_state) {
- module_load_include('inc', 'islandora_repository', 'ConnectionHelper');
+ module_load_include('inc', 'fedora_repository', 'ConnectionHelper');
$pid = $form_state['values']['pid'];
if (!isset($form_state['storage']['confirm'])) {
$form_state['storage']['confirm'] = TRUE; // this will cause the form to be rebuilt, entering the confirm part of the form
diff --git a/tests/fedora_ilives.test b/tests/fedora_ilives.test
index a56ffcb..d55ed7d 100644
--- a/tests/fedora_ilives.test
+++ b/tests/fedora_ilives.test
@@ -16,9 +16,9 @@ class FedoraBookTestCase extends DrupalWebTestCase {
}
function setUp() {
- parent::setUp('islandora_repository', 'fedora_ilives', 'tabs');
+ parent::setUp('fedora_repository', 'fedora_ilives', 'tabs');
- module_load_include('inc', 'islandora_repository', 'api/fedora_item');
+ module_load_include('inc', 'fedora_repository', 'api/fedora_item');
// Create and login user.
$repository_user = $this->drupalCreateFedoraUser(array('add fedora datastreams',
diff --git a/xml/ilives_jp2Sdep-pageCModel.xml b/xml/ilives_jp2Sdep-pageCModel.xml
index 850b3aa..46447f1 100644
--- a/xml/ilives_jp2Sdep-pageCModel.xml
+++ b/xml/ilives_jp2Sdep-pageCModel.xml
@@ -44,7 +44,7 @@ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/
fedoraAdmin
2010-06-02T17:52:31.539Z
-Ingested from local file /Users/aoneill/islandora_repository/content_models/ilives_jp2Sdep-pageCModel.xml
+Ingested from local file /Users/aoneill/fedora_repository/content_models/ilives_jp2Sdep-pageCModel.xml
diff --git a/xml/islandora_book_bookCModel.xml b/xml/islandora_book_bookCModel.xml
index ebc683d..bfbf352 100644
--- a/xml/islandora_book_bookCModel.xml
+++ b/xml/islandora_book_bookCModel.xml
@@ -100,7 +100,7 @@ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/
-
+
The name given to the resource
diff --git a/xml/islandora_book_jp2Sdef.xml b/xml/islandora_book_jp2Sdef.xml
index 60c3424..d465c85 100644
--- a/xml/islandora_book_jp2Sdef.xml
+++ b/xml/islandora_book_jp2Sdef.xml
@@ -35,7 +35,7 @@
fedoraAdmin
2010-06-01T01:40:47.337Z
- Ingested from local file /Users/al/islandora_repository/content_models/ilives_jp2Sdef.xml
+ Ingested from local file /Users/al/fedora_repository/content_models/ilives_jp2Sdef.xml
diff --git a/xsl/pageResults.xsl b/xsl/pageResults.xsl
index 465de2a..60f8cf4 100644
--- a/xsl/pageResults.xsl
+++ b/xsl/pageResults.xsl
@@ -110,7 +110,7 @@
diff --git a/xsl/results.xsl b/xsl/results.xsl
index e8f0a02..0757ea1 100644
--- a/xsl/results.xsl
+++ b/xsl/results.xsl
@@ -207,7 +207,7 @@
-
+
|