|
|
@ -290,24 +290,6 @@ function islandora_datastream_get_url(AbstractDatastream $datastream, $type = 'd |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Gets the edit link. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param AbstractDatastream $datastream |
|
|
|
|
|
|
|
* The datastream to generated the url to. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @return string |
|
|
|
|
|
|
|
* Markup containing the link to edit the datastream. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
function islandora_datastream_edit_get_link(AbstractDatastream $datastream) { |
|
|
|
|
|
|
|
$message = islandora_deprecated('7.x-1.2', 'Use the "islandora_datastream_edit_link" theme implementation.'); |
|
|
|
|
|
|
|
trigger_error(filter_xss($message), E_USER_DEPRECATED); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return theme('islandora_datastream_edit_link', array( |
|
|
|
|
|
|
|
'datastream' => $datastream, |
|
|
|
|
|
|
|
)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Display the edit datastream page. |
|
|
|
* Display the edit datastream page. |
|
|
|
* |
|
|
|
* |
|
|
|