Browse Source

truncated long labels

pull/404/head
Alan Stanley 11 years ago
parent
commit
e3b3bd4c54
  1. 4
      includes/object_properties.form.inc

4
includes/object_properties.form.inc

@ -78,7 +78,9 @@ function islandora_object_properties_form(array $form, array &$form_state, Abstr
'delete' => array( 'delete' => array(
'#type' => 'submit', '#type' => 'submit',
'#access' => islandora_object_access(ISLANDORA_PURGE, $object), '#access' => islandora_object_access(ISLANDORA_PURGE, $object),
'#value' => t("Permanently remove '@label' from repository", array('@label' => $object->label)), '#value' => t("Permanently remove '@label' from repository", array(
'@label' => truncate_utf8($object->label, 32, TRUE, TRUE))
),
'#submit' => array('islandora_object_properties_form_delete'), '#submit' => array('islandora_object_properties_form_delete'),
'#limit_validation_errors' => array(array('pid')), '#limit_validation_errors' => array(array('pid')),
), ),

Loading…
Cancel
Save