[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.274,1.275
dhaun at geeklog.net
dhaun at geeklog.net
Sun Jan 18 09:43:33 EST 2004
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/public_html/admin block.php,1.54,1.55 event.php,1.44,1.45 group.php,1.33,1.34 link.php,1.39,1.40 poll.php,1.36,1.37 story.php,1.110,1.111 topic.php,1.39,1.40
- Next message (by thread): [geeklog-cvs] geeklog-1.3/public_html submit.php,1.58,1.59
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv23811
Modified Files:
lib-common.php
Log Message:
When the user submission queue is activated, add a link to admin/moderation.php to the Admin's menu for User Admins (workaround, see bug #134).
Index: lib-common.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.274
retrieving revision 1.275
diff -C2 -d -r1.274 -r1.275
*** lib-common.php 13 Jan 2004 20:00:40 -0000 1.274
--- lib-common.php 18 Jan 2004 14:43:31 -0000 1.275
***************
*** 2205,2209 ****
}
! if( SEC_isModerator() )
{
$num = 0;
--- 2205,2209 ----
}
! if( SEC_isModerator() || (( $_CONF['usersubmission'] == 1 ) && SEC_hasRights( 'user.edit,user.delete' )))
{
$num = 0;
***************
*** 2245,2249 ****
}
! if( $_CONF['usersubmission'] == 1)
{
if( SEC_hasrights( 'user.edit' ) && SEC_hasrights( 'user.delete' ))
--- 2245,2249 ----
}
! if( $_CONF['usersubmission'] == 1 )
{
if( SEC_hasrights( 'user.edit' ) && SEC_hasrights( 'user.delete' ))
***************
*** 5087,5091 ****
$sql .= "(({$table}owner_id = '{$uid}') AND ({$table}perm_owner >= $access)) OR ";
! $sql .= "(({$table}group_id IN (" . implode (',', $_GROUPS)
. ")) AND ({$table}perm_group >= $access)) OR ";
$sql .= "({$table}perm_members >= $access)";
--- 5087,5091 ----
$sql .= "(({$table}owner_id = '{$uid}') AND ({$table}perm_owner >= $access)) OR ";
! $sql .= "(({$table}group_id IN (" . implode( ',', $_GROUPS )
. ")) AND ({$table}perm_group >= $access)) OR ";
$sql .= "({$table}perm_members >= $access)";
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/public_html/admin block.php,1.54,1.55 event.php,1.44,1.45 group.php,1.33,1.34 link.php,1.39,1.40 poll.php,1.36,1.37 story.php,1.110,1.111 topic.php,1.39,1.40
- Next message (by thread): [geeklog-cvs] geeklog-1.3/public_html submit.php,1.58,1.59
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list