call hook listHeader()

This commit is contained in:
Uwe Steinmann 2017-03-15 21:53:42 +01:00
parent fa3d540d2a
commit 514aa3ef0f

View File

@ -278,7 +278,11 @@ function folderSelected(id, name) {
echo "</div>";
}
$this->contentHeading(getMLText("folder_contents"));
$txt = $this->callHook('listHeader', $folder);
if(is_string($txt))
echo $txt;
else
$this->contentHeading(getMLText("folder_contents"));
$subFolders = $folder->getSubFolders($orderby);
$subFolders = SeedDMS_Core_DMS::filterAccess($subFolders, $user, M_READ);