@ -15,7 +15,7 @@ function islandora_solution_packs_admin() {
$info = islandora_describe_repository($url);
if (!$info) {
$config_url = url('admin/islandora/configure');
drupal_set_message(t('Could not connect to the repository. Please check the settings on the <ahref="!config_url"title="Islandora configuration page">Islandora configuration</a> page.', array('!config_url' => $config_url)), 'error');
drupal_set_message(t('Could not connect to the repository. Please check the settings on the <ahref="@config_url"title="Islandora configuration page">Islandora configuration</a> page.', array('@config_url' => $config_url)), 'error');
}
// set variables
@ -295,7 +295,7 @@ function islandora_batch_reingest_object($object_model, &$context) {
function islandora_install_solution_pack($module_name = NULL, $op = 'install') {
// check if a module name is given. // @TODO: check module name for existance
drupal_set_message(st('@module_label: Did not install any objects. Could not connect to the repository. Please check the settings on the <ahref="!config_url"title="Islandora configuration page">Islandora configuration</a> page and install the required objects manually on the <ahref="!sp_url"title="Solution pack admin">solution pack admin</a> page.', array('@module_label' => $module_label, '!config_url' => $config_url, '!sp_url' => $sp_admin)), 'error');
drupal_set_message(st('@module_label: Did not install any objects. Could not connect to the repository. Please check the settings on the <ahref="@config_url"title="Islandora configuration page">Islandora configuration</a> page and install the required objects manually on the <ahref="@sp_url"title="Solution pack admin">solution pack admin</a> page.', array('@module_label' => $module_label, '@config_url' => $config_url, '@sp_url' => $sp_admin)), 'error');
break;
case 'uninstall':
drupal_set_message(st('@module_label: Did not uninstall any objects. Could not connect to the repository. Please check the settings on the <ahref="!config_url"title="Islandora configuration page">Islandora configuration</a> page and uninstall the required objects manually if necessary.', array('@module_label' => $module_label, '!config_url' => $config_url, '!sp_url' => $sp_admin)), 'error');
drupal_set_message(st('@module_label: Did not uninstall any objects. Could not connect to the repository. Please check the settings on the <ahref="@config_url"title="Islandora configuration page">Islandora configuration</a> page and uninstall the required objects manually if necessary.', array('@module_label' => $module_label, '@config_url' => $config_url)), 'error');
drupal_set_message(st('@module_label: did not install <ahref="!url"title="@pid">@label</a>. The object already exists and is up-to-date.', array('@module_label' => $module_label, '@label' => $label, '@pid' => $pid, '!url' => $object_url)));
drupal_set_message(st('@module_label: did not install <ahref="@object_url"title="@pid">@label</a>. The object already exists and is up-to-date.', array('@module_label' => $module_label, '@label' => $label, '@pid' => $pid, '@object_url' => $object_url)));
break;
case 'missing_datastream':
drupal_set_message(st('@module_label: did not install <ahref="!url"title="@pid">@label</a>. The object already exists but is missing a datastream. Please reinstall the object on the <ahref="!sp_admin"title="Solution pack admin page">solution pack admin page</a>.', array('@module_label' => $module_label, '@label' => $label, '@pid' => $pid, '!url' => $object_url, '!sp_admin' => $sp_admin)), 'warning');
drupal_set_message(st('@module_label: did not install <ahref="@object_url"title="@pid">@label</a>. The object already exists but is missing a datastream. Please reinstall the object on the <ahref="@sp_admin"title="Solution pack admin page">solution pack admin page</a>.', array('@module_label' => $module_label, '@label' => $label, '@pid' => $pid, '@objecturl' => $object_url, '@sp_admin' => $sp_admin)), 'warning');
break;
case 'out_of_date':
drupal_set_message(st('@module_label: did not install <ahref="!url"title="@pid">@label</a>. The object already exists but is out-of-date. Please update the object on the <ahref="!sp_admin"title="Solution pack admin page">solution pack admin page</a>.', array('@module_label' => $module_label, '@label' => $label, '@pid' => $pid, '!url' => $object_url, '!sp_admin' => $sp_admin)), 'warning');
drupal_set_message(st('@module_label: did not install <ahref="@object_url"title="@pid">@label</a>. The object already exists but is out-of-date. Please update the object on the <ahref="@sp_admin"title="Solution pack admin page">solution pack admin page</a>.', array('@module_label' => $module_label, '@label' => $label, '@pid' => $pid, '@object_url' => $object_url, '@sp_admin' => $sp_admin)), 'warning');
drupal_set_message(st('@module_label: did not remove <ahref="!object_url"title="@pid">@label</a>. It may be used by other sites.', array('@pid' => $pid, '!object_url' => $object_url, '@label' => $label, '@module_label' => $module_label)), 'warning');
drupal_set_message(st('@module_label: did not remove <ahref="@object_url"title="@pid">@label</a>. It may be used by other sites.', array('@pid' => $pid, '@object_url' => $object_url, '@label' => $label, '@module_label' => $module_label)), 'warning');
}
break;
}
@ -466,7 +466,7 @@ function islandora_check_object_status($object_model = array()) {
// Check if the datastream is versioned and needs updating.