|
|
@ -22,6 +22,7 @@ |
|
|
|
* You should have received a copy of the GNU General Public License |
|
|
|
* You should have received a copy of the GNU General Public License |
|
|
|
* along with the program. If not, see <http ://www.gnu.org/licenses/>. |
|
|
|
* along with the program. If not, see <http ://www.gnu.org/licenses/>. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
// Common datastreams. |
|
|
|
// Common datastreams. |
|
|
|
define('ISLANDORA_DS_COMP_STREAM', 'DS-COMPOSITE-MODEL'); |
|
|
|
define('ISLANDORA_DS_COMP_STREAM', 'DS-COMPOSITE-MODEL'); |
|
|
|
|
|
|
|
|
|
|
@ -875,7 +876,7 @@ function islandora_view_object(AbstractObject $object) { |
|
|
|
'islandora' => array( |
|
|
|
'islandora' => array( |
|
|
|
'print_img' => $path . '/images/print-icon.png'), |
|
|
|
'print_img' => $path . '/images/print-icon.png'), |
|
|
|
), array( |
|
|
|
), array( |
|
|
|
'type' => 'setting')); |
|
|
|
'type' => 'setting')); |
|
|
|
|
|
|
|
|
|
|
|
drupal_add_js(array('islandora' => array('print_link' => 'islandora/object/' . $object->id . '/print')), array('type' => 'setting')); |
|
|
|
drupal_add_js(array('islandora' => array('print_link' => 'islandora/object/' . $object->id . '/print')), array('type' => 'setting')); |
|
|
|
drupal_add_js($path . '/js/add_print.js'); |
|
|
|
drupal_add_js($path . '/js/add_print.js'); |
|
|
|