From: Andreas K. <la...@us...> - 2002-05-13 06:46:22
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14 In directory usw-pr-cvs1:/tmp/cvs-serv13947/PN_phpBB_14/html/modules/phpBB_14 Modified Files: phpbb.php Log Message: E_ALL fix Index: phpbb.php =================================================================== RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/phpbb.php,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** phpbb.php 19 Apr 2002 11:11:07 -0000 1.42 --- phpbb.php 13 May 2002 06:46:18 -0000 1.43 *************** *** 159,169 **** if ($posted_unixtime) { ! $last_post = sprintf(_PHPBB_LASTPOSTSTRING, $posted_ml, $row['pn_uname']); ! $last_post = $last_post." <a href=\"$baseurl&action=viewtopic&topic=" .$row['topic_id']."\" class=\"pn-title\">". "<img src=\"modules/$ModName/images/icon_latest_topic.gif\" border=0></a>"; ! }else{ ! $last_post = _PHPBB_NOPOSTS; ! } }else{ // there are no posts in this forum --- 159,175 ---- if ($posted_unixtime) { ! if ($row['pn_uid']==1) { ! $username = pnConfigGetVar('anonymous'); ! } else { ! $username = $row['pn_uname']; ! } ! ! $last_post = sprintf(_PHPBB_LASTPOSTSTRING, $posted_ml, $username); ! $last_post = $last_post." <a href=\"$baseurl&action=viewtopic&topic=" .$row['topic_id']."\" class=\"pn-title\">". "<img src=\"modules/$ModName/images/icon_latest_topic.gif\" border=0></a>"; ! } else { ! $last_post = _PHPBB_NOPOSTS; ! } }else{ // there are no posts in this forum *************** *** 175,179 **** print '<tr align="left" valign="top">' ."<td bgcolor=\"$bgcolor1\" align=\"center\" valign=\"middle\" width=\"2%\"><img src=\"$fldr_img\" alt=\"$fldr_alt\"></td>" ! ."<td bgcolor=\"$bgcolor1\"><font class=\"pn-title\"><a href=\"$baseurl&action=viewforum&forum=".$row['forum_id']."&$total_posts\" class=\"pn-title\">$row[forum_name]</a></font>\n" ."<br><font class=\"pn-normal\">$row[forum_desc]"; print "<br>"._PHPBB_MODERATEDBY.": "; --- 181,186 ---- print '<tr align="left" valign="top">' ."<td bgcolor=\"$bgcolor1\" align=\"center\" valign=\"middle\" width=\"2%\"><img src=\"$fldr_img\" alt=\"$fldr_alt\"></td>" ! ."<td bgcolor=\"$bgcolor1\"><font class=\"pn-title\"><a href=\"$baseurl&action=viewforum&forum=".$row['forum_id']."\" class=\"pn-title\">$row[forum_name]</a></font>\n" ! //."<td bgcolor=\"$bgcolor1\"><font class=\"pn-title\"><a href=\"$baseurl&action=viewforum&forum=".$row['forum_id']."&$total_posts\" class=\"pn-title\">$row[forum_name]</a></font>\n" ."<br><font class=\"pn-normal\">$row[forum_desc]"; print "<br>"._PHPBB_MODERATEDBY.": "; |