mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
- show submit review link only for logged in user
This commit is contained in:
parent
40a7d85e45
commit
545043cd94
|
@ -279,7 +279,7 @@ if (is_array($reviewStatus) && count($reviewStatus)>0) {
|
|||
print "<td>".getReviewStatusText($r["status"])."</td>\n";
|
||||
print "<td><ul class=\"actions\">";
|
||||
|
||||
if ($is_reviewer && $status["status"]==S_DRAFT_REV) {
|
||||
if (($required==$user) && $is_reviewer && $status["status"]==S_DRAFT_REV) {
|
||||
print "<li><a href=\"../out/out.ReviewDocument.php?documentid=".$documentid."&version=".$latestContent->getVersion()."\">".getMLText("submit_review")."</a></li>";
|
||||
}else if (($updateUser==$user)&&(($r["status"]==1)||($r["status"]==-1))&&(!$document->hasExpired())){
|
||||
print "<li><a href=\"../out/out.ReviewDocument.php?documentid=".$documentid."&version=".$latestContent->getVersion()."\">".getMLText("edit")."</a></li>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user