some search.php refactoring

This commit is contained in:
following
2013-06-18 14:39:14 +02:00
parent 9a43ed2540
commit 1bed97e4d9
4 changed files with 144 additions and 98 deletions
+2 -1
View File
@@ -17,7 +17,6 @@
$outputformat_notexist = t('The selected output format is unknown!');
$error_query_not_found = t('The search operation could not be executed, please reenter the search data.');
$safelink = '&nbsp;[<a href="query.php?action=save&queryid={queryid}">' . t('Save') . '</a>]';
$caches_newstring = '<b class="newsymbol">&nbsp;' . t('NEW') . '&nbsp;</b>&nbsp;';
$caches_olddays = 14; // changed from 7 to 14 -- following 2013/6/17
@@ -95,6 +94,8 @@
$search_in_gm = '<a href="http://maps.google.de/maps?f=q&hl=de&q=' . urlencode("http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']."&output=kml") . '" title="' . $translate->t('Show in Google Maps','','',0) . '">' . $translate->t('(in GM)','','',0) . '</a>';
$search_in_gm_zip = '<a href="http://maps.google.de/maps?f=q&hl=de&q=' . urlencode("http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']."&output=kml&zip=1&count=max") . '" title="' . $translate->t('Show in Google Maps','','',0) . '">' . $translate->t('(in GM)','','',0) . '</a>';
$unknown_searchtype = t('unknown search type');
function dateDiff($interval, $dateTimeBegin, $dateTimeEnd)
{