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); }
function ShowOrganizations() { $usersmenus = new usersMenus(); if ($usersmenus->AsArticaAdministrator == true) { ORGANISATIONS_LIST(); } else { if ($usersmenus->AllowAddGroup == true && $usersmenus->AsArticaAdministrator == false) { ORGANISTATION_FROM_USER(); } } }
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(); } } }