mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-05 22:10:11 +00:00
Empty commit
This commit is contained in:
parent
61def2bf68
commit
5a007ad9ee
@ -88,31 +88,38 @@
|
|||||||
$HTMLID = 'mods';
|
$HTMLID = 'mods';
|
||||||
break;
|
break;
|
||||||
case 'Developer':
|
case 'Developer':
|
||||||
printSectionDiv("Development");
|
|
||||||
$DevDiv = true;
|
|
||||||
$HTMLID = 'devs';
|
$HTMLID = 'devs';
|
||||||
break;
|
break;
|
||||||
|
case 'Lead Developer':
|
||||||
|
$HTMLID = 'lead_devs';
|
||||||
|
break;
|
||||||
|
case 'System Administrator':
|
||||||
|
$HTMLID = 'sys_admins';
|
||||||
|
break;
|
||||||
|
case 'Administrator':
|
||||||
|
$HTMLID = 'admins';
|
||||||
|
break;
|
||||||
|
case 'Sysop':
|
||||||
|
$HTMLID = 'sysops';
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$HTMLID = '';
|
||||||
|
}
|
||||||
|
switch ($ClassName) {
|
||||||
|
case 'Developer': // fall through
|
||||||
case 'Lead Developer':
|
case 'Lead Developer':
|
||||||
if (!$DevDiv) {
|
if (!$DevDiv) {
|
||||||
printSectionDiv("Development");
|
printSectionDiv("Development");
|
||||||
$DevDiv = true;
|
$DevDiv = true;
|
||||||
}
|
}
|
||||||
$HTMLID = 'lead_devs';
|
|
||||||
break;
|
break;
|
||||||
case 'Administrator':
|
case 'System Administrator': // fall through
|
||||||
printSectionDiv("Administration");
|
case 'Administrator': // fall through
|
||||||
$AdminDiv = true;
|
|
||||||
$HTMLID = 'admins';
|
|
||||||
break;
|
|
||||||
case 'System Administrator':
|
|
||||||
case 'Sysop':
|
case 'Sysop':
|
||||||
if (!$AdminDiv) {
|
if (!$AdminDiv) {
|
||||||
printSectionDiv("Administration");
|
printSectionDiv("Administration");
|
||||||
|
$AdminDiv = true;
|
||||||
}
|
}
|
||||||
$HTMLID = 'sysops';
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
$HTMLID = '';
|
|
||||||
}
|
}
|
||||||
if ($HTMLID != 'mods') {
|
if ($HTMLID != 'mods') {
|
||||||
echo "\t\t<h3 style=\"font-size: 17px;\" id=\"$HTMLID\"><i>".$ClassName."s</i></h3>\n";
|
echo "\t\t<h3 style=\"font-size: 17px;\" id=\"$HTMLID\"><i>".$ClassName."s</i></h3>\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user