예제 #1
0
 //protected void setNewThreadVisibility()
 //{
 //    if (groupID == 0)    // Meeting-Group
 //        newItem.Visible = false;
 //    else
 //        newItem.Visible = true;
 //}
 protected string evalPicImgString(IReadable forumObj, Person user)
 {
     if (forumObj.isReader(user))                       // read
         return "";
     else if (forumObj.isNew(user))                     // new & unread
         return "<img src='pic/GelberStern.png' />";
     else                                               // only unread
         return "<img src='pic/GruenerStern.png' />";
 }