From 6229f9dd66853396a65dedd1b748963c9eb3dc3f Mon Sep 17 00:00:00 2001 From: memespring Date: Mon, 9 Apr 2007 18:27:25 +0000 Subject: [PATCH] api style changes --- data/%%45^45E^45E480CD%%index.tpl.php | 2 +- data/%%6D^6DB^6DB28CFA%%about.tpl.php | 2 +- data/%%F7^F7F^F7F34188%%header.tpl.php | 2 +- docs/css/main.css | 6 ++++-- docs/templates/apihowto.tpl | 10 +++++----- docs/templates/header.tpl | 2 +- 6 files changed, 13 insertions(+), 11 deletions(-) diff --git a/data/%%45^45E^45E480CD%%index.tpl.php b/data/%%45^45E^45E480CD%%index.tpl.php index 3b96151..7d25ea7 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())); diff --git a/data/%%6D^6DB^6DB28CFA%%about.tpl.php b/data/%%6D^6DB^6DB28CFA%%about.tpl.php index 530dc49..ff6cb25 100644 --- a/data/%%6D^6DB^6DB28CFA%%about.tpl.php +++ b/data/%%6D^6DB^6DB28CFA%%about.tpl.php @@ -1,4 +1,4 @@ - _tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array())); diff --git a/data/%%F7^F7F^F7F34188%%header.tpl.php b/data/%%F7^F7F^F7F34188%%header.tpl.php index 5c31194..2397626 100644 --- a/data/%%F7^F7F^F7F34188%%header.tpl.php +++ b/data/%%F7^F7F^F7F34188%%header.tpl.php @@ -1,4 +1,4 @@ - diff --git a/docs/css/main.css b/docs/css/main.css index 597de94..0a7920b 100644 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -59,12 +59,14 @@ dl.faq dt {color:#96ca2f;font-style:italic;} dl.faq dd {padding-left:0;margin-left:0;} /* api */ -div.apiitem {border:dotted 1px #808080;background:#fafafa;padding:10px;margin-bottom:1em;} +div.apiitem {border:dotted 1px #808080;background:#fafafa;padding:10px;margin-top:1em;} div.apiitem code {background:white;display:block;padding:10px;border:solid 1px #808080; word-wrap: break-word} div.apiitem code em {color:#808080;} div.apiitem p {font-size:0.8em;margin:0;padding:0;line-height:1.5em;margin-bottom:1em;} p.apiexamples {position:relative; top:0.7em;} +#hLicenseInfo {background:url(../images/salicense.png) no-repeat right 1em;padding-bottom:4px; + padding-top:1em;} /* infobox */ .infobox {background:#fdd9ea; font-size:0.9em;} @@ -87,7 +89,7 @@ a {color:#22579C;} position:absolute; right:140px; top:40px;} #divFooter #aHosted {display:block;width:130px;height:35px;background:url(../images/hosted.png); position:absolute; right:0; top:30px;} -#divFooter ul {border-top:dotted 1px #808080;padding-top:3px;padding-bottom:20px;} +#divFooter ul {border-top:dotted 1px #808080;padding-top:8px;padding-bottom:20px;} /* Buttons */ input.button {font-family:georgia, serif;} \ No newline at end of file diff --git a/docs/templates/apihowto.tpl b/docs/templates/apihowto.tpl index 4917014..12b07a1 100644 --- a/docs/templates/apihowto.tpl +++ b/docs/templates/apihowto.tpl @@ -2,10 +2,10 @@

PlanningAlerts.com API

- Planning application data is available programmatically as GeoRSS feeds. GeoRSS can be used in almost most all web mapping APIs and desktop GIS software, and in services like mapufacture and Yahoo Pipes. + Planning application data is available programmatically as GeoRSS feeds which can be used in most web mapping APIs and desktop GIS software like mapufacture and Yahoo Pipes. Details of the API are listed below.

- Just want the raw data? You can also download it here. (gzipped mysql database dump with all user information removed). + Just want the raw data instead? You can download it here. (gzipped mysql database dump with all user information removed).

API documentation

@@ -87,7 +87,7 @@
-
By planning authority
+
Planning authority

Return applications for a specific planning authority (e.g. a local council) by authority short name.

@@ -101,9 +101,9 @@
-

License information

+

License information

- Both the raw data and data via the api are licensed under the Creative Commons Attribution-ShareAlike 2.0 license. The license granted in relation to the 'Work' should be read broadly to relate not only copyright but all other IP rights present in this dataset including, for example, any Database rights. + Both the raw data and data via the api are licensed under the Creative Commons Attribution-ShareAlike 2.0 license. The license granted in relation to the 'Work' should be read broadly to relate not only copyright but all other IP rights present in this dataset including, for example, any Database rights.

{include file="footer.tpl"} diff --git a/docs/templates/header.tpl b/docs/templates/header.tpl index 4c94397..70e9bfa 100644 --- a/docs/templates/header.tpl +++ b/docs/templates/header.tpl @@ -19,7 +19,7 @@