|
|
|
@ -64,7 +64,7 @@ function template_preprocess_islandora_default_edit(array &$variables) { |
|
|
|
elseif (user_access(ISLANDORA_VIEW_DATASTREAM_HISTORY)) { |
|
|
|
elseif (user_access(ISLANDORA_VIEW_DATASTREAM_HISTORY)) { |
|
|
|
$row[] = array(); |
|
|
|
$row[] = array(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (islandora_datastream_access(ISLANDORA_VIEW_DATASTREAM_HISTORY, $ds)) { |
|
|
|
if (islandora_datastream_access(ISLANDORA_REPLACE_DATASTREAM_CONTENT, $ds)) { |
|
|
|
// Add new datastream content as the lastest version. |
|
|
|
// Add new datastream content as the lastest version. |
|
|
|
$row[] = array( |
|
|
|
$row[] = array( |
|
|
|
'class' => 'datastream-replace', |
|
|
|
'class' => 'datastream-replace', |
|
|
|
|