First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
require_once("include/globals.php");
|
||||
|
||||
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Ensure that only valid user types have access to this module
|
||||
$AllowedUserTypes = array('SuperUser','System Administrator');
|
||||
if ($school_record['reseller'] == 'hotlunch') $AllowedUserTypes = array('SuperUser');
|
||||
|
||||
if (checkPermission($AllowedUserTypes) != 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($school_record['status'] != 'Special') return;
|
||||
|
||||
|
||||
if (!$list_started) echo(" <ul>\n");
|
||||
echo(" <li id='resellers'><a href='/?action=reseller-panel'>".getLanguageText('TEXT-RESELLER-PANEL')."</a></li>\n");
|
||||
$list_started = true;
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user