diff --git a/theme/theme.inc b/theme/theme.inc index 4405c288..81c4a33f 100644 --- a/theme/theme.inc +++ b/theme/theme.inc @@ -6,9 +6,9 @@ */ /** - * Implements hook_preprocess_theme(). + * Implements template_preprocess_HOOK(). */ -function islandora_preprocess_islandora_default_edit(array &$variables) { +function template_preprocess_islandora_default_edit(array &$variables) { global $base_url; $islandora_object = $variables['islandora_object']; $datastreams = array(); @@ -116,9 +116,9 @@ function islandora_preprocess_islandora_default_edit(array &$variables) { } /** - * Implements hook_preprocess_theme(). + * Implements template_preprocess_HOOK(). */ -function islandora_preprocess_islandora_default(&$variables) { +function template_preprocess_islandora_default(&$variables) { drupal_add_js('misc/form.js'); drupal_add_js('misc/collapse.js'); $islandora_object = $variables['islandora_object']; @@ -170,9 +170,9 @@ function islandora_preprocess_islandora_default(&$variables) { } /** - * Implements hook_preprocess_theme(). + * Implements template_preprocess_HOOK(). */ -function islandora_preprocess_islandora_object_print(array &$variables) { +function template_preprocess_islandora_object_print(array &$variables) { // Apply the print CSS in non print context. $only_print_media = function($o) { return $o['media'] == 'print'; @@ -623,9 +623,9 @@ function theme_islandora_datastream_regenerate_link(array $vars) { } /** - * Implements hook_preprocess(). + * Implements template_preprocess_HOOK(). */ -function islandora_preprocess_islandora_dublin_core_display(array &$variables) { +function template_preprocess_islandora_dublin_core_display(array &$variables) { $islandora_object = $variables['islandora_object']; if (islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $islandora_object['DC'])) { try { @@ -640,9 +640,9 @@ function islandora_preprocess_islandora_dublin_core_display(array &$variables) { } /** - * Implements hook_preprocess(). + * Implements template_preprocess_HOOK(). */ -function islandora_preprocess_islandora_dublin_core_description(array &$variables) { +function template_preprocess_islandora_dublin_core_description(array &$variables) { $islandora_object = $variables['islandora_object']; if (islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $islandora_object['DC'])) { try { @@ -660,9 +660,9 @@ function islandora_preprocess_islandora_dublin_core_description(array &$variable } /** - * Implements hook_preprocess(). + * Implements template_preprocess_HOOK(). */ -function islandora_preprocess_islandora_object_overview(array &$variables) { +function template_preprocess_islandora_object_overview(array &$variables) { $object = $variables['islandora_object']; $cmodels = $object->models; $links = array();