diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 3290c51f4..1c4871b40 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -725,8 +725,11 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { ?>
\n"; - $this->contentSubHeading(getMLText("reviewers")); - print " | |||||||||
".getMLText("name")." | \n"; - print "".getMLText("last_update")." | \n"; - print "".getMLText("comment")." | "; - print "".getMLText("status")." | \n"; - print "\n"; + print " | ".getMLText("name")." | \n"; + print "".getMLText("last_update").", ".getMLText("comment")." | \n"; +// print "".getMLText("comment")." | "; + print "".getMLText("status")." | \n"; + print "\n"; print " |
---|---|---|---|---|---|---|---|---|---|
".$reqName." | \n"; - print "
".$r["date"]." - ";
/* $updateUser is the user who has done the review */
$updateUser = $dms->getUser($r["userID"]);
- print " | ";
- print "".htmlspecialchars($r["comment"]);
+ print (is_object($updateUser) ? htmlspecialchars($updateUser->getFullName()." (".$updateUser->getLogin().")") : "unknown user id '".$r["userID"]."'")." | "; + print htmlspecialchars($r["comment"]); if($r['file']) { echo " "; echo " ".getMLText('download').""; @@ -805,9 +804,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { if($accessop->mayReview()) { if ($is_reviewer) { if ($r["status"]==0) { - print " |
\n"; - $this->contentSubHeading(getMLText("approvers")); - print " | |||||||||
".getMLText("name")." | \n"; - print "".getMLText("last_update")." | \n"; - print "".getMLText("comment")." | "; - print "".getMLText("status")." | \n"; - print "\n"; + print " | ".getMLText("name")." | \n"; + print "".getMLText("last_update").", ".getMLText("comment")." | \n"; +// print "".getMLText("comment")." | "; + print "".getMLText("status")." | \n"; + print "\n"; print " |
---|---|---|---|---|---|---|---|---|---|
".$reqName." | \n"; - print "
".$a["date"]." - ";
/* $updateUser is the user who has done the approval */
$updateUser = $dms->getUser($a["userID"]);
- print " | ";
- print "".htmlspecialchars($a["comment"]);
+ print (is_object($updateUser) ? htmlspecialchars($updateUser->getFullName()." (".$updateUser->getLogin().")") : "unknown user id '".$a["userID"]."'")." | "; + print htmlspecialchars($a["comment"]); if($a['file']) { echo " "; echo " ".getMLText('download').""; @@ -890,9 +892,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { if($accessop->mayApprove()) { if ($is_approver) { if ($a['status'] == 0) { - print " |