|
@@ 275-288 (lines=14) @@
|
| 272 |
|
$options['output'] = isset($_REQUEST['output']) ? $_REQUEST['output'] : 'HTML'; // Ocprop: HTML |
| 273 |
|
$options['bbox'] = isset($_REQUEST['bbox']) ? $_REQUEST['bbox'] : false; |
| 274 |
|
|
| 275 |
|
if (isset($_REQUEST['cache_attribs'])) { |
| 276 |
|
if ($_REQUEST['cache_attribs'] != '') { |
| 277 |
|
$aAttribs = mb_split(';', $_REQUEST['cache_attribs']); |
| 278 |
|
$countAttribs = count($aAttribs); |
| 279 |
|
for ($i = 0; $i < $countAttribs; $i++) { |
| 280 |
|
$options['cache_attribs'][$aAttribs[$i] + 0] = $aAttribs[$i] + 0; |
| 281 |
|
} |
| 282 |
|
unset($aAttribs); |
| 283 |
|
} else { |
| 284 |
|
$options['cache_attribs'] = []; |
| 285 |
|
} |
| 286 |
|
} else { |
| 287 |
|
$options['cache_attribs'] = []; |
| 288 |
|
} |
| 289 |
|
|
| 290 |
|
if (isset($_REQUEST['cache_attribs_not'])) { |
| 291 |
|
if ($_REQUEST['cache_attribs_not'] != '') { |
|
@@ 290-303 (lines=14) @@
|
| 287 |
|
$options['cache_attribs'] = []; |
| 288 |
|
} |
| 289 |
|
|
| 290 |
|
if (isset($_REQUEST['cache_attribs_not'])) { |
| 291 |
|
if ($_REQUEST['cache_attribs_not'] != '') { |
| 292 |
|
$aAttribs = mb_split(';', $_REQUEST['cache_attribs_not']); |
| 293 |
|
$countAttribs = count($aAttribs); |
| 294 |
|
for ($i = 0; $i < $countAttribs; $i++) { |
| 295 |
|
$options['cache_attribs_not'][$aAttribs[$i] + 0] = $aAttribs[$i] + 0; |
| 296 |
|
} |
| 297 |
|
unset($aAttribs); |
| 298 |
|
} else { |
| 299 |
|
$options['cache_attribs_not'] = []; |
| 300 |
|
} |
| 301 |
|
} else { |
| 302 |
|
$options['cache_attribs_not'] = []; |
| 303 |
|
} |
| 304 |
|
|
| 305 |
|
if (!isset($_REQUEST['unit'])) { |
| 306 |
|
$options['unit'] = 'km'; |