Browse Source

fixed permissions

pull/404/head
Alan Stanley 11 years ago
parent
commit
bffc4f725d
  1. 8
      islandora.module

8
islandora.module

@ -22,7 +22,6 @@
* You should have received a copy of the GNU General Public License
* along with the program. If not, see <http ://www.gnu.org/licenses/>.
*/
// Common datastreams.
define('ISLANDORA_DS_COMP_STREAM', 'DS-COMPOSITE-MODEL');
@ -485,6 +484,10 @@ function islandora_permission() {
'title' => t('Revert datastream history'),
'description' => t('Revert to a previous version of a datastream.'),
),
ISLANDORA_MANAGE_DELETED_OBJECTS => array(
'title' => t('Manage deleted objects'),
'description' => t('Purge or revert deleted objects.'),
),
);
}
@ -504,6 +507,7 @@ function islandora_print_object(AbstractObject $object) {
drupal_set_title($object->label);
return theme('islandora_object_print', array('object' => $object));
}
/**
* Implements hook_forms().
*/
@ -871,7 +875,7 @@ function islandora_view_object(AbstractObject $object) {
'islandora' => array(
'print_img' => $path . '/images/print-icon.png'),
), array(
'type' => 'setting'));
'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');

Loading…
Cancel
Save