php3 fix in call to get_list()

This commit is contained in:
Miles Lott 2001-08-15 17:05:08 +00:00
parent 4fd65d883a
commit fefe347b33

View File

@ -42,10 +42,10 @@
); );
/* /*
0/none == no access 0/none == no access
1/apps == read app data only 1/apps == read app data only
99/all == read accounts and other api data 99/all == read accounts and other api data
Two servers must have each other setup as 'all' for full coop Two servers must have each other setup as 'all' for full coop
*/ */
var $trust_levels = array( var $trust_levels = array(
'none' => 0, 'none' => 0,
@ -53,12 +53,19 @@
'all' => 99 'all' => 99
); );
/*
0 - No trust, but they may trust us
1 - Trust to make requests of us
2 - Trust remote server's trusts also
3 - We both trust each other
4 - We both trust each other, and we trust the remote server's trusts also
*/
var $trust_relationships = array( var $trust_relationships = array(
'outbound' => 0, /* No trust, but they may trust us */ 'outbound' => 0,
'inbound' => 1, /* Trust to make requests of us */ 'inbound' => 1,
'passthrough' => 2, /* Trust remote server's trusts also */ 'passthrough' => 2,
'bi-directional' => 3, /* We both trust each other */ 'bi-directional' => 3,
'bi-dir passthrough' => 4 /* We both trust each other, and we trust the remote server's trusts also */ 'bi-dir passthrough' => 4
); );
var $security_types = array( var $security_types = array(
@ -419,7 +426,8 @@
} }
$select .= '>' . lang('Please Select') . '</option>'."\n"; $select .= '>' . lang('Please Select') . '</option>'."\n";
while (list($key,$val) = each($this->get_list())) $slist = $this->get_list();
while (list($key,$val) = each($slist))
{ {
$foundservers = True; $foundservers = True;
$select .= '<option value="' . $val['server_id'] . '"'; $select .= '<option value="' . $val['server_id'] . '"';