| @@ 90-96 (lines=7) @@ | ||
| 87 | $this->lang = preg_replace('/\..+/', '', setlocale(LC_ALL, "0")); |
|
| 88 | ||
| 89 | $useRealm = 0; |
|
| 90 | if (isset($this->attributes['internal:use_anon_outer']) && $this->attributes['internal:use_anon_outer'][0] == "1" && isset($this->attributes['internal:realm'])) { |
|
| 91 | ||
| 92 | $useRealm = "@" . $this->attributes['internal:realm'][0]; |
|
| 93 | if (isset($this->attributes['internal:anon_local_value'])) { |
|
| 94 | $useRealm = $this->attributes['internal:anon_local_value'][0] . $useRealm; |
|
| 95 | } |
|
| 96 | } |
|
| 97 | ||
| 98 | $ssidList = $this->attributes['internal:SSID']; |
|
| 99 | $consortiumOIList = $this->attributes['internal:consortia']; |
|
| @@ 109-113 (lines=5) @@ | ||
| 106 | } |
|
| 107 | // construct outer id, if anonymity is desired |
|
| 108 | $outerId = 0; |
|
| 109 | if (isset($this->attributes['internal:use_anon_outer']) && $this->attributes['internal:use_anon_outer'][0] == "1" && isset($this->attributes['internal:realm'])) { |
|
| 110 | $outerId = "@" . $this->attributes['internal:realm'][0]; |
|
| 111 | if (isset($this->attributes['internal:anon_local_value'])) |
|
| 112 | $outerId = $this->attributes['internal:anon_local_value'][0] . $outerId; |
|
| 113 | } |
|
| 114 | ||
| 115 | // define networks |
|
| 116 | foreach ($this->attributes['internal:SSID'] as $ssid => $cryptolevel) { |
|