add path of parent folder in list elements

This commit is contained in:
Uwe Steinmann 2024-09-25 19:12:43 +02:00
parent c1940fd97c
commit 8a217a9254

View File

@ -74,7 +74,9 @@ class SeedDMS_View_ManageNotify extends SeedDMS_Theme_Style {
if(is_string($txt))
echo $txt;
else {
echo $this->folderListRow($fld, true);
$extracontent = array();
$extracontent['below_title'] = $this->getListRowPath($fld);
echo $this->folderListRow($fld, true, $extracontent);
}
print "<td>";
if ($deleteaction) print "<a href='../op/op.ManageNotify.php?id=".$fld->getID()."&type=folder&action=del' class=\"btn btn-danger btn-mini btn-sm\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</a>";
@ -112,7 +114,9 @@ class SeedDMS_View_ManageNotify extends SeedDMS_Theme_Style {
if(is_string($txt))
echo $txt;
else {
echo $this->documentListRow($doc, $previewer, true);
$extracontent = array();
$extracontent['below_title'] = $this->getListRowPath($doc);
echo $this->documentListRow($doc, $previewer, true, 0, $extracontent);
}
print "<td>";
if ($deleteaction) print "<a href='../op/op.ManageNotify.php?id=".$doc->getID()."&type=document&action=del' class=\"btn btn-danger btn-mini btn-sm\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</a>";