[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.107,1.108

dhaun at geeklog.net dhaun at geeklog.net
Sun Sep 28 09:23:44 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory geeklog_prod:/tmp/cvs-serv3330/public_html/admin

Modified Files:
	story.php 
Log Message:
Fixed display of the permission in the story list's "Access" column (didn't take topic permissions into account).


Index: story.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** story.php	20 Sep 2003 16:50:35 -0000	1.107
--- story.php	28 Sep 2003 13:23:42 -0000	1.108
***************
*** 493,497 ****
              if ($access > 0) {
                  if ($access == 3) {
!                     $access = $LANG_ACCESS['edit'];
                  } else {
                      $access = $LANG_ACCESS['readonly'];
--- 493,501 ----
              if ($access > 0) {
                  if ($access == 3) {
!                     if (SEC_hasTopicAccess ($A['tid']) == 3) {
!                         $access = $LANG_ACCESS['edit'];
!                     } else {
!                         $access = $LANG_ACCESS['readonly'];
!                     }
                  } else {
                      $access = $LANG_ACCESS['readonly'];





More information about the geeklog-cvs mailing list