]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge remote-tracking branch 'upstream/master'
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 21 Oct 2013 16:30:34 +0000 (18:30 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 21 Oct 2013 16:30:34 +0000 (18:30 +0200)
Conflicts:
lib/init-website.php

lib/template/search-xml.php
settings/settings.php

index dfcf1375e95231e7f7252ec9d373a040106ec5d8..693330bb52cfce29fba95d3ce1c45415085b4b99 100644 (file)
@@ -80,7 +80,7 @@
                echo " display_name='".htmlspecialchars($aResult['name'], ENT_QUOTES)."'";
 
                echo " class='".htmlspecialchars($aResult['class'])."'";
-               echo " type='".htmlspecialchars($aResult['type'])."'";
+               echo " type='".htmlspecialchars($aResult['type'], ENT_QUOTES)."'";
                echo " importance='".htmlspecialchars($aResult['importance'])."'";
                if (isset($aResult['icon']) && $aResult['icon'])
                {
index f31e16b6ab276ed4738e382c29b3b830551f57ba..52776aeb2e273c97aae2ca688ea5fa04a2b69ddb 100644 (file)
@@ -57,6 +57,7 @@
        @define('CONST_BlockedUserAgents', '');
        @define('CONST_BlockReverseMaxLoad', 15);
        @define('CONST_BulkUserIPs', '');
+       @define('CONST_BlockMessage', ''); // additional info to show for blocked IPs
 
        @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/');
        @define('CONST_Tile_Default', 'Mapnik');