- $txt{'8'}
- $amgtxt{'01'}
- $amgtxt{'30'}
- $amgtxt{'42'}
- $amgtxt{'43'}
---------------------------------------------------
- $txt{'5'}
- $txt{'8'}
- $txt{'5'}
sub FullStats {
&is_admin;
sub FullStats {
&is_admin_or_gmod;
if ($settings[7] eq 'Global Moderator' && $showgmod_info != 1 ) { &fatal_error("$txt{'1'}"); }
$yyAccessCat{$curcat} = $settings[7] eq 'Administrator' || $moderators{$username} || ! $curcataccess;
$yyAccessCat{$curcat} = $settings[7] eq 'Administrator' || $settings[7] eq 'Global Moderator' || $moderators{$username} || ! $curcataccess;
&LoadAdmins;
&LoadGMods;
$txt{'684'}: $administrators
$txt{'gmod4'}: $gmoderators
sub ShowClickLog {
&is_admin;
sub ShowClickLog {
&is_admin_or_gmod;
if ($settings[7] eq 'Global Moderator' && $showgmod_info != 1 ) { &fatal_error("$txt{'1'}"); }
sub AdminBoardRecount {
&is_admin;
sub AdminBoardRecount {
&is_admin_or_gmod;
if ($settings[7] eq 'Global Moderator' && $allowgmod_maint != 1 ) { &fatal_error("$txt{'1'}"); }
sub RebuildMemList {
&is_admin;
sub RebuildMemList {
&is_admin_or_gmod;
if ($settings[7] eq 'Global Moderator' && $allowgmod_maint != 1 ) { &fatal_error("$txt{'1'}"); }
sub ipban {
&is_admin;
sub ipban {
&is_admin_or_gmod;
if ($settings[7] eq 'Global Moderator' && $allowgmod_ban != 1 ) { &fatal_error("$txt{'1'}"); }
sub ipban2 {
&is_admin;
sub ipban2 {
&is_admin_or_gmod;
if ($settings[7] eq 'Global Moderator' && $allowgmod_ban != 1 ) { &fatal_error("$txt{'1'}"); }
print FILE "$FORM{'ban_memname'}";
fclose(FILE);
$yySetLocation = qq~$cgi;action=admin~;
print FILE "$FORM{'ban_memname'}";
fclose(FILE);
if ($settings[7] eq 'Global Moderator') {
$yySetLocation = qq~$cgi\;action=moderate~;
} else {
$yySetLocation = qq~$cgi\;action=admin~;
}
sub ver_detail {
&is_admin;
sub ver_detail {
&is_admin_or_gmod;
if ($settings[7] eq 'Global Moderator' && $showgmod_info != 1 ) { &fatal_error("$txt{'1'}"); }
Sources/AdminEdit.pl
my($snfchecked, $fls1, $fls2, $fls3, $utfchecked, $truncchecked, $mts1, $mts2, $mts3, $tsl8, $tsl7, $tsl6, $tsl5, $tsl4, $tsl3, $tsl2, $tsl1);
my($gmodchecked, $disprealinfochecked, $hideadminchecked, $hidegmodchecked, $hidemodchecked);
my($gmodedittemplate, $gmodeditcat, $gmodban, $gmodmaint, $gmodeditprof);
if ($enable_ubbc) { $ubbcchecked = ' checked'; }
if ($allow_mod) { $gmodchecked = ' checked'; }
if ($disprealinfo) { $disprealinfochecked = ' checked'; }
if ($hideadmin) { $hideadminchecked = ' checked'; }
if ($hidegmod) { $hidegmodchecked = ' checked'; }
if ($hidemod) { $hidemodchecked = ' checked'; }
if ($showgmod_info) {$gmodshowstats = ' checked'; }
if ($allowgmod_censor) {$gmodshowcensor = ' checked'; }
if ($allowgmod_edittemp) {$gmodedittemplate = ' checked'; }
if ($allowgmod_editcat) {$gmodeditcat = ' checked'; }
if ($allowgmod_ban) {$gmodban = ' checked'; }
if ($allowgmod_news) {$gmodnews = ' checked'; }
if ($allowgmod_maint) {$gmodmaint = ' checked'; }
if ($allowgmod_editprof) {$gmodeditprof = ' checked'; }
|
|