mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +00:00
call hook searchListHeader
This commit is contained in:
parent
83e888b9c9
commit
2d9f3f8494
|
@ -454,6 +454,10 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
|
||||||
$this->pageList($pageNumber, $totalpages, "../out/out.Search.php", $urlparams);
|
$this->pageList($pageNumber, $totalpages, "../out/out.Search.php", $urlparams);
|
||||||
// $this->contentContainerStart();
|
// $this->contentContainerStart();
|
||||||
|
|
||||||
|
$txt = $this->callHook('searchListHeader', $folder, $orderby);
|
||||||
|
if(is_string($txt))
|
||||||
|
echo $txt;
|
||||||
|
else {
|
||||||
print "<table class=\"table table-hover\">";
|
print "<table class=\"table table-hover\">";
|
||||||
print "<thead>\n<tr>\n";
|
print "<thead>\n<tr>\n";
|
||||||
print "<th></th>\n";
|
print "<th></th>\n";
|
||||||
|
@ -462,6 +466,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
|
||||||
print "<th>".getMLText("status")."</th>\n";
|
print "<th>".getMLText("status")."</th>\n";
|
||||||
print "<th>".getMLText("action")."</th>\n";
|
print "<th>".getMLText("action")."</th>\n";
|
||||||
print "</tr>\n</thead>\n<tbody>\n";
|
print "</tr>\n</thead>\n<tbody>\n";
|
||||||
|
}
|
||||||
|
|
||||||
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth, $timeout);
|
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth, $timeout);
|
||||||
foreach ($entries as $entry) {
|
foreach ($entries as $entry) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user