c437df0ee68454648bc275fca3ae7fd26109b295
bernd Verwaltung von FTP-Accounts...

bernd authored 14 years ago

1) <?php
2) 
3) $role = $_SESSION['role'];
4) 
5) if ($role & ROLE_SYSTEMUSER)
6) {
bernd FTP-Zugänge als Unterpunkt...

bernd authored 12 years ago

7)   if (have_module('systemuser')) {
8)     $menu["ftpusers_accounts"] = array("label" => "FTP-Zugriff", "file" => "accounts", "weight" => 35, 'submenu' => 'systemuser_account');
9)   } else {
bernd FTP-Benutzer => FTP-Zugriff

bernd authored 14 years ago

10)   $menu["ftpusers_accounts"] = array("label" => "FTP-Zugriff", "file" => "accounts", "weight" => 35);
bernd FTP-Zugänge als Unterpunkt...

bernd authored 12 years ago

11)   }