|
|
@ -22,7 +22,6 @@ |
|
|
|
* 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'); |
|
|
|
|
|
|
|
|
|
|
@ -485,6 +484,10 @@ function islandora_permission() { |
|
|
|
'title' => t('Revert datastream history'), |
|
|
|
'title' => t('Revert datastream history'), |
|
|
|
'description' => t('Revert to a previous version of a datastream.'), |
|
|
|
'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); |
|
|
|
drupal_set_title($object->label); |
|
|
|
return theme('islandora_object_print', array('object' => $object)); |
|
|
|
return theme('islandora_object_print', array('object' => $object)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Implements hook_forms(). |
|
|
|
* Implements hook_forms(). |
|
|
|
*/ |
|
|
|
*/ |
|
|
|