|
|
@ -933,12 +933,12 @@ function islandora_sanitize_input_for_valid_xml($input, $replacement = '') { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function islandora_event_status() { |
|
|
|
function islandora_event_status() { |
|
|
|
$results = FALSE; |
|
|
|
$results = FALSE; |
|
|
|
if (isset($_SESSION['islandora_derivative_messages'])) { |
|
|
|
if (isset($_SESSION['islandora_event_messages'])) { |
|
|
|
foreach ($_SESSION['islandora_derivative_messages'] as $message) { |
|
|
|
foreach ($_SESSION['islandora_event_messages'] as $message) { |
|
|
|
drupal_set_message($message['message'], $message['severity']); |
|
|
|
drupal_set_message($message['message'], $message['severity']); |
|
|
|
$results = TRUE; |
|
|
|
$results = TRUE; |
|
|
|
} |
|
|
|
} |
|
|
|
unset($_SESSION['islandora_derivative_messages']); |
|
|
|
unset($_SESSION['islandora_event_messages']); |
|
|
|
} |
|
|
|
} |
|
|
|
$text = ($results) ? t('The status messages above will be deleted after viewing this page.') : t('No messages to display.'); |
|
|
|
$text = ($results) ? t('The status messages above will be deleted after viewing this page.') : t('No messages to display.'); |
|
|
|
return array('#markup' => $text); |
|
|
|
return array('#markup' => $text); |
|
|
|