Subversion Repositories ALCASAR

Rev

Rev 2390 | Rev 2817 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2390 Rev 2512
Line 14... Line 14...
14
	$selected['Session-Timeout'] = '';
14
	$selected['Session-Timeout'] = '';
15
	$selected['Max-Daily-Session'] = '';
15
	$selected['Max-Daily-Session'] = '';
16
	$selected['Max-Monthly-Session'] = '';
16
	$selected['Max-Monthly-Session'] = '';
17
	$selected['Simultaneous-Use'] = '';
17
	$selected['Simultaneous-Use'] = '';
18
	$selected['Login-Time'] = '';
18
	$selected['Login-Time'] = '';
19
	$selected['ChilliSpot-Max-Input-Octets'] = '';
19
	$selected['CoovaChilli-Max-Input-Octets'] = '';
20
	$selected['ChilliSpot-Max-Total-Octets'] = '';
20
	$selected['CoovaChilli-Max-Total-Octets'] = '';
21
	$selected['ChilliSpot-Bandwidth-Max-Up'] = '';
21
	$selected['CoovaChilli-Bandwidth-Max-Up'] = '';
22
	$selected['ChilliSpot-Bandwidth-Max-Down'] = '';
22
	$selected['CoovaChilli-Bandwidth-Max-Down'] = '';
23
	$selected['ChilliSpot-Max-Output-Octets'] = '';
23
	$selected['CoovaChilli-Max-Output-Octets'] = '';
24
	$selected['WISPr-Redirection-URL'] = '';
24
	$selected['WISPr-Redirection-URL'] = '';
25
}
25
}
26
if (isset($search_IN)) $selected[$search_IN] = 'selected';
26
if (isset($search_IN)) $selected[$search_IN] = 'selected';
27
if (isset($radius_attr)) $selected[$radius_attr] = 'selected';
27
if (isset($radius_attr)) $selected[$radius_attr] = 'selected';
28
if (isset($max_results)) $max = ($max_results) ? $max_results : 40;
28
if (isset($max_results)) $max = ($max_results) ? $max_results : 40;
Line 173... Line 173...
173
				break;
173
				break;
174
			case 'Expiration' :
174
			case 'Expiration' :
175
				$desc=$l_expiration;
175
				$desc=$l_expiration;
176
				echo "<option $selected[$key] value=\"$key\">$desc\n";
176
				echo "<option $selected[$key] value=\"$key\">$desc\n";
177
				break;
177
				break;
178
			case 'ChilliSpot-Max-Input-Octets' :
178
			case 'CoovaChilli-Max-Input-Octets' :
179
				$desc=$l_max_input_octets;
179
				$desc=$l_max_input_octets;
180
				echo "<option $selected[$key] value=\"$key\">$desc\n";
180
				echo "<option $selected[$key] value=\"$key\">$desc\n";
181
				break;
181
				break;
182
			case 'ChilliSpot-Max-Output-Octets' :
182
			case 'CoovaChilli-Max-Output-Octets' :
183
				$desc=$l_max_output_octets;
183
				$desc=$l_max_output_octets;
184
				echo "<option $selected[$key] value=\"$key\">$desc\n";
184
				echo "<option $selected[$key] value=\"$key\">$desc\n";
185
				break;
185
				break;
186
			case 'ChilliSpot-Max-Total-Octets' :
186
			case 'CoovaChilli-Max-Total-Octets' :
187
				$desc=$l_max_total_octets;
187
				$desc=$l_max_total_octets;
188
				echo "<option $selected[$key] value=\"$key\">$desc\n";
188
				echo "<option $selected[$key] value=\"$key\">$desc\n";
189
				break;
189
				break;
190
			case 'ChilliSpot-Bandwidth-Max-Up' :
190
			case 'CoovaChilli-Bandwidth-Max-Up' :
191
				$desc=$l_max_bandwidth_up;
191
				$desc=$l_max_bandwidth_up;
192
				echo "<option $selected[$key] value=\"$key\">$desc\n";
192
				echo "<option $selected[$key] value=\"$key\">$desc\n";
193
				break;
193
				break;
194
			case 'ChilliSpot-Bandwidth-Max-Down' :
194
			case 'CoovaChilli-Bandwidth-Max-Down' :
195
				$desc=$l_max_bandwidth_down;
195
				$desc=$l_max_bandwidth_down;
196
				echo "<option $selected[$key] value=\"$key\">$desc\n";
196
				echo "<option $selected[$key] value=\"$key\">$desc\n";
197
				break;
197
				break;
198
			case 'WISPr-Redirection-URL' :
198
			case 'WISPr-Redirection-URL' :
199
				$desc=$l_wispr_redirection;
199
				$desc=$l_wispr_redirection;