From: <sy...@us...> - 2007-05-11 14:20:01
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24546 Modified Files: Tag: BRANCH-1-9 comments.php Log Message: [FIX]forum: error message when you try to post with no perms Index: comments.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/comments.php,v retrieving revision 1.31.2.48 retrieving revision 1.31.2.49 diff -u -d -r1.31.2.48 -r1.31.2.49 --- comments.php 21 Mar 2007 11:10:32 -0000 1.31.2.48 +++ comments.php 11 May 2007 14:19:58 -0000 1.31.2.49 @@ -287,6 +287,10 @@ die; } } +} else { + $smarty->assign('msg', tra("You do not have permission to use this feature")); + $smarty->display("error.tpl"); + die; } if ($tiki_p_vote_comments == 'y') { |