bernd commited on 2011-11-23 11:04:11
Zeige 1 geänderte Dateien mit 4 Einfügungen und 0 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@2070 87cf0b9e-d624-0410-a070-f6ee81989793
| ... | ... |
@@ -4,7 +4,11 @@ $role = $_SESSION['role']; |
| 4 | 4 |
|
| 5 | 5 |
if ($role & ROLE_SYSTEMUSER) |
| 6 | 6 |
{
|
| 7 |
+ if (have_module('systemuser')) {
|
|
| 8 |
+ $menu["ftpusers_accounts"] = array("label" => "FTP-Zugriff", "file" => "accounts", "weight" => 35, 'submenu' => 'systemuser_account');
|
|
| 9 |
+ } else {
|
|
| 7 | 10 |
$menu["ftpusers_accounts"] = array("label" => "FTP-Zugriff", "file" => "accounts", "weight" => 35);
|
| 8 | 11 |
} |
| 12 |
+} |
|
| 9 | 13 |
|
| 10 | 14 |
?> |
| 11 | 15 |