Пример #1
0
function ShowOrganizations()
{
    $usersmenus = new usersMenus();
    if ($usersmenus->AsArticaAdministrator == true) {
        $orgs = ORGANISATIONS_LIST();
    } else {
        if ($usersmenus->AllowAddGroup == true && $usersmenus->AsArticaAdministrator == false) {
            $orgs = ORGANISTATION_FROM_USER();
        }
    }
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($orgs);
}
Пример #2
0
function ShowOrganizations()
{
    $usersmenus = new usersMenus();
    if ($usersmenus->AsArticaAdministrator == true) {
        ORGANISATIONS_LIST();
    } else {
        if ($usersmenus->AllowAddGroup == true && $usersmenus->AsArticaAdministrator == false) {
            ORGANISTATION_FROM_USER();
        }
    }
}
Пример #3
0
function ShowOrganizations()
{
    $usersmenus = new usersMenus();
    if ($usersmenus->AsArticaAdministrator == true) {
        if ($GLOBALS["VERBOSE"]) {
            echo "ORGANISATIONS_LIST()<br>\n";
        }
        ORGANISATIONS_LIST();
    } else {
        if ($usersmenus->AllowAddGroup == true && $usersmenus->AsArticaAdministrator == false) {
            if ($GLOBALS["VERBOSE"]) {
                echo "ORGANISTATION_FROM_USER()<br>\n";
            }
            ORGANISTATION_FROM_USER();
        }
    }
}