Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Scoop Box Exchange - Show Box: cabal_box 1.00

Author: hurstdog [Info]

Description:

Lists everyone with non-standard privelages.

Box Code:

return '' unless ($S->have_perm('edit_user'));

my $select = qq{ select * from users where perm_group!='Anonymous' and perm_group != 'Users'};

my ($rv, $sth) = $S->db_select({
FROM => 'users',
WHAT => '*',
WHERE => qq{perm_group!='Anonymous' and perm_group != 'Users'},
});

return '' unless $rv;
my $vers = $S->{UI}->{VARS}->{SCOOP_DATE};
my $retval = "Scoop Version '$vers'<BR>";

while( my $user = $sth->fetchrow_hashref ) {
$retval .= qq{ + ($user->{perm_group}) <a href="|rootdir|?op=user;tool=info;nick=$user->{nickname}">$user->{nickname}</a><br> }

}


return $retval;
Display: Sort:
Cabal? (none / 0) (#1)
by janra on Tue Mar 01, 2005 at 12:04:18 AM PST

There is no cabal!

--
Discuss the art and craft of writing




  • Re: Cabal? by hillct, 03/01/2005 08:41:02 AM PST (none / 0)
Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
The OpenNIC
Democratically operated Domain Name System; using Scoop since Jan. 2001.

Login
Make a new account
Username:
Password:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search