Nominatim/lib/template
Sarah Hoffmann 1cb55c6e31 more generalized javascript_renderData
- handles json/jsonp transparently (avoiding code duplication in templates)
- use php's internal json_encode functions (with JSON_UNESCAPED_UNICODE
  for backward compatibility)
- be more liberal with what is allowed as a callback identifier
- return a 400 for illegal callbacks
- return application/javascript type when jsonp is requested

fixes #16, fixes #17
2012-07-01 15:55:26 +02:00
..
address-json.php more generalized javascript_renderData 2012-07-01 15:55:26 +02:00
address-jsonv2.php more generalized javascript_renderData 2012-07-01 15:55:26 +02:00
address-xml.php convert CRLF to make git happy 2012-03-04 16:41:43 +01:00
details-html.php DB Scheme changes: alter table placex add column calculated_country_code varchar(2); 2012-05-22 16:27:42 +02:00
search-html.php avoid PHP notices 2012-05-25 23:45:59 +02:00
search-json.php more generalized javascript_renderData 2012-07-01 15:55:26 +02:00
search-jsonv2.php more generalized javascript_renderData 2012-07-01 15:55:26 +02:00
search-xml.php avoid PHP notices 2012-05-25 23:45:59 +02:00