Browse Source

Added class to print icon.

pull/582/head
MorganDawe 10 years ago
parent
commit
13fac4158e
  1. 2
      islandora.module

2
islandora.module

@ -2010,7 +2010,7 @@ function islandora_menu_local_tasks_alter(&$data, $router_item, $root_path) {
if ($tab['#link']['path'] == 'islandora/object/%/print_object') { if ($tab['#link']['path'] == 'islandora/object/%/print_object') {
if ($root_path == 'islandora/object/%') { if ($root_path == 'islandora/object/%') {
$islandora_path = drupal_get_path('module', 'islandora'); $islandora_path = drupal_get_path('module', 'islandora');
$tab['#prefix'] = '<li>'; $tab['#prefix'] = '<li class="islandora-print">';
$tab['#suffix'] = '</li>'; $tab['#suffix'] = '</li>';
$tab['#theme'] = 'link'; $tab['#theme'] = 'link';
$tab['#text'] = theme('image', array( $tab['#text'] = theme('image', array(

Loading…
Cancel
Save