aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-07-26 16:57:08 +0100
committerStruan Donald <struan@exo.org.uk>2011-07-26 16:57:08 +0100
commit54066cd1387643dd6c6cb3040c520bee66881fd7 (patch)
treeeda84b3f347220ed12de3aa690116148287891bd /templates
parent8146bad18eeaab658871dd28eb38199a5d068395 (diff)
parent198fcef62892fe0b2fbb3ea8a080fca87843445e (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet into new_statuses
Conflicts: perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/JSON.pm perllib/FixMyStreet/Map/Tilma/Original.pm web/css/core.css
Diffstat (limited to 'templates')
-rw-r--r--templates/email/default/problem-confirm.txt2
-rw-r--r--templates/email/default/update-confirm.txt2
-rw-r--r--templates/email/fiksgatami/problem-confirm.txt2
-rw-r--r--templates/email/fiksgatami/update-confirm.txt2
-rw-r--r--templates/web/default/admin/index.html13
-rw-r--r--templates/web/default/admin/questionnaire.html13
-rw-r--r--templates/web/default/admin/timeline.html2
-rw-r--r--templates/web/default/around/around_map_list_items.html2
-rwxr-xr-xtemplates/web/default/around/display_location.html6
-rw-r--r--templates/web/default/around/on_map_list_items.html2
-rw-r--r--templates/web/default/auth/general.html2
-rw-r--r--templates/web/default/common_header_tags.html4
-rwxr-xr-xtemplates/web/default/faq/faq-en-gb.html12
-rw-r--r--templates/web/default/header.html4
-rw-r--r--templates/web/default/index.html7
-rw-r--r--templates/web/default/maps/fms.html3
-rw-r--r--templates/web/default/maps/openlayers.html2
-rw-r--r--templates/web/default/maps/osm-streetview.html3
-rw-r--r--templates/web/default/maps/osm.html3
-rw-r--r--templates/web/default/maps/pins_js.html2
-rw-r--r--templates/web/default/maps/tilma/openlayers.html26
-rw-r--r--templates/web/default/maps/tilma/original.html89
-rw-r--r--templates/web/default/my/my.html29
-rw-r--r--templates/web/default/pagination.html17
-rw-r--r--templates/web/default/report/new/fill_in_details.html4
-rwxr-xr-xtemplates/web/default/reports/council.html63
-rwxr-xr-xtemplates/web/emptyhomes/faq/faq-en-gb.html2
-rw-r--r--templates/web/emptyhomes/header.html9
-rw-r--r--templates/web/fiksgatami/footer.html2
-rw-r--r--templates/web/lichfield/footer.html128
-rw-r--r--templates/web/lichfield/header.html190
-rw-r--r--templates/web/southampton/header.html5
32 files changed, 460 insertions, 192 deletions
diff --git a/templates/email/default/problem-confirm.txt b/templates/email/default/problem-confirm.txt
index e16c90037..58c1c75d1 100644
--- a/templates/email/default/problem-confirm.txt
+++ b/templates/email/default/problem-confirm.txt
@@ -1,6 +1,6 @@
Subject: Confirm your problem on FixMyStreet
-Hi [% report.user.name %],
+Hi [% report.name %],
Please click on the link below to confirm the problem you just
added to FixMyStreet:
diff --git a/templates/email/default/update-confirm.txt b/templates/email/default/update-confirm.txt
index 9a0db3029..c7571e76c 100644
--- a/templates/email/default/update-confirm.txt
+++ b/templates/email/default/update-confirm.txt
@@ -1,6 +1,6 @@
Subject: Confirm your update on FixMyStreet
-Hi [% update.user.name %],
+Hi [% update.name %],
Please click on the link below to confirm the update you just
wrote:
diff --git a/templates/email/fiksgatami/problem-confirm.txt b/templates/email/fiksgatami/problem-confirm.txt
index 046903270..cd58d95ce 100644
--- a/templates/email/fiksgatami/problem-confirm.txt
+++ b/templates/email/fiksgatami/problem-confirm.txt
@@ -1,6 +1,6 @@
Subject: Bekreftelse på ny sak lagt til på FiksGataMi.no
-Hei [% report.user.name %],
+Hei [% report.name %],
Vennligst klikk på linken under for å bekrefte saken du har lagt til
på FiksGataMi:
diff --git a/templates/email/fiksgatami/update-confirm.txt b/templates/email/fiksgatami/update-confirm.txt
index 70e1c2444..ba13f34b2 100644
--- a/templates/email/fiksgatami/update-confirm.txt
+++ b/templates/email/fiksgatami/update-confirm.txt
@@ -1,6 +1,6 @@
Subject: Bekreft din oppdatering på FiksGataMi
-Hei [% update.user.name %],
+Hei [% update.name %],
Vennligst klikk på lenken under for å bekrefte oppdateringen du skrev
nettopp:
diff --git a/templates/web/default/admin/index.html b/templates/web/default/admin/index.html
index 59722a5ed..d1ed09114 100644
--- a/templates/web/default/admin/index.html
+++ b/templates/web/default/admin/index.html
@@ -11,7 +11,8 @@
[% END -%]
<ul>
- <li>[% tprintf( loc('<strong>%d</strong> live problems'), total_problems_live ) %]</li>
+ <li>[% tprintf( loc('<strong>%d</strong> live problems'), total_problems_live ) %];
+ [% tprintf( loc('from %d different users'), total_problems_users ) %]</li>
<li>[% tprintf( loc('%d live updates'), comments.confirmed || 0 ) %]</li>
<li>[% tprintf( loc('%d confirmed alerts, %d unconfirmed'), alerts.1, alerts.0) %]</li>
<li>[% tprintf( loc('%d questionnaires sent &ndash; %d answered (%s%%)'), questionnaires.total, questionnaires.1, questionnaires_pc) %]</li>
@@ -28,4 +29,14 @@
[% PROCESS states title=loc('Update breakdown by state') object=comments %]
+[% FOREACH category IN categories %]
+ [% IF loop.first %]
+ <h2>[% loc('Category fix rate for problems > 4 weeks old') %]</h2>
+ <table>
+ <tr><th>[% loc('Category') %]</th><th>[% loc('Total') %]</th><th>[% loc('Fixed') %]</th></tr>
+ [% END %]
+ <tr><td>[% category.key %]</td><td>[% category.value.total %]</td><td>[% category.value.fixed / category.value.total * 100 | format('%.1f') %]%</td></tr>
+ [% '</table>' IF loop.last %]
+[% END %]
+
[% INCLUDE 'admin/footer.html' %]
diff --git a/templates/web/default/admin/questionnaire.html b/templates/web/default/admin/questionnaire.html
index baeb7c800..680e0d214 100644
--- a/templates/web/default/admin/questionnaire.html
+++ b/templates/web/default/admin/questionnaire.html
@@ -7,8 +7,8 @@
</tr>
[% IF questionnaires.total > 0 %]
<tr>
- <td>[% questionnaires.1 %] ([% reported_pc %]%)</td>
- <td>[% questionnaires.0 %] ([% not_reported_pc %]%)</td>
+ <td>[% questionnaires.1 %] ([% 100 * questionnaires.1 / questionnaires.total | format('%.1f') %]%)</td>
+ <td>[% questionnaires.0 %] ([% 100 * questionnaires.0 / questionnaires.total | format('%.1f') %]%)</td>
</tr>
[% ELSE %]
<tr>
@@ -18,4 +18,13 @@
[% END %]
</table>
+<h2>[% loc('Problem state change based on survey results') %]</h2>
+
+<table>
+<tr><th>[% loc('Old state') %]</th><th>[% loc('New state') %]</th><th>[% loc('Total') %]</th></tr>
+[% WHILE ( s = state_changes.next ) %]
+<tr><td>[% s.old_state %]</td><td>[% s.new_state %]</td><td>[% s.get_column('c') %] ([% 100 * s.get_column('c') / state_changes_count | format('%.1f') %]%)</td></tr>
+[% END %]
+</table>
+
[% INCLUDE 'admin/footer.html' %]
diff --git a/templates/web/default/admin/timeline.html b/templates/web/default/admin/timeline.html
index a7f4f3628..95120e48c 100644
--- a/templates/web/default/admin/timeline.html
+++ b/templates/web/default/admin/timeline.html
@@ -32,7 +32,7 @@
[% tprintf(loc("Questionnaire %d answered for problem %d, %s to %s"), item.obj.id, item.obj.problem_id, item.obj.old_state, item.obj.new_state ) %]
[% CASE 'update' %]
[% name = ( item.obj.name || 'anonymous' ) | html %]
- [% tprintf(loc("Update %s created for problem %d; by %s"), "<a href='" _ c.uri_for_email( '/report', item.obj.problem_id, c.cobrand_data ) _ "#update_" _ item.obj.id _ "'>" _ item.obj.id _ "</a>", item.obj.problem_id, name) %]&lt;[% item.obj.user.email | html %]&gt;
+ [% tprintf(loc("Update %s created for problem %d; by %s"), "<a href='" _ c.uri_for_email( '/report', item.obj.problem_id, c.cobrand_data ) _ "#update_" _ item.obj.id _ "'>" _ item.obj.id _ "</a>", item.obj.problem_id, name) %] &lt;[% item.obj.user.email | html %]&gt;
[% CASE 'alertSub' %]
[% tprintf(loc("Alert %d created for %s, type %s, parameters %s / %s"), item.obj.id, item.obj.user.email, item.obj.alert_type.ref, item.obj.parameter, item.obj.parameter2) | html %]
[% CASE 'alertDel' %]
diff --git a/templates/web/default/around/around_map_list_items.html b/templates/web/default/around/around_map_list_items.html
index e13e9ccc9..a98f25dbe 100644
--- a/templates/web/default/around/around_map_list_items.html
+++ b/templates/web/default/around/around_map_list_items.html
@@ -5,7 +5,7 @@
<li>
<a href="[% c.uri_for('/report', p.problem.id ) %]">[% p.problem.title | html %]</a>
- <small>([% prettify_epoch( p.problem.confirmed_local.epoch, 1 ) %], [% dist %]km)</small>
+ <small>[% prettify_epoch( p.problem.confirmed_local.epoch, 1 ) %], [% dist %]km</small>
[% IF p.problem.state == 'fixed' %]
<small>[% loc('(fixed)') %]</small>
[% END %]
diff --git a/templates/web/default/around/display_location.html b/templates/web/default/around/display_location.html
index 529c12eec..395054645 100755
--- a/templates/web/default/around/display_location.html
+++ b/templates/web/default/around/display_location.html
@@ -36,7 +36,9 @@
%]
<form action="[% c.uri_for('/report/new') %]" method="post" name="mapForm" id="mapForm">
-<input type="hidden" name="map" value="[% c.req.params.map | html %]">
+[% IF c.req.params.map_override %]
+<input type="hidden" name="map_override" value="[% c.req.params.map_override | html %]">
+[% END %]
<input type="hidden" name="pc" value="[% pc | html %]">
[% c.cobrand.form_elements('mapForm') %]
@@ -101,7 +103,7 @@
</ul>
- <h2 id="closest_problems">
+ <h2>
[%
tprintf(
loc( 'Closest nearby problems <small>(within&nbsp;%skm)</small>' ),
diff --git a/templates/web/default/around/on_map_list_items.html b/templates/web/default/around/on_map_list_items.html
index 9db3d9492..2db7d00d2 100644
--- a/templates/web/default/around/on_map_list_items.html
+++ b/templates/web/default/around/on_map_list_items.html
@@ -2,7 +2,7 @@
[% FOREACH p IN on_map %]
<li>
<a href="[% c.uri_for('/report', p.id ) %]">[% p.title | html %]</a>
- <small>([% prettify_epoch( p.confirmed_local.epoch, 1 ) %])</small>
+ <small>[% prettify_epoch( p.confirmed_local.epoch, 1 ) %]</small>
[% IF p.state == 'fixed' %]
<small>[% loc('(fixed)') %]</small>
[% END %]
diff --git a/templates/web/default/auth/general.html b/templates/web/default/auth/general.html
index 5f9a09199..234aadf52 100644
--- a/templates/web/default/auth/general.html
+++ b/templates/web/default/auth/general.html
@@ -20,7 +20,7 @@
[% IF loc_email_error %]
<div class="form-error">[% loc_email_error %]</div>
[% ELSIF sign_in_error %]
- <div class="form-error">[% loc('There was a problem with your email/password combination. Please try again.') %]</div>
+ <div class="form-error">[% loc('There was a problem with your email/password combination. Passwords and user accounts are a brand <strong>new</strong> service, so you probably do not have one yet &ndash; please fill in the right hand side of this form to get one.') %]</div>
[% END %]
<div class="form-field">
diff --git a/templates/web/default/common_header_tags.html b/templates/web/default/common_header_tags.html
index e69dac27d..f9048b067 100644
--- a/templates/web/default/common_header_tags.html
+++ b/templates/web/default/common_header_tags.html
@@ -1,11 +1,13 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
-<script type="text/javascript" src="/yui/utilities.js"></script>
+<script type="text/javascript" src="/jslib/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="/js/fixmystreet.js"></script>
[% map_js %]
[% IF robots %]
<meta name="robots" content="[% robots %]">
+[% ELSIF c.config.STAGING_SITE %]
+ <meta name="robots" content="noindex,nofollow">
[% END %]
[% IF rss %]
diff --git a/templates/web/default/faq/faq-en-gb.html b/templates/web/default/faq/faq-en-gb.html
index 0907d6275..e943bf28f 100755
--- a/templates/web/default/faq/faq-en-gb.html
+++ b/templates/web/default/faq/faq-en-gb.html
@@ -17,13 +17,15 @@ or clearing</strong>, such as:
<li>Flyposting or graffiti
<li>Flytipping or litter
<li>Streetcleaning, such as broken glass in a cycle lane
+ [% IF c.cobrand.moniker != 'southampton' %]
<li>Unlit lamposts
+ [% END %]
<li>Potholes
</ul>
</dd>
<dt>What isn&rsquo;t FixMyStreet for?</dt>
- <dd>FixMyStreet is not a way of getting in touch with your council for all
+ <dd>FixMyStreet is not a way of getting in touch with [% c.cobrand.moniker == 'southampton' ? 'the' : 'your' %] council for all
issues &ndash; please use FixMyStreet only for problems such as the above. We
often route problem reports via cleansing services or highways and so using
FixMyStreet for other matters may result in a delay in your report getting
@@ -49,10 +51,10 @@ with a map of that area. You can view problems already reported in that area,
or report ones of your own simply by clicking on the map at the location of
the problem.</dd>
<dt>How are the problems solved?</dt>
- <dd>They are reported to the relevant council by email. The
+ <dd>They are reported to the [% IF c.cobrand.moniker != 'southampton' %]relevant[% END %] council by email. The
council can then resolve the problem the way they normally would.
-Alternatively, you can discuss the problem on the website with others, and
-then together lobby the council to fix it, or fix it directly yourselves.</dd>
+Alternatively, you can discuss the problem on the website with others[% IF c.cobrand.moniker != 'southampton' %], and
+then together lobby the council to fix it, or fix it directly yourselves[% END %].</dd>
<dt>Is it free?</dt>
<dd>The site is free to use, yes. FixMyStreet is run
by a registered charity, though, so if you want to make a contribution, <a
@@ -90,6 +92,8 @@ href="https://secure.mysociety.org/donate/">please do</a>.</dd>
<dd>You can either leave a test report or <a href="/contact">contact us</a>
to find out where reports go at the moment. Also <a href="/contact">contact us</a>
to update the address or addresses we use.</dd>
+ <dt>I&rsquo;m from a council, can we have FixMyStreet on our website?</dt>
+ <dd>Yes you can! We offer branded, hosted versions of FixMyStreet for local council websites. <a href="http://www.mysociety.org/fixmystreet-for-local-council-websites/">Full details</a>.</dd>
<dt>Do you remove silly or illegal content?</dt>
<dd>FixMyStreet is not responsible for the content and accuracy
of material submitted by its users. We reserve the right to edit or remove any
diff --git a/templates/web/default/header.html b/templates/web/default/header.html
index 4221de86b..431e6db65 100644
--- a/templates/web/default/header.html
+++ b/templates/web/default/header.html
@@ -9,6 +9,10 @@
<style type="text/css">@import url("/css/ie6.css");</style>
<![endif]-->
+ [% IF c.req.uri.host == 'osm.fixmystreet.com' %]
+ <link rel="canonical" href="http://www.fixmystreet.com[% c.req.uri.path_query %]">
+ [% END %]
+
</head>
<body>
diff --git a/templates/web/default/index.html b/templates/web/default/index.html
index 4443e060f..131701b0e 100644
--- a/templates/web/default/index.html
+++ b/templates/web/default/index.html
@@ -82,11 +82,4 @@
</div>
[% END %]
-[% IF c.cobrand.moniker == 'emptyhomes' %]
-<div id="eha_advert">
- Now is the best time to turn empty properties into empty homes... Don't miss it!
- <a href="http://www.emptyhomes.com/EHConference2011.html">Home Again: Empty Homes National Conference 2011</a>
-</div>
-[% END %]
-
[% INCLUDE 'footer.html' %]
diff --git a/templates/web/default/maps/fms.html b/templates/web/default/maps/fms.html
index 36fd48467..6e6d747bf 100644
--- a/templates/web/default/maps/fms.html
+++ b/templates/web/default/maps/fms.html
@@ -3,6 +3,9 @@
<script type="text/javascript" src="/jslib/OpenLayers-2.10/OpenLayers.js"></script>
<script type="text/javascript" src="/js/map-OpenLayers.js"></script>
<script type="text/javascript" src="/js/map-bing-ol.js"></script>
+<!--[if lte IE 6]>
+ <link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" />
+<![endif]-->
[% END %]
[% map_html = BLOCK %]
diff --git a/templates/web/default/maps/openlayers.html b/templates/web/default/maps/openlayers.html
index 45551c3d5..b84799fdd 100644
--- a/templates/web/default/maps/openlayers.html
+++ b/templates/web/default/maps/openlayers.html
@@ -86,7 +86,7 @@ var fixmystreet = {
<a title="[% pin.title | html %]" href="[% c.uri_for('/report/' _ pin.id) %]">
[%- END -%]
<img border="0" class="pin" src="[% c.uri_for('/i/pin' _ cols.${pin.colour} _ '.gif') %]"
- alt="[% loc('Problem') %]" style="top:[% pin.py - 59 %]px; left:[% pin.px %]px; position: absolute;">
+ alt="[% loc('Problem') %]" style="top:[% pin.py - 59 %]px; left:[% pin.px - 2 %]px; position: absolute;">
[%- IF pin.id -%]
</a>
[% END %]
diff --git a/templates/web/default/maps/osm-streetview.html b/templates/web/default/maps/osm-streetview.html
index ba8d1fba4..9de99c253 100644
--- a/templates/web/default/maps/osm-streetview.html
+++ b/templates/web/default/maps/osm-streetview.html
@@ -2,6 +2,9 @@
<script type="text/javascript" src="/jslib/OpenLayers-2.10/OpenLayers.js"></script>
<script type="text/javascript" src="/js/map-OpenLayers.js"></script>
<script type="text/javascript" src="/js/map-streetview.js"></script>
+<!--[if lte IE 6]>
+ <link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" />
+<![endif]-->
[% END %]
[% map_html = BLOCK %]
diff --git a/templates/web/default/maps/osm.html b/templates/web/default/maps/osm.html
index c6529566e..e2762ee26 100644
--- a/templates/web/default/maps/osm.html
+++ b/templates/web/default/maps/osm.html
@@ -2,6 +2,9 @@
<script type="text/javascript" src="/jslib/OpenLayers-2.10/OpenLayers.js"></script>
<script type="text/javascript" src="/js/map-OpenLayers.js"></script>
<script type="text/javascript" src="/js/map-OpenStreetMap.js"></script>
+<!--[if lte IE 6]>
+ <link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" />
+<![endif]-->
[% END %]
[% map_html = BLOCK %]
diff --git a/templates/web/default/maps/pins_js.html b/templates/web/default/maps/pins_js.html
index 4a5814b15..355fffaba 100644
--- a/templates/web/default/maps/pins_js.html
+++ b/templates/web/default/maps/pins_js.html
@@ -1,4 +1,4 @@
[ [% FOR pin IN map.pins -%]
- [ [% pin.latitude %], [% pin.longitude %], '[% pin.colour %]', '[% pin.id %]', '[% pin.title %]' ]
+ [ [% pin.latitude %], [% pin.longitude %], '[% pin.colour %]', '[% pin.id %]', "[% pin.title | escape_js %]" ]
[%- IF !loop.last %],[% END %]
[% END %] ]
diff --git a/templates/web/default/maps/tilma/openlayers.html b/templates/web/default/maps/tilma/openlayers.html
deleted file mode 100644
index c8ae53bfe..000000000
--- a/templates/web/default/maps/tilma/openlayers.html
+++ /dev/null
@@ -1,26 +0,0 @@
-[% map_js = BLOCK %]
-<script type="text/javascript" src="/jslib/OpenLayers-2.10/OpenLayers.js"></script>
-<script type="text/javascript" src="/js/map-OpenLayers.js"></script>
-<script type="text/javascript" src="/js/map-tilma-ol.js"></script>
-<script type="text/javascript" src="/js/OpenLayers.Projection.OrdnanceSurvey.js"></script>
-[% END %]
-
-[% map_html = BLOCK %]
-<script type="text/javascript">
-var fixmystreet = {
- 'tilewidth': [% map.tilewidth %],
- 'tileheight': [% map.tilewidth %],
- 'latitude': [% map.latitude %],
- 'longitude': [% map.longitude %],
- 'pins': [% INCLUDE maps/pins_js.html %],
- 'tile_type': '[% map.tile_type %]',
- 'maxResolution': [% map.maxResolution %]
-};
-</script>
-<div id="map_box">
- [% pre_map %]
- <div id="map">
- [% '<div id="watermark"></div>' IF map.watermark %]
- </div>
- <p id="copyright">[% map.copyright %]</p>
-[% END %]
diff --git a/templates/web/default/maps/tilma/original.html b/templates/web/default/maps/tilma/original.html
deleted file mode 100644
index 5a07683ac..000000000
--- a/templates/web/default/maps/tilma/original.html
+++ /dev/null
@@ -1,89 +0,0 @@
-[% map_js = BLOCK %]
-<script type="text/javascript" src="/js/map-tilma.js"></script>
-[% END %]
-
-[% map_html = BLOCK %]
-
-[% IF !map.tiles %]
- <div id="map_box">
- <div id="map"><div id="drag">
- [% loc("Unable to fetch the map tiles from the tile server.") %]
- </div></div>
- [% RETURN %]
-[% END %]
-
-[% IF map.clickable %]
-<input type="hidden" name="x" id="formX" value="[% map.x %]">
-<input type="hidden" name="y" id="formY" value="[% map.y %]">
- [% map.img_type = 'input type="image"' %]
-[% ELSE %]
- [% map.img_type = 'img' %]
-[% END %]
-<script type="text/javascript">
-[% c.cobrand.root_path_js %]
-var fixmystreet = {
- 'all_pins': [% all_pins || "''" | html %],
- 'x': [% map.x - 3 %],
- 'y': [% map.y - 3 %],
- 'start_x': [% map.px %],
- 'start_y': [% map.py %],
- 'tile_type': '[% map.tile_type %]',
- 'tilewidth': [% map.tilewidth %],
- 'tileheight': [% map.tilewidth %]
-};
-</script>
-<div id="map_box">
- [% pre_map %]
- <div id="map"><div id="drag">
- <[% map.img_type %]
- alt="NW map tile" id="t2.2" name="tile_[% map.x - 1 %].[% map.y %]" src="[% map.url %][% map.tileids.0.0 %]" style="top:0px; left:0;"><[% map.img_type %]
- alt="NE map tile" id="t2.3" name="tile_[% map.x %].[% map.y %]" src="[% map.url %][% map.tileids.0.1 %]" style="top:0px; left:[% map.tilewidth %]px;"><br><[% map.img_type %]
- alt="SW map tile" id="t3.2" name="tile_[% map.x - 1 %].[% map.y - 1 %]" src="[% map.url %][% map.tileids.1.0 %]" style="top:[% map.tilewidth %]px; left:0;"><[% map.img_type %]
- alt="SE map tile" id="t3.3" name="tile_[% map.x %].[% map.y - 1 %]" src="[% map.url %][% map.tileids.1.1 %]" style="top:[% map.tilewidth %]px; left:[% map.tilewidth %]px;">
- <div id="pins">[% FOR pin IN map.pins %][% INCLUDE pin %][% END %]</div>
- </div>
- [% '<div id="watermark"></div>' IF map.watermark %]
- [% INCLUDE compass %]
- </div>
- <p id="copyright">[% map.copyright %]</p>
-[% END %]
-
-
-[% BLOCK pin %]
-
-[% num = '' IF !num or num > 9;
- cols = {
- red = 'R', green = 'G', blue = 'B', purple = 'P',
- }
-%]
-[% IF pin.id %]
-<a title="[% pin.title | html %]" href="[% c.uri_for('/report/' _ pin.id) %]">
-[%- END -%]
-<img class="pin" src="[% c.uri_for('/i/pin' _ cols.${pin.colour} _ num _ '.gif') %]"
- alt="[% loc('Problem') %]" style="top:[% pin.py - 59 %]px; left:[% pin.px %]px; position: absolute;">
-[%- IF pin.id -%]
-</a>
-[% END %]
-
-[% END %]
-
-
-[% BLOCK compass %]
- <table cellpadding="0" cellspacing="0" border="0" id="compass">
- <tr valign="bottom">
- <td align="right"><a href="[% c.req.uri_with( { x => map.x - 1, y => map.y + 1 } ) %]"><img src="[% c.uri_for('/i/arrow-northwest.gif') %]" alt="NW" width=11 height=11></a></td>
- <td align="center"><a href="[% c.req.uri_with( { x => map.x, y => map.y + 1 } ) %]"><img src="[% c.uri_for('/i/arrow-north.gif') %]" vspace="3" alt="N" width=13 height=11></a></td>
- <td><a href="[% c.req.uri_with( { x => map.x + 1, y => map.y + 1 } ) %]"><img src="[% c.uri_for('/i/arrow-northeast.gif') %]" alt="NE" width=11 height=11></a></td>
- </tr>
- <tr>
- <td><a href="[% c.req.uri_with( { x => map.x - 1, y => map.y } ) %]"><img src="[% c.uri_for('/i/arrow-west.gif') %]" hspace="3" alt="W" width=11 height=13></a></td>
- <td align="center"><a href="$recentre"><img src="[% c.uri_for('/i/rose.gif') %]" alt="Recentre" width=35 height=34></a></td>
- <td><a href="[% c.req.uri_with( { x => map.x + 1, y => map.y } ) %]"><img src="[% c.uri_for('/i/arrow-east.gif') %]" hspace="3" alt="E" width=11 height=13></a></td>
- </tr>
- <tr valign="top">
- <td align="right"><a href="[% c.req.uri_with( { x => map.x - 1, y => map.y - 1 } ) %]"><img src="[% c.uri_for('/i/arrow-southwest.gif') %]" alt="SW" width=11 height=11></a></td>
- <td align="center"><a href="[% c.req.uri_with( { x => map.x, y => map.y - 1 } ) %]"><img src="[% c.uri_for('/i/arrow-south.gif') %]" vspace="3" alt="S" width=13 height=11></a></td>
- <td><a href="[% c.req.uri_with( { x => map.x + 1, y => map.y - 1 } ) %]"><img src="[% c.uri_for('/i/arrow-southeast.gif') %]" alt="SE" width=11 height=11></a></td>
- </tr>
- </table>
-[% END %]
diff --git a/templates/web/default/my/my.html b/templates/web/default/my/my.html
index e7f4ca72d..2147ef5f2 100644
--- a/templates/web/default/my/my.html
+++ b/templates/web/default/my/my.html
@@ -13,7 +13,10 @@
<h1>[% loc('Your Reports') %]</h1>
-[% INCLUDE pagination, pager = problems_pager %]
+[% INCLUDE 'pagination.html',
+ pager = problems_pager,
+ param = 'p'
+%]
[% FOREACH p = problems.confirmed %]
[% IF loop.first %]<h2>[% loc('Open reports') %]</h2>[% END %]
@@ -35,7 +38,10 @@ END %]
[% FOREACH u IN updates %]
[% IF loop.first %]
<h2>[% loc('Your updates') %]</h2>
- [% INCLUDE pagination, pager = updates_pager %]
+ [% INCLUDE 'pagination.html',
+ pager = updates_pager,
+ param = 'u'
+ %]
<ul>
[% END %]
@@ -68,22 +74,3 @@ END %]
[% "</ul>" IF loop.last %]
[% END %]
-[% BLOCK pagination %]
- [% IF pager.last_page > 1 %]
- <p>
- [% IF pager.previous_page %]
- <a href="[% c.req.uri_with({'p_page' => pager.previous_page}) %]">&larr; Previous</a>
- [% ELSE %]
- &larr; Previous
- [% END %]
- |
- [% pager.first %] to [% pager.last %] of [% pager.total_entries %]
- |
- [% IF pager.next_page %]
- <a href="[% c.req.uri_with({'p_page' => pager.next_page}) %]">Next &rarr;</a>
- [% ELSE %]
- Next &rarr;
- [% END %]
- </p>
- [% END %]
-[% END %]
diff --git a/templates/web/default/pagination.html b/templates/web/default/pagination.html
new file mode 100644
index 000000000..f5a1192d1
--- /dev/null
+++ b/templates/web/default/pagination.html
@@ -0,0 +1,17 @@
+[% IF pager.last_page > 1 %]
+ <p>
+ [% IF pager.previous_page %]
+ <a href="[% c.req.uri_with({ $param => pager.previous_page }) %]">&larr; Previous</a>
+ [% ELSE %]
+ &larr; Previous
+ [% END %]
+ |
+ [% pager.first %] to [% pager.last %] of [% pager.total_entries %]
+ |
+ [% IF pager.next_page %]
+ <a href="[% c.req.uri_with({ $param => pager.next_page }) %]">Next &rarr;</a>
+ [% ELSE %]
+ Next &rarr;
+ [% END %]
+ </p>
+[% END %]
diff --git a/templates/web/default/report/new/fill_in_details.html b/templates/web/default/report/new/fill_in_details.html
index 32d4a733b..8150ba894 100644
--- a/templates/web/default/report/new/fill_in_details.html
+++ b/templates/web/default/report/new/fill_in_details.html
@@ -5,7 +5,9 @@
[% IF report.used_map %]
<form action="[% c.uri_for('/report/new') %]" method="post" name="mapForm" id="mapForm"[% IF c.cobrand.allow_photo_upload %] enctype="multipart/form-data"[% END %]>
-<input type="hidden" name="map" value="[% c.req.params.map | html %]">
+[% IF c.req.params.map_override %]
+<input type="hidden" name="map_override" value="[% c.req.params.map_override | html %]">
+[% END %]
<input type="hidden" name="pc" value="[% pc | html %]">
[% c.cobrand.form_elements('mapForm') %]
[% ELSE %]
diff --git a/templates/web/default/reports/council.html b/templates/web/default/reports/council.html
index d2578f9f2..2b004cf50 100755
--- a/templates/web/default/reports/council.html
+++ b/templates/web/default/reports/council.html
@@ -18,12 +18,12 @@
[% map_html %]
-[% IF children %]
+[% IF children.size %]
<h2 style="clear:right">[% loc('Wards of this council') %]</h2>
<p>[% loc('Follow a ward link to view only reports within that ward.') %]</p>
<ul>
-[% FOR c IN children.values.sort('name') %]
-<li><a href="[% c.url %]">[% c.name %]</a></p>
+[% FOR child IN children.values.sort('name') %]
+<li><a href="[% child.url %]">[% child.name %]</a></p>
[% END %]
</ul>
[% END %]
@@ -31,7 +31,35 @@
</div>
<div id="side">
+[% IF council.generation_high == 10 AND c.cobrand.country == 'GB' %]
+<p id="unknown">This council no longer exists.
+[% IF council.name.match('Penwith|Kerrier|Carrick|Restormel|Caradon|North Cornwall') %]
+Its area is now covered by <a href="/reports/Cornwall">Cornwall Council</a>.
+[% ELSIF council.name.match('Durham|Easington|Sedgefield|Teesdale|Wear Valley|Derwentside|Chester le Street') %]
+Its area is now covered by <a href="/reports/Durham+County">Durham County Council</a>.
+[% ELSIF council.name.match('Blyth Valley|Wansbeck|Castle Morpeth|Tynedale|Alnwick|Berwick upon Tweed') %]
+Its area is now covered by <a href="/reports/Northumberland">Northumberland County Council</a>.
+[% ELSIF council.name.match('North Shropshire|Oswestry|Shrewsbury and Atcham|South Shropshire|Bridgnorth') %]
+Its area is now covered by <a href="/reports/Shropshire">Shropshire Council</a>.
+[% ELSIF council.name.match('Salisbury|West Wiltshire|Kennet|North Wiltshire') %]
+Its area is now covered by <a href="/reports/Wiltshire">Wiltshire Council</a>.
+[% ELSIF council.name.match('Ellesmere Port and Neston|Vale Royal|Chester') %]
+Its area is now covered by <a href="/reports/Cheshire+West+and+Chester">Cheshire West and Chester Council</a>.
+[% ELSIF council.name.match('Macclesfield|Congleton|Crewe and Nantwich') %]
+Its area is now covered by <a href="/reports/Cheshire+East">Cheshire East Council</a>.
+[% ELSIF council.name.match('Mid Bedfordshire|South Bedfordshire') %]
+Its area is now covered by <a href="/reports/Central+Bedfordshire">Central Bedfordshire Council</a>.
+[% ELSIF council.name.match('Cheshire') %]
+Its area is now covered by <a href="/reports/Cheshire+West+and+Chester">Cheshire West and Chester Council</a> or
+<a href="/reports/Cheshire+East">Cheshire East Council</a>.
+[% ELSIF council.name.match('Bedfordshire') %]
+Its area is now covered by <a href="/reports/Bedford">Bedford Borough Council</a> or
+<a href="/reports/Central+Bedfordshire">Central Bedfordshire Council</a>.
+[% END %]
+</p>
+[% ELSE %]
<p><a href="[% rss_url %]"><img align="right" src="/i/feed.png" width="16" height="16" title="[% loc('RSS feed') %]" alt="[% tprintf(loc('RSS feed of problems in this %s'), thing) %]" border="0" hspace="4"></a>
+[% END %]
[% IF c.cobrand.all_councils_report %]
[% tprintf( loc('This is a summary of all reports for one %s.'), thing ) %]
@@ -47,7 +75,14 @@
<h2>[% name %]</h2>
- [% INCLUDE 'pagination' %]
+[% IF c.cobrand.moniker == '' %]
+<p class="promo">
+ FixMyStreet is now available for local council websites.
+ <a href="http://www.mysociety.org/fixmystreet-for-local-council-websites/">Find&nbsp;out&nbsp;more</a>.
+</p>
+[% END %]
+
+ [% INCLUDE 'pagination.html', param = 'p' %]
[% INCLUDE column
title = loc('Recently fixed')
@@ -104,23 +139,3 @@
[% END %]
[% END %]
-[% BLOCK pagination %]
- [% IF pager.last_page > 1 %]
- <p>
- [% IF pager.previous_page %]
- <a href="[% c.req.uri_with({'p' => pager.previous_page}) %]">&larr; Previous</a>
- [% ELSE %]
- &larr; Previous
- [% END %]
- |
- [% pager.first %] to [% pager.last %] of [% pager.total_entries %]
- |
- [% IF pager.next_page %]
- <a href="[% c.req.uri_with({'p' => pager.next_page}) %]">Next &rarr;</a>
- [% ELSE %]
- Next &rarr;
- [% END %]
- </p>
- [% END %]
-[% END %]
-
diff --git a/templates/web/emptyhomes/faq/faq-en-gb.html b/templates/web/emptyhomes/faq/faq-en-gb.html
index 1da62a41d..0222fcd9e 100755
--- a/templates/web/emptyhomes/faq/faq-en-gb.html
+++ b/templates/web/emptyhomes/faq/faq-en-gb.html
@@ -68,7 +68,7 @@ save 10 million tonnes of CO<sub>2</sub> over building the same number of new ho
<h2>Privacy Questions</h2>
<dl>
<dt>Who gets to see my email address?</dt>
- <dd>If you submit an empty property, your details are obviously provided to us.
+ <dd>If you submit an empty property, your details are provided to us and to the council.
Your name is displayed upon the site if you let us, but not your email address;
similarly with updates. We will never give or sell your email address to
anyone else, unless we are obliged to by law.</dd>
diff --git a/templates/web/emptyhomes/header.html b/templates/web/emptyhomes/header.html
index 08d1b1a05..ca51d8060 100644
--- a/templates/web/emptyhomes/header.html
+++ b/templates/web/emptyhomes/header.html
@@ -40,6 +40,15 @@
</ul>
</div>
+<ul id="meta">
+ [% IF c.user_exists %]
+ <li>[% tprintf(loc('Signed in as %s'), c.user.name || c.user.email) %]
+ <li><a href="/auth/sign_out">[% loc('Sign out') %]</a></li>
+ [% ELSE %]
+ <li>&nbsp;</li>
+ [% END %]
+</ul>
+
<div id="wrapper">
<div id="mysociety">
diff --git a/templates/web/fiksgatami/footer.html b/templates/web/fiksgatami/footer.html
index a7f899af4..7ad580fa0 100644
--- a/templates/web/fiksgatami/footer.html
+++ b/templates/web/fiksgatami/footer.html
@@ -12,7 +12,7 @@
<div id="logo" align="center"><a href="http://www.nuug.no/">Foreningen NUUG</a></div>
<p id="footer">
- [% loc('Built by <a href="http://www.mysociety.org/">mySociety</a> and maintained by <a href="http://www.nuug.no/">NUUG</a>, using some <a href="http://github.com/mysociety/fixmystreet">clever</a>&nbsp;<a href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/services/TilMa">code</a>.') %]
+ [% loc('Built by <a href="http://www.mysociety.org/">mySociety</a> and maintained by <a href="http://www.nuug.no/">NUUG</a>') %] | <a href="http://github.com/mysociety/fixmystreet">[% loc('Source code') %]</a>
</p>
[% INCLUDE 'tracking_code.html' %]
diff --git a/templates/web/lichfield/footer.html b/templates/web/lichfield/footer.html
new file mode 100644
index 000000000..2a0fee889
--- /dev/null
+++ b/templates/web/lichfield/footer.html
@@ -0,0 +1,128 @@
+ </div>
+ <br class="cl">
+ </div><!-- end content -->
+ </div><!-- end wrap -->
+
+ </div><!-- End content -->
+
+ <div class="colinfo">
+ <form action="http://www.lichfielddc.gov.uk/site/scripts/documents.php" method="get" class="catNav" name="catNav">
+ <h2>Information on...</h2>
+ <select name="categoryID" onchange="submitform('catNav')">
+ <option value="100001">Advice and benefits</option>
+ <option value="100002">Business</option>
+
+ <option value="100003">Community and living</option>
+ <option value="100004">Council and democracy</option>
+ <option value="100005">Education and learning</option>
+ <option value="100006">Environment and planning</option>
+ <option value="100007">Housing</option>
+ <option value="100008">Jobs and careers</option>
+
+ <option value="100009">Leisure and culture</option>
+ <option value="100010">Health and social care</option>
+ <option value="100011">Transport and streets</option>
+ </select>
+ <noscript><input type="submit" value="Go" class="button" id="go"/></noscript>
+ </form>
+ </div>
+
+<ul id="column_nav">
+ <li class="column_widget">
+ <h2>FixMyStreet</h2>
+ <ul>
+ [% IF c.user_exists %]
+ <li class="section">[% tprintf(loc('Signed in as %s'), c.user.name || c.user.email) %]</li>
+ <li class="section"><a href="/auth/sign_out">[% loc('Sign out') %]</a></li>
+ [% END %]
+ <li class="section"><a href="/">Report a problem</a></li>
+ <li class="section"><a href="/reports/Lichfield">All reports</a></li>
+ <li class="section"><a href="/my">Your reports</a></li>
+ <li class="section"><a href="/alert">Local alerts</a></li>
+ <li class="section"><a href="/faq">Help</a></li>
+ <li class="section"><a href="/contact">Contact</a></li>
+ </ul>
+ </li>
+ <!-- End left-hand supplements -->
+
+</ul>
+ <br class="clear" />
+ </div>
+
+ </div>
+ <br class="clear" />
+ <br class="clear" />
+
+ <ul class="contactbox">
+ <li class="taxonomy">
+ <h2>Browse council information on...</h2>
+ <ul>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100001">Advice and benefits</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100002">Business</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100003">Community and living</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100004">Council and democracy</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100005">Education and learning</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100006">Environment and planning</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100007">Housing</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100008">Jobs and careers</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100009">Leisure and culture</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100010">Health and social care</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100011">Transport and streets</a></li>
+ </ul>
+ </li>
+ <li class="contact vcard">
+ <a href="http://www.lichfielddc.gov.uk/site/scripts/location.php"><img src="http://www.lichfielddc.gov.uk/site/images/map.gif" alt="" /></a>
+ <h2>Get in touch or visit...</h2>
+ <ul>
+ <li><a href="http://www.lichfielddc.gov.uk/site/custom_scripts/feedback2.php">Your feedback or comments</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/faqs_ask.php">Ask a question about our services</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/location.php">Our location and travel details</a></li>
+ </ul>
+ <p class="fn councilName">Lichfield District Council</p>
+ <p class="phone tel">Phone our call centre: <span>01543 308 000</span></p>
+ <p class="adr">District Council House, Frog Lane, Lichfield, Staffs, WS13 6YY</p>
+ </li>
+ <li class="focus">
+ <h2>Our focus and priorities...</h2>
+ <ul>
+ <li><h3><a href="http://www.lichfielddc.gov.uk/people">Centred on people</a></h3>
+ <a href="http://www.lichfielddc.gov.uk/people"><img src="http://www.lichfielddc.gov.uk/site/images/people.gif" alt="" /></a>
+ </li>
+ <li><h3><a href="http://www.lichfielddc.gov.uk/place">Focused on place</a></h3>
+ <a href="http://www.lichfielddc.gov.uk/place"><img src="http://www.lichfielddc.gov.uk/site/images/place.gif" alt="" /></a>
+ </li>
+ <li><h3><a href="http://www.lichfielddc.gov.uk/improvement">Delivering through improvement</a></h3>
+ <a href="http://www.lichfielddc.gov.uk/improvement"><img src="http://www.lichfielddc.gov.uk/site/images/improvement.gif" alt="" /></a>
+ </li>
+ </ul>
+ </li>
+ </ul><!-- end contactbox -->
+ <div id="footer">
+ <img src="http://www.lichfielddc.gov.uk/site/images/footer-logo.gif" alt="Lichfield District Council" />
+ <p class="addNav"><a href="http://www.lichfielddc.gov.uk/site/custom_scripts/mysociety/footer.php?#mast">Jump to the top</a></p>
+ <p class="addNav"><a href="http://www.lichfielddc.gov.uk/site/scripts/terms.php">Terms and Disclaimer</a> - <a href="http://www.lichfielddc.gov.uk/site/scripts/accessibility.php">Accessibility Statement</a> - <a href="http://www.lichfielddc.gov.uk/site/scripts/website_statistics.php">Websites statistics</a> - <a accesskey="3" href="http://www.lichfielddc.gov.uk/site/scripts/site_map.php">Site map</a> - Lichfield District Council &copy; 2010</p>
+
+ <p class="addNav">Made with <a href="http://validator.w3.org/">XHTML</a> and <a href="http://jigsaw.w3.org/css-validator/">CSS</a> to <a href="http://www.w3.org/WAI/WCAG1AA-Conformance">WAI-AA</a>. <a href="http://www.icra.org">ICRA</a> rated. Powered by Jadu <a href="http://www.jadu.co.uk" >Content Management</a>.</p>
+
+ <p class="addNav"><a href="http://www.direct.gov.uk">www.direct.gov.uk</a> - A Beacon Authority</p>
+
+<p class="hidden">
+ <a accesskey="1" href="http://www.lichfielddc.gov.uk">Homepage</a> /
+ <a accesskey="2" href="http://www.lichfielddc.gov.uk/site/scripts/whats_new_index.php">Whats new </a> /
+ <a accesskey="3" href="http://www.lichfielddc.gov.uk/site/scripts/site_map.php">Site map</a> /
+ <a accesskey="4" href="http://www.lichfielddc.gov.uk/site/scripts/search_index.php">Search facility </a> /
+ <a accesskey="5" href="http://www.lichfielddc.gov.uk/site/scripts/faqs_index.php">Frequently asked questions</a> /
+ <a accesskey="7" href="http://www.lichfielddc.gov.uk/site/scripts/contact.php">Complaints procedure (Contacting the Council page)</a> /
+ <a accesskey="8" href="http://www.lichfielddc.gov.uk/site/scripts/terms.php">Terms and Privacy</a> /
+ <a accesskey="9" href="http://www.lichfielddc.gov.uk/site/scripts/feedback.php">Feedback</a> /
+ <a accesskey="0" href="http://www.lichfielddc.gov.uk/site/scripts/accessibility.php">Access key details</a> /
+ <a accesskey="/" href="#mast">Top of the page</a>
+</p>
+
+
+</div>
+</div>
+<!-- #################################### -->
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript"> _uacct = "UA-511839-1"; urchinTracker(); </script>
+</body>
+</html>
diff --git a/templates/web/lichfield/header.html b/templates/web/lichfield/header.html
new file mode 100644
index 000000000..7b414159a
--- /dev/null
+++ b/templates/web/lichfield/header.html
@@ -0,0 +1,190 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="[% lang_code %]">
+<head>
+
+<style type="text/css">
+ @import url(/css/core.css);
+ @import url(/cobrands/lichfield/css/layout.css);
+</style>
+
+ <link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/standard.css" media="screen" />
+<link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/style.php" media="screen" />
+
+<!--[if lte IE 6]>
+ <link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/ie_special.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/ie_special_print.css" media="print" />
+<![endif]-->
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/ie-seven.css" media="screen" />
+<![endif]-->
+
+<link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/print.css" media="print" />
+<link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/handheld.css" media="handheld" />
+<link rel="stylesheet" type="text/css" href="/assets/lichfielddc/reset.css">
+<link rel="stylesheet" type="text/css" href="/pet.css">
+<link rel="stylesheet" type="text/css" href="/assets/lichfielddc/css.css">
+
+<link rel="Shortcut Icon" type="image/x-icon" href="http://www.lichfielddc.gov.uk/site/favicon.ico" />
+<link rel="ToC" href="http://www.lichfielddc.gov.uk/site/scripts/site_map.php" />
+
+ <link rel="search" type="application/opensearchdescription+xml" href="http://www.lichfielddc.gov.uk/openSearch.php" title="Lichfield District Council" />
+
+ <!-- general metadata -->
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta http-equiv="content-language" content="en" />
+ <meta name="generator" content="http://www.jadu.co.uk" />
+ <meta name="robots" content="index,follow" />
+ <meta name="revisit-after" content="2 days" />
+ <meta name="Author-Template" content="Jadu CSS design" />
+ <meta name="Author" content="Lichfield District Council" />
+ <meta name="Publisher" content="Lichfield District Council, District Council House, Frog Lane, Lichfield, Staffordshire. WS13 6YY" />
+ <meta name="Publisher-Email" content="webmaster@lichfielddc.gov.uk" />
+ <meta name="Coverage" content="Worldwide" />
+
+ <!-- ICRA PICS label -->
+ <link rel="meta" href="http://www.lichfielddc.gov.uk/labels.rdf" type="application/rdf+xml" title="ICRA labels" />
+ <!-- Dublin Core Metadata -->
+ <meta name="DC.creator" lang="en" content="Lichfield District Council" />
+ <meta name="DC.date.created" lang="en" content="PARAM_DATE" />
+ <meta name="DC.format" lang="en" content="text/html" />
+ <meta name="DC.language" content="en" />
+ <meta name="DC.publisher" lang="en" content="Lichfield District Council, District Council House, Frog Lane, Lichfield, Staffordshire. WS13 6YY" />
+ <meta name="DC.rights.copyright" lang="en" content="Copyright 2010 Lichfield District Council" />
+ <meta name="DC.coverage" lang="en" content="Worldwide" />
+ <meta name="DC.identifier" content="PARAM_DC_IDENTIFIER" />
+
+ <!-- eGMS Metadata -->
+ <meta name="eGMS.status" lang="en" content="V1.0 Public Consumption" />
+ <meta name="eGMS.accessibility" scheme="WCAG" content="Double-A" />
+
+ <!-- javascript -->
+ <script type="text/javascript" src="http://www.lichfielddc.gov.uk/site/javascript/prototype.js"></script>
+ <script type="text/javascript" src="http://www.lichfielddc.gov.uk/site/javascript/scriptaculous.js"></script>
+ <script type="text/javascript" src="http://www.lichfielddc.gov.uk/site/custom_scripts/lightbox/js/lightbox.js"></script>
+ <script type="text/javascript" src="http://www.lichfielddc.gov.uk/site/javascript/global.js"></script>
+
+
+ <meta name="Keywords" content="home, homepage, index, root, Lichfield, UK, England, local authority, council, local government, services, citizen, councillor, community, leisure, tourist, tourism, social services, education, enviroment, fire, emergency planning, road safety, transport, motorways, library, libraries, archive, public record, record office, parish councils, county councillors" />
+ <meta name="Description" content="Lichfield District Council: PARAM_DESCRIPTION" />
+
+ <meta name="DC.title" lang="en" content="Lichfield District Council: PARAM_TITLE" />
+ <meta name="DC.description" lang="en" content="Lichfield District Council: PARAM_DESCRIPTION" />
+
+ <meta name="DC.subject" lang="en" scheme="eGMS.IPSV" content="Local government;Government, politics and public administration" />
+ <meta name="DC.subject" lang="en" content="Council, government and democracy" />
+
+[% INCLUDE 'common_header_tags.html' %]
+</head>
+<body PARAM_BODYID>
+<!-- ########## MAIN STRUCTURE ######### -->
+<div id="container">
+<div id="mobile_name">Lichfield District Council</div>
+<div id="mast">
+ <p class="skip">
+ <a accesskey="s" title="Skip to page content, access key S" href="http://www.lichfielddc.gov.uk/site/custom_scripts/mysociety/header.php?#main" rel="nofollow">Jump to content</a> -
+ <a accesskey="n" title="Skip to main navigation, access key N" href="http://www.lichfielddc.gov.uk/site/custom_scripts/mysociety/header.php?#main-nav" rel="nofollow">Jump to navigation</a> -
+
+ <a class="access" title="Change font size, colour and contrast of this site" href="http://www.lichfielddc.gov.uk/site/scripts/user_settings.php">Accessibility Settings</a>
+ </p>
+ <!--<form action="http://www.lichfielddc.gov.uk/site/scripts/search_results.php" method="get" id="search">
+ <fieldset><a title="Create a specific detailed search" href="http://www.lichfielddc.gov.uk/site/scripts/search_index.php">Need help finding something?</a>
+ <label for="SearchSite">Search this site</label>
+ <input type="text" size="18" maxlength="40" class="field" name="searchQuery" id="SearchSite" value="" />
+ <input type="submit" value="Search" class="button" /></fieldset>
+ </form>-->
+ <form action="http://www.lichfielddc.gov.uk/site/scripts/google_results.php" method="get" name="search" id="search">
+ <fieldset><a title="Create a specific detailed search" href="http://www.lichfielddc.gov.uk/site/scripts/search_index.php">Need help finding something?</a>
+ <label for="SearchSite">Search this site</label>
+ <input type="text" name="q" size="18" maxlength="40" class="field" id="SearchSite" value=""/>
+ <input type="hidden" name="site" value="ldc"/>
+ <input type="hidden" name="client" value="ldc"/>
+ <input type="hidden" name="output" value="xml"/>
+ <input type="submit" value="Search" class="button" /></fieldset>
+ </form>
+ <div class="pseudoH1">
+ <a href="http://www.lichfielddc.gov.uk/site/index.php"><span>Lichfield District Council</span></a>
+ </div>
+
+ <p class="about">
+ Making it easy to <a href="http://www.lichfielddc.gov.uk/site/scripts/az_home.php" class="tt">access council services</a>, <a href="http://www.lichfielddc.gov.uk/reportit" class="tt">report problems</a> in your area, view <a href="http://www.lichfielddc.gov.uk/planning" class="tt">planning applications</a>, find out <a href="http://www.lichfielddc.gov.uk/whatsgoingon" class="tt">what's going on locally</a>, <a href="http://www.lichfielddc.gov.uk/voiceit" class="tt">have your say</a> on local issues, and much more.
+ </p>
+
+ <a name="main-nav"></a>
+ <h2>Navigation</h2>
+ <ul>
+ <li><a href="http://www.lichfielddc.gov.uk" title="View the home page">Home</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/az_home.php">A-Z of services</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents_index.php">Council services</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/custom_scripts/newsblogindex.php">News</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/contact.php">Contacts</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/scripts/location.php">Opening hours and location</a></li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/custom_scripts/myareasearch.php" id="myarea">My area</a>
+ </li>
+ <li><a href="http://www.lichfielddc.gov.uk/site/custom_scripts/map.php" >Online map</a></li>
+ <!-- <li class="sign-in"><a href="http://www.lichfielddc.gov.uk/site/index.php?sign_in=true">Sign-in</a> or <a href="http://www.lichfielddc.gov.uk/site/scripts/register.php">Register</a></li> -->
+ <li class="sign-in">
+
+ <a href="http://www.lichfielddc.gov.uk/site/index.php?sign_in=true">Sign in</a> or
+
+
+ <a href="http://www.lichfielddc.gov.uk/site/scripts/register.php">Register</a>
+ </li>
+
+ </ul><!-- end navigation -->
+ <!--
+ <span id="postcodebox" style="display: none;">
+<form action="http://www.lichfielddc.gov.uk/site/custom_scripts/myarea.php" method="get" id="pcodeform">
+<label for="postcode">Your Postcode: </label><input name="postcode" id="postcode" class="text" /> <input value="Go!" name="submit" class="pbutton" type="submit" />
+</form>
+</span> -->
+
+
+ <div class="clear"></div>
+</div>
+
+<div id="suggest"></div>
+<script type="text/javascript" src="http://www.lichfielddc.gov.uk/site/javascript/effects.js"></script>
+<script type="text/javascript">
+ new Ajax.Autocompleter('SearchSite', 'suggest', 'http://www.lichfielddc.gov.uk/site/custom_scripts/autocomplete.php', {
+ paramName: 'search',
+ minChars: 1,
+ afterUpdateElement : goTo
+ });
+
+ function goTo(text, li) {
+ var url = li.title;
+ window.location = url;
+ }
+
+/* document.observe("dom:loaded", function() {
+ Event.observe($('myarea'), 'click', function(event) {
+ $('postcodebox').appear();
+ event.stop(event);
+ });
+ }); */
+ </script> <div id="page_wrap">
+ <div id="mainContent">
+ <div id="content" class="withWidth">
+ <a name="main"></a>
+
+ <!-- BREAD CRUMB NAVIGATION -->
+
+ <!-- Breadcrumb --><!-- googleoff:all -->
+ <ul id="breadcrumb">
+ <li><a href="http://www.lichfielddc.gov.uk/site/">Home</a></li><li><a href="http://lichfield.fixmystreet.com/">FixMyStreet</a></li>
+ <li class="bc_end">
+ [% SWITCH c.req.uri.path %]Report a problem
+ [% CASE '/' %]Report a problem
+ [% CASE '/reports/Lichfield' %]All reports
+ [% CASE '/my' %]Your reports
+ [% CASE '/alert' %]Local alerts
+ [% CASE '/faq' %]Help
+ [% CASE '/contact' %] Contact
+ [% END %]
+ </li></ul>
+ <!-- END Breadcrumb --><!-- googleon:all -->
+ <!-- END BREAD CRUMB -->
+ <div id="wrap">
+ <div id="content">
+ <div id="mysociety">
+
diff --git a/templates/web/southampton/header.html b/templates/web/southampton/header.html
index a15054fb6..5d94d5bdf 100644
--- a/templates/web/southampton/header.html
+++ b/templates/web/southampton/header.html
@@ -2,6 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
[% INCLUDE 'common_header_tags.html' %]
+ <script type="text/javascript" src="/js/southampton.js"></script>
<link rel="stylesheet" type="text/css" href="/css/core.css" />
<link rel="stylesheet" type="text/css" href="/cobrands/southampton/style.css" />
@@ -27,7 +28,7 @@
<form id="frmSearch" method="get" action="http://websearch.southampton.gov.uk/search">
<fieldset>
<label for="searchbox">Search the site<br /></label>
- <input class="text" type="text" value="Enter keywords" id="searchbox" name="q"/>
+ <input class="text" type="text" value="" placeholder="Enter keywords" id="searchbox" name="q"/>
<input type="hidden" id="site" name="site" value="SouthamptonOnline"/>
<input type="hidden" id="client" name="client" value="SouthamptonOnline"/>
<input type="hidden" id="proxystylesheet" name="proxystylesheet" value="SouthamptonOnline"/>
@@ -40,7 +41,7 @@
<label for="PostCode">Where I live
<img class="moreInfo" src="/cobrands/southampton/information.gif" alt="Find information about where you live" title="Find information about where you live" /><br />
</label>
- <input id="PostCode" name="Postcode" class="text2" type="text" value="Enter street/postcode" />
+ <input id="PostCode" name="Postcode" class="text2" type="text" value="" placeholder="Enter street/postcode" />
<input class="button" type="submit" value="go" />
</fieldset>
</form>