From 7ac58c5b6812dbfd507d088a5ea687c1fc24a09c Mon Sep 17 00:00:00 2001 From: Kylea Jackson Date: Wed, 1 Apr 2015 09:31:32 -0300 Subject: [PATCH] Changing and tags --- includes/add_datastream.form.inc | 2 +- includes/admin.form.inc | 8 +------- includes/utilities.inc | 8 ++++---- islandora.module | 4 ++-- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/includes/add_datastream.form.inc b/includes/add_datastream.form.inc index 55b45a04..3ad5a965 100644 --- a/includes/add_datastream.form.inc +++ b/includes/add_datastream.form.inc @@ -43,7 +43,7 @@ function islandora_add_datastream_form(array $form, array &$form_state, Abstract '#collapsed' => FALSE, 'dsid' => array( '#title' => 'Datastream ID', - '#description' => t("An ID for this stream that is unique to this object. Must start with a letter and contain only alphanumeric characters, dashes and underscores. The following datastreams are defined by this content model but don't currently exist: @unused_dsids.", array('@unused_dsids' => $unused_datastreams)), + '#description' => t("An ID for this stream that is unique to this object. Must start with a letter and contain only alphanumeric characters, dashes and underscores. The following datastreams are defined by this content model but don't currently exist: @unused_dsids.", array('@unused_dsids' => $unused_datastreams)), '#type' => 'textfield', '#size' => 64, '#maxlength' => 64, diff --git a/includes/admin.form.inc b/includes/admin.form.inc index cf0b8f69..0d932697 100644 --- a/includes/admin.form.inc +++ b/includes/admin.form.inc @@ -74,12 +74,6 @@ function islandora_repository_admin(array $form, array &$form_state) { '#description' => t('Displays an extra print tab, allowing an object to be printed'), '#default_value' => variable_get('islandora_show_print_option', FALSE), ), - 'islandora_render_drupal_breadcrumbs' => array( - '#type' => 'checkbox', - '#title' => t('Render Drupal breadcrumbs'), - '#description' => t('Larger sites may experience a notable performance improvement when disabled due to how breadcrumbs are constructed.'), - '#default_value' => variable_get('islandora_render_drupal_breadcrumbs', TRUE), - ), ), 'islandora_namespace' => array( '#type' => 'fieldset', @@ -93,7 +87,7 @@ function islandora_repository_admin(array $form, array &$form_state) { 'islandora_pids_allowed' => array( '#type' => 'textarea', '#title' => t('PID namespaces allowed in this Drupal install'), - '#description' => t('A list of PID namespaces, separated by spaces, that users are permitted to access from this Drupal installation.
This could be more than a simple namespace, e.g. demo:mydemos.
The namespace islandora: is reserved, and is always allowed.'), + '#description' => t('A list of PID namespaces, separated by spaces, that users are permitted to access from this Drupal installation.
This could be more than a simple namespace, e.g. demo:mydemos.
The namespace islandora: is reserved, and is always allowed.'), '#default_value' => variable_get('islandora_pids_allowed', 'default: demo: changeme: ilives: islandora-book: books: newspapers: '), '#states' => array( 'invisible' => array( diff --git a/includes/utilities.inc b/includes/utilities.inc index 8682a4bc..8e071def 100644 --- a/includes/utilities.inc +++ b/includes/utilities.inc @@ -86,16 +86,16 @@ function islandora_temp_file_entry($file_uri, $mime = NULL) { function islandora_control_group_to_human_readable($control_group) { switch ($control_group) { case 'M': - return 'Managed'; + return 'Managed'; case 'X': - return 'Inline XML'; + return 'Inline XML'; case 'R': - return 'Redirect'; + return 'Redirect'; case 'E': - return 'Externally Referenced'; + return 'Externally Referenced'; default: return $control_group; diff --git a/islandora.module b/islandora.module index 567a39bd..a7d0cdee 100644 --- a/islandora.module +++ b/islandora.module @@ -1819,13 +1819,13 @@ function islandora_form_simpletest_test_form_alter(array &$form) { $filter_status = is_writable($filter_path); if ($filter_status) { $filter_status_message = theme_image(array('path' => 'misc/watchdog-ok.png', 'attributes' => array())) . " "; - $filter_status_message .= t("Drupal filter at !filter_path is writable by the server.", array( + $filter_status_message .= t("Drupal filter at !filter_path is writable by the server.", array( '!filter_path' => $filter_path, )); } else { $filter_status_message = theme_image(array('path' => 'misc/watchdog-error.png', 'attributes' => array())) . " "; - $filter_status_message .= t("Drupal filter at !filter_path is not writable by the server. Please make sure your webserver has permission to write to the Drupal filter. If the path given is incorrect, you will need to change it in your server's test config file, located in the Islandora module's 'tests' folder as test_config.ini or default.test_config.ini.", array( + $filter_status_message .= t("Drupal filter at !filter_path is not writable by the server. Please make sure your webserver has permission to write to the Drupal filter. If the path given is incorrect, you will need to change it in your server's test config file, located in the Islandora module's 'tests' folder as test_config.ini or default.test_config.ini.", array( '!filter_path' => $filter_path, )); }