diff --git a/out/out.ManageNotify.php b/out/out.ManageNotify.php index bd204b655..a641d338c 100644 --- a/out/out.ManageNotify.php +++ b/out/out.ManageNotify.php @@ -38,6 +38,7 @@ if($view) { $view->setParam('cachedir', $settings->_cacheDir); $view->setParam('previewWidthList', $settings->_previewWidthList); $view->setParam('timeout', $settings->_cmdTimeout); + $view->setParam('onepage', $settings->_onePageMode); // do most navigation by reloading areas of pages with ajax $view->setParam('xsendfile', $settings->_enableXsendfile); $view($_GET); exit; diff --git a/views/bootstrap/class.ManageNotify.php b/views/bootstrap/class.ManageNotify.php index a93f0a7ea..2416a1706 100644 --- a/views/bootstrap/class.ManageNotify.php +++ b/views/bootstrap/class.ManageNotify.php @@ -64,7 +64,7 @@ class SeedDMS_View_ManageNotify extends SeedDMS_Bootstrap_Style { } else { - print "
\n"; print " | ".getMLText("name")." | \n"; @@ -74,15 +74,18 @@ class SeedDMS_View_ManageNotify extends SeedDMS_Bootstrap_Style { foreach($notifications as $notification) { $fld = $this->dms->getFolder($notification->getTarget()); if (is_object($fld)) { - $owner = $fld->getOwner(); - print "||
---|---|---|---|
"; - print " | getID()."\">" . htmlspecialchars($fld->getName()) . " | \n"; - print "".htmlspecialchars($owner->getFullName())." | "; + echo $this->folderListRowStart($fld); + $txt = $this->callHook('folderListItem', $fld, true, 'viewfolder'); + if(is_string($txt)) + echo $txt; + else { + echo $this->folderListRow($fld, true); + } print ""; if ($deleteaction) print " ".getMLText("delete").""; else print "".getMLText("edit").""; - print " |
\n"; print " | ".getMLText("name")." | \n"; print "".getMLText("status")." | \n"; print "".getMLText("action")." | \n"; + print "\n"; print " |
---|---|---|---|---|
";
- if($previewer->hasPreview($latest)) {
- print " | ";
-
- print "getID()."\">" . htmlspecialchars($doc->getName()) . "";
- print " ".getMLText('owner').": ".htmlspecialchars($owner->getFullName()).", ".getMLText('creation_date').": ".date('Y-m-d', $doc->getDate()).", ".getMLText('version')." ".$latest->getVersion()." - ".date('Y-m-d', $latest->getDate()).""; - $comment = $latest->getComment(); - if($comment) { - print " ".htmlspecialchars($comment).""; - } - print " | \n";
-
- print "".getOverallStatusText($status["status"])." | "; print ""; if ($deleteaction) print " ".getMLText("delete").""; else print "".getMLText("edit").""; - print " |