[% rss_alt = loc('RSS feed'); rss_title = loc('RSS feed of recent local problems'); rss_url = pc ? c.uri_for( "/rss/pc", pc ) : c.uri_for( "/rss/l/$latitude,$longitude" ); email_url = c.uri_for( '/alert/list', { lat => latitude, lon => longitude, feed => "local:$latitude:$longitude", } ); url_skip = c.uri_for( '/report/new', { pc => pc latitude => latitude, longitude => longitude, skipped => 1, } ); PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html"; # Only used by Zurich TRY; sidebar_html = PROCESS 'report/new/sidebar.html' js = 1 report.used_map = 1; CATCH file; END; SET bodyclass = 'mappage'; SET rss = [ tprintf(loc('Recent local problems, %s', "%s is the site name"), site_name), rss_url ]; SET extra_js = []; INCLUDE 'header.html', title => loc('Viewing a location') robots => 'noindex,nofollow'; allow_creation = !c.cobrand.only_authed_can_create || (c.user && c.user.from_body); %] [% IF allow_creation %]
[% IF c.get_param('filter_group') %] [% END %] [% END %] [% map_html | safe %]
[% loc('Choose location, pan and zoom to adjust') %]
[% IF allow_creation %] [% INCLUDE 'around/_report_banner.html' %] [% TRY %][% INCLUDE 'around/extra_text.html' %][% CATCH file %][% END %] [% END %] [% INCLUDE 'around/_updates.html' %]
[% INCLUDE "around/tabbed_lists.html" %]
[% IF allow_creation %] [% END %]
[% IF allow_creation %]
[% END %] [% INCLUDE 'footer.html' %]