squashed redundant search code, search fixes;

update #259, update #253

- integrated redundant parts of lib/search.*.inc.php into search.php
- added some translations for LOC and KML
- added "locked" state to LOC output
- appended state of inactive caches to KML cache names
- display selected distance search unit in HTML and XML output
- improved GPX Google search link for protection areas
- one more searching improvement (forgotten what it was ...)
This commit is contained in:
following
2013-07-11 21:35:24 +02:00
parent 29f333e077
commit 98b466030c
12 changed files with 524 additions and 1364 deletions
+6
View File
@@ -97,6 +97,12 @@
$unknown_searchtype = t('unknown search type');
$showonmap = t('Show on map');
$converted_from_html = t('converted from HTML');
$state_temporarily_na = t('Temporary not available');
$state_archived = t('Archived');
$state_locked = t('Locked');
$cache_note_text = t('Personal cache note');
function dateDiff($interval, $dateTimeBegin, $dateTimeEnd)
{