This folder contains no sub folders";
+ $sToRender .= "| " . $browse_no_sub_folders . " |
";
}
- $sToRender .= "| " . renderDocumentList($aResults, "This folder contains no documents", "You don't have access to the documents in this folder") . " |
\n";
+ $sToRender .= "| " . renderDocumentList($aResults, $browse_no_documents, $browse_no_document_permission) . " |
\n";
return $sToRender;
}
@@ -313,12 +315,12 @@ function renderDocumentList($aResults, $sNoDocumentsMessage, $sNoPermissionMessa
* @param string the direction to sort
*/
function renderPage($aResults, $sBrowseType, $sSortBy, $sSortDirection) {
- global $default;
+ global $default, $browse_collection_heading;
$sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])));
$sTDBGColour = $default->siteMap->getSectionColour($sSectionName, "td");
- $sToRender = renderHeading("Browse Collection");
+ $sToRender = renderHeading($browse_collection_heading);
$sToRender .= "| ";
switch ($sBrowseType) {
|