Example #1
0
function lframe_1webconf()
{
    global $SAMSConf;
    global $USERConf;
    $lang = "./lang/lang.{$SAMSConf->LANG}";
    require $lang;
    if ($USERConf->ToWebInterfaceAccess("C") == 1) {
        $item = array("classname" => "webconf", "icon" => "webinterface.gif", "target" => "tray", "url" => "tray.php?show=exe&function=webconfigtray&filename=webconfigtray.php", "text" => "{$lframe_1webconf_lframe_1webconf_1}");
        treeItem($item);
    }
}
Example #2
0
function lffolder_1_config()
{
    global $SAMSConf;
    global $USERConf;
    $lang = "./lang/lang.{$SAMSConf->LANG}";
    require $lang;
    if ($USERConf->ToWebInterfaceAccess("C") == 1) {
        $item = array("classname" => "samsconfig", "icon" => "config_20.jpg", "target" => "tray", "url" => "tray.php?show=exe&function=configtray&filename=configtray.php", "text" => "{$lframe_sams_lframe_sams_2}");
        treeItem($item);
    }
}
Example #3
0
function lffolder_5_z2_groups()
{
    global $SAMSConf;
    global $USERConf;
    $lang = "./lang/lang.{$SAMSConf->LANG}";
    require $lang;
    if ($USERConf->ToWebInterfaceAccess("C") == 1) {
        $item = array("classname" => "newgroup", "icon" => "paddressbook.gif", "target" => "tray", "url" => "tray.php?show=exe&filename=newgrptray.php&function=newgrptray", "text" => "{$lframe_sams_UserGroupsFolder_1}");
        treeItem($item);
    }
}
Example #4
0
function lframe_0ident()
{
    global $SAMSConf;
    $lang = "./lang/lang.{$SAMSConf->LANG}";
    require $lang;
    if (strlen($SAMSConf->domainusername) > 0 || strlen($SAMSConf->adminname) > 0 || $SAMSConf->USERPASSWD == 1) {
        $item = array("classname" => "logoff", "icon" => "logoff_20.gif", "target" => "basefrm", "url" => "main.php?function=logoff", "text" => "logoff");
        treeItem($item);
    }
    $item = array("classname" => "userauth", "icon" => "ident.gif", "target" => "tray", "url" => "tray.php?show=exe&filename=admintray.php&function=admintray", "text" => "{$lframe_0ident_lframe_0ident_1}");
    treeItem($item);
}