diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/barnet/header.html | 5 | ||||
-rw-r--r-- | templates/web/default/maps/openlayers.html | 6 | ||||
-rw-r--r-- | templates/web/default/report/display.html | 16 | ||||
-rw-r--r-- | templates/web/default/report/new/fill_in_details_form.html | 7 | ||||
-rw-r--r-- | templates/web/fiksgatami/header.html | 7 | ||||
-rw-r--r-- | templates/web/lichfielddc/header.html | 5 | ||||
-rw-r--r-- | templates/web/southampton/header.html | 5 |
7 files changed, 33 insertions, 18 deletions
diff --git a/templates/web/barnet/header.html b/templates/web/barnet/header.html index 8270154ab..654e3d83c 100644 --- a/templates/web/barnet/header.html +++ b/templates/web/barnet/header.html @@ -1,5 +1,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="[% lang_code %]"> +<!--[if lt IE 7]><html class="ie6 oldie" lang="[% lang_code %]"><![endif]--> +<!--[if IE 7]> <html class="ie7 oldie" lang="[% lang_code %]"><![endif]--> +<!--[if IE 8]> <html class="ie8 oldie" lang="[% lang_code %]"><![endif]--> +<!--[if gt IE 8]><!--><html lang="[% lang_code %]"><!--<![endif]--> <head> <link rel="stylesheet" type="text/css" href="/cobrands/barnet/css/basic.css"> diff --git a/templates/web/default/maps/openlayers.html b/templates/web/default/maps/openlayers.html index 3cf615306..41e1c40d6 100644 --- a/templates/web/default/maps/openlayers.html +++ b/templates/web/default/maps/openlayers.html @@ -47,9 +47,9 @@ var fixmystreet = { <div id="pins">[% FOR pin IN map.pins %][% INCLUDE pin %][% END %]</div> [% INCLUDE compass %] </noscript></div> - <p id="copyright"> - [% map.copyright %] - </p> + [% IF map.copyright %] + <p id="copyright">[% map.copyright %]</p> + [% END %] [% BLOCK compass %] diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html index ae0404df8..aeff140fe 100644 --- a/templates/web/default/report/display.html +++ b/templates/web/default/report/display.html @@ -10,17 +10,10 @@ [% map_html %] -[% IF c.cobrand.country == 'GB' %] -<p id='sub_map_links'> - <a href="http://maps.google.co.uk/maps?output=embed&z=16&q= - [%- problem.title _ ' - ' _ c.cobrand.base_url_for_emails _ '/report/' _ problem.id | uri -%] -@[% short_latitude %],[% short_longitude %]">View on Google Maps</a></p> -[% END %] - </div> <div id="side"> -[% IF banner %] +[% IF banner.id %] <p class="banner" id="[% banner.id %]"> [% banner.text %] </p> @@ -156,6 +149,8 @@ <input type="password" name="password_sign_in" id="password_sign_in" value="" size="25"> </p> + <div class="fieldset"> + <p> <input type="checkbox" id="remember_me" name="remember_me" value='1'[% ' checked' IF remember_me %]> <label class="n" for="remember_me"> @@ -167,6 +162,8 @@ <input type="submit" name="submit_sign_in" value="[% loc('Post') %]"> </p> + </div> + </div> <div id="form_sign_in_no"> @@ -180,7 +177,6 @@ <label for="password_register">[% loc('Enter a new password:') %]</label> <input type="password" name="password_register" id="password_register" value="" size="25"> </div> - </div> <p style="clear:both"><small>[% loc('Providing a password is optional, but doing so will allow you to more easily report problems, leave updates and manage your reports.') %]</small></p> @@ -188,6 +184,8 @@ <input type="submit" name="submit_register" value="[% loc('Post') %]"> </p> + </div> + </div> </div> diff --git a/templates/web/default/report/new/fill_in_details_form.html b/templates/web/default/report/new/fill_in_details_form.html index 395007782..633dc0b11 100644 --- a/templates/web/default/report/new/fill_in_details_form.html +++ b/templates/web/default/report/new/fill_in_details_form.html @@ -137,6 +137,8 @@ <input type="password" name="password_sign_in" id="password_sign_in" value="" size="25"> </p> + <div class="fieldset"> + <p> <input type="checkbox" id="remember_me" name="remember_me" value='1'[% ' checked' IF remember_me %]> <label class="n" for="remember_me"> @@ -148,6 +150,8 @@ <input type="submit" name="submit_sign_in" value="[% loc('Submit') %]"> </p> + </div> + </div> <div id="form_sign_in_no"> @@ -161,7 +165,6 @@ <label for="password_register">[% loc('Enter a new password:') %]</label> <input type="password" name="password_register" id="password_register" value="" size="25"> </div> - </div> <p style="clear:both"><small>[% loc('Providing a password is optional, but doing so will allow you to more easily report problems, leave updates and manage your reports.') %]</small></p> @@ -169,6 +172,8 @@ <input type="submit" name="submit_register" value="[% loc('Submit') %]"> </p> + </div> + </div> </div> diff --git a/templates/web/fiksgatami/header.html b/templates/web/fiksgatami/header.html index 0e78bfc43..d53f4cb58 100644 --- a/templates/web/fiksgatami/header.html +++ b/templates/web/fiksgatami/header.html @@ -1,5 +1,8 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="[% lang_code %]"> +<!doctype html> +<!--[if lt IE 7]><html class="ie6 oldie" lang="[% lang_code %]"><![endif]--> +<!--[if IE 7]> <html class="ie7 oldie" lang="[% lang_code %]"><![endif]--> +<!--[if IE 8]> <html class="ie8 oldie" lang="[% lang_code %]"><![endif]--> +<!--[if gt IE 8]><!--><html lang="[% lang_code %]"><!--<![endif]--> <head> <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]"> diff --git a/templates/web/lichfielddc/header.html b/templates/web/lichfielddc/header.html index e17e22b9d..863ef1c1d 100644 --- a/templates/web/lichfielddc/header.html +++ b/templates/web/lichfielddc/header.html @@ -1,5 +1,8 @@ <!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 %]"> +<!--[if lt IE 7]><html class="ie6 oldie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="[% lang_code %]" lang="[% lang_code %]"><![endif]--> +<!--[if IE 7]> <html class="ie7 oldie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="[% lang_code %]" lang="[% lang_code %]"><![endif]--> +<!--[if IE 8]> <html class="ie8 oldie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="[% lang_code %]" lang="[% lang_code %]"><![endif]--> +<!--[if gt IE 8]><!--><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[% lang_code %]" lang="[% lang_code %]"><!--<![endif]--> <head> <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]"> diff --git a/templates/web/southampton/header.html b/templates/web/southampton/header.html index 648027d8c..7b0f77e88 100644 --- a/templates/web/southampton/header.html +++ b/templates/web/southampton/header.html @@ -1,5 +1,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<!--[if lt IE 7]><html class="ie6 oldie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="[% lang_code %]" lang="[% lang_code %]"><![endif]--> +<!--[if IE 7]> <html class="ie7 oldie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="[% lang_code %]" lang="[% lang_code %]"><![endif]--> +<!--[if IE 8]> <html class="ie8 oldie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="[% lang_code %]" lang="[% lang_code %]"><![endif]--> +<!--[if gt IE 8]><!--><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[% lang_code %]" lang="[% lang_code %]"><!--<![endif]--> <head> <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]"> <link rel="stylesheet" type="text/css" href="/cobrands/southampton/style.css" /> |