Browse Source

Merge pull request #453 from willtp87/7.x.print_update

no longer used template removed
pull/455/merge
Jordan Dukart 11 years ago
parent
commit
fef8d22b49
  1. 8
      islandora.module
  2. 18
      theme/islandora-object-img-print.tpl.php

8
islandora.module

@ -1037,11 +1037,9 @@ function islandora_view_object(AbstractObject $object) {
/** /**
* This will prepare an object to be printed. * This will prepare an object to be printed.
* *
* By default, all fedora objects can print DC record data, * By default all fedora objects can print DC record data. Solution packs that
* however, Solution packs that wish to modify the form * wish to modify the data to be printed can implement
* to be printed must implement hook_islandora_view_print_object_alter, * hook_islandora_view_print_object or hook_islandora_metadata_display_info.
* create a theme.tpl.php file, and return its markup by calling
* theme(themename.tpl.php).
* *
* @param AbstractObject $object * @param AbstractObject $object
* The object to print. * The object to print.

18
theme/islandora-object-img-print.tpl.php

@ -1,18 +0,0 @@
<?php
/**
* @file
* The default view to theme an image of an object.
*
* This view is passed into 'islandora-object-print' theme file
* and is rendred as an image. Allows for seperate theming of image
* and metadata.
*
*/
?>
<?php if (isset($islandora_content)): ?>
<div>
<?php print $islandora_content; ?>
</div>
<?php endif; ?>
Loading…
Cancel
Save