Alexander Nicolaysen Sørnes : Comments Management: Show whether the versions are maintained

Alexander Nicolaysen Sørnes asornes at winehq.org
Thu Nov 12 17:18:40 CST 2009


Module: appdb
Branch: master
Commit: 24e0202de791c553f39c506b7b0fb47ec038b651
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=24e0202de791c553f39c506b7b0fb47ec038b651

Author: Alexander Nicolaysen Sørnes <alexander at linux-xqqm.(none)>
Date:   Thu Nov 12 17:51:47 2009 +0100

Comments Management: Show whether the versions are maintained

---

 include/comment.php |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/include/comment.php b/include/comment.php
index a890ec3..a4732f7 100644
--- a/include/comment.php
+++ b/include/comment.php
@@ -258,7 +258,12 @@ class Comment {
         echo " <b>".$this->sSubject."</b><br>\n";
 
         if($bShowAppName)
-            echo 'Application: ' . version::fullNameLink($this->iVersionId) . "<br>\n";
+        {
+            $oVersion = new version($this->iVersionId);
+            $sMaintainerText = $oVersion->bHasMaintainer ? 'has maintainer' : 'no maintainers';
+            echo 'Application: ' . version::fullNameLink($this->iVersionId);
+            echo " ($sMaintainerText)<br>\n";
+        }
 
         echo " by  ".forum_lookup_user($this->oOwner->iUserId)." on ".$this->sDateCreated."<br>\n";
         echo "</td></tr><tr><td>\n";




More information about the wine-cvs mailing list