$coy = $_SESSION['wa_current_user']->company;
else
$coy = $def_coy;
- if ($AllowCompanySelectionBox) {
+ if (!@$text_company_selection) {
echo "<tr><td>"._("Company")."</td><td><select name='company_login_name'>\n";
for ($i = 0; $i < count($db_connections); $i++)
echo "<option value=$i ".($i==$coy ? 'selected':'') .">" . $db_connections[$i]["name"] . "</option>";
}
/*
- Display a dropdown select box for choosing Company to login if true.
- Show a blank editbox only if false where the Company NickName
+ Display a dropdown select box for choosing Company to login if false.
+ Show a blank editbox only if true where the Company NickName
will have to be manually entered. This is when privacy is needed.
*/
- $AllowCompanySelectionBox = true;
+$text_company_selection = false;
/* Should FA hide menu items (Applications, Modules, and Actions) from the user if they don't have access to them?
0 for no 1 for yes