@ -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;
global $base_url;
$islandora_object = $variables['islandora_object'];
$islandora_object = $variables['islandora_object'];
$datastreams = array();
$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/form.js');
drupal_add_js('misc/collapse.js');
drupal_add_js('misc/collapse.js');
$islandora_object = $variables['islandora_object'];
$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.
// Apply the print CSS in non print context.
$only_print_media = function($o) {
$only_print_media = function($o) {
return $o['media'] == 'print';
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'];
$islandora_object = $variables['islandora_object'];
if (islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $islandora_object['DC'])) {
if (islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $islandora_object['DC'])) {
try {
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'];
$islandora_object = $variables['islandora_object'];
if (islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $islandora_object['DC'])) {
if (islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $islandora_object['DC'])) {
try {
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'];
$object = $variables['islandora_object'];
$cmodels = $object->models;
$cmodels = $object->models;
$links = array();
$links = array();