Преглед на файлове

api style changes

master
memespring преди 17 години
родител
ревизия
6229f9dd66
променени са 6 файла, в които са добавени 13 реда и са изтрити 11 реда
  1. +1
    -1
      data/%%45^45E^45E480CD%%index.tpl.php
  2. +1
    -1
      data/%%6D^6DB^6DB28CFA%%about.tpl.php
  3. +1
    -1
      data/%%F7^F7F^F7F34188%%header.tpl.php
  4. +4
    -2
      docs/css/main.css
  5. +5
    -5
      docs/templates/apihowto.tpl
  6. +1
    -1
      docs/templates/header.tpl

+ 1
- 1
data/%%45^45E^45E480CD%%index.tpl.php Целия файл

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-04-09 17:14:08
<?php /* Smarty version 2.6.16, created on 2007-04-09 19:25:37
compiled from index.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));


+ 1
- 1
data/%%6D^6DB^6DB28CFA%%about.tpl.php Целия файл

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-04-09 12:02:23
<?php /* Smarty version 2.6.16, created on 2007-04-09 19:25:31
compiled from about.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));


+ 1
- 1
data/%%F7^F7F^F7F34188%%header.tpl.php Целия файл

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-04-09 19:06:31
<?php /* Smarty version 2.6.16, created on 2007-04-09 19:25:37
compiled from header.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


+ 4
- 2
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;}

+ 5
- 5
docs/templates/apihowto.tpl Целия файл

@@ -2,10 +2,10 @@

<h3>PlanningAlerts.com API</h3>
<p>
Planning application data is available programmatically as <a href="http://georss.org/">GeoRSS feeds</a>. GeoRSS can be used in almost most all web mapping APIs and desktop GIS software, and in services like <a href="http://mapufactu re.com">mapufacture</a> and <a href="http://pipes.yahoo.com/">Yahoo Pipes</a>.
Planning application data is available programmatically as <a href="http://georss.org/">GeoRSS</a> feeds which can be used in most web mapping APIs and desktop GIS software like <a href="http://mapufactu re.com">mapufacture</a> and <a href="http://pipes.yahoo.com/">Yahoo Pipes</a>. Details of the API are listed below.
<p/>
<p>
Just want the raw data? You can also download it <a href="http://www.planningalerts.com/backup.gz">here</a>. (gzipped mysql database dump with all user information removed).
Just want the raw data instead? You can download it <a href="http://www.planningalerts.com/backup.gz">here</a>. (gzipped mysql database dump with all user information removed).
</p>

<h4>API documentation</h4>
@@ -87,7 +87,7 @@
<!--Box-->
<div class="apiitem">
<h5>By planning authority</h5>
<h5>Planning authority</h5>
<p class="apidefinition">
Return applications for a specific planning authority (e.g. a local council) by authority short name.
</p>
@@ -101,9 +101,9 @@
</div>

<h4>License information</h4>
<h4 id="hLicenseInfo">License information</h4>
<p>
Both the <a href="http://www.planningalerts.com/backup.gz"> raw data</a> and data via the api are licensed under the <a hrref="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons Attribution-ShareAlike 2.0 license</a>. 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 <a href="http://www.planningalerts.com/backup.gz"> raw data</a> and data via the api are licensed under the <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons Attribution-ShareAlike 2.0 license</a>. 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.
</p>
{include file="footer.tpl"}

+ 1
- 1
docs/templates/header.tpl Целия файл

@@ -19,7 +19,7 @@
<div id="divMenu">
<ul class="collapse">
<li {if $menu_item =="about"}class="selected"{/if}><a href="about.php">About</a></li>
<li {if $menu_item == "api"}class="selected"{/if}><a href="api.php?howto">API</a></li>
<li {if $menu_item == "api"}class="selected"{/if}><a href="apihowto.php">API</a></li>

<li {if $menu_item =="getinvolved"}class="selected"{/if}><a href="getinvolved.php">Get involved</a></li>
<li {if $menu_item =="faq"}class="selected"{/if}><a href="faq.php"><acronym title="Frequently asked questions">FAQ</acronym>s</a></li>


Зареждане…
Отказ
Запис