Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv9666/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
functions.php
Log Message:
added note for 'no right to comment'
Index: functions.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/functions.php,v
retrieving revision 1.140
retrieving revision 1.141
diff -C2 -d -r1.140 -r1.141
*** functions.php 15 Nov 2002 15:40:52 -0000 1.140
--- functions.php 22 Nov 2002 09:17:23 -0000 1.141
***************
*** 1490,1497 ****
echo "<a class=\"pn-normal\" href=\"$baseurl&action=emailtopic&topic=$topic&forum=$forum\">"._PHPBB_EMAIL_TOPIC."</a>";
}
?>
</TD></tr>
<?php
- }
}
// cell#7 ended
--- 1490,1505 ----
echo "<a class=\"pn-normal\" href=\"$baseurl&action=emailtopic&topic=$topic&forum=$forum\">"._PHPBB_EMAIL_TOPIC."</a>";
}
+ } else {
+ // user is not authorised to comment
+ echo "<tr><TD ALIGN=\"left\" class=\"pn-normal\" colspan=\"2\">";
+ echo _PHPBB_NOAUTHPOST;
+ // user is not logged in
+ if (!pnUserLoggedIn()){
+ echo ""._PHPBB_SEPARATOR."<a href=\"user.php\">"._PHPBB_REGISTER."</a>";
+ }
+ }
?>
</TD></tr>
<?php
}
// cell#7 ended
|