From e6347fe87ad05bfa025e081056dfa61cb0d9a8fc Mon Sep 17 00:00:00 2001 From: memespring Date: Thu, 12 Jul 2007 06:13:25 +0000 Subject: [PATCH] added metrics to header --- data/%%45^45E^45E480CD%%index.tpl.php | 10 +++-- data/%%6D^6DB^6DB28CFA%%about.tpl.php | 4 +- data/%%AD^AD7^AD71B708%%rss.tpl.php | 6 ++- data/%%F7^F75^F752BDC0%%getinvolved.tpl.php | 2 +- data/%%F7^F7F^F7F34188%%header.tpl.php | 5 ++- docs/about.php | 3 +- docs/apihowto.php | 3 +- docs/checkmail.php | 4 +- docs/confirmed.php | 4 +- docs/css/main.css | 19 +++++---- docs/faq.php | 3 +- docs/getinvolved.php | 3 +- docs/include/application.php | 9 ++-- docs/include/stats.php | 47 +++++++++++++++++++++ docs/index.php | 5 ++- docs/templates/header.tpl | 1 + docs/templates/index.tpl | 8 +++- docs/templates/rss.tpl | 1 + docs/unsubscribe.php | 4 +- 19 files changed, 110 insertions(+), 31 deletions(-) create mode 100644 docs/include/stats.php diff --git a/data/%%45^45E^45E480CD%%index.tpl.php b/data/%%45^45E^45E480CD%%index.tpl.php index 56c2625..f50e19d 100644 --- a/data/%%45^45E^45E480CD%%index.tpl.php +++ b/data/%%45^45E^45E480CD%%index.tpl.php @@ -1,4 +1,4 @@ - _tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array())); @@ -10,7 +10,7 @@ unset($_smarty_tpl_vars);
-

This site is in Beta (test) mode, so local authorities near you may not be included in alerts.

+ -
  • +
  • + + This site is in Beta (test) mode, so all local authorities near you may not be included in alerts. +
  • Recent site updates

    Recent site updates

      +
    • July 2007Added 21 councils inc. Lewisham, New Forest National Park and Edinburgh
    • April 2007Added 50 more councils.
    • March 2007 Added an API and a few more councils (inc. Islington and Hackney)
    • February 2007 Added loads more councils (inc. Camden and Tower Hamlets)
    • diff --git a/docs/templates/rss.tpl b/docs/templates/rss.tpl index 4d98009..698e0c4 100644 --- a/docs/templates/rss.tpl +++ b/docs/templates/rss.tpl @@ -7,6 +7,7 @@ {foreach name="applications" from="$applications" item="application"} {$application->address} + {$application->date_scraped|date_format:"%a, %e %b %Y"} {$application->council_reference} {$application->address} {$application->lat} {$application->lon} diff --git a/docs/unsubscribe.php b/docs/unsubscribe.php index bc1e6fe..9f3b00a 100644 --- a/docs/unsubscribe.php +++ b/docs/unsubscribe.php @@ -1,6 +1,8 @@ force_compile = true; $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - + $smarty->assign("stats", stats::get_stats()); $smarty->assign("menu_item", "signup"); $smarty->assign("page_title","Unsubscribed"); $smarty->assign("postcode", $this->postcode);