From svnadmin@urchin.earth.li Wed Jan 2 17:22:32 2013 From: svnadmin@urchin.earth.li To: openguides-commits@lists.openguides.org Subject: [openguides-commits] r1454 - sites/oxford.openguides.org/templates Date: Wed, 02 Jan 2013 17:22:32 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7545072179074274900==" --===============7545072179074274900== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: dom Date: 2013-01-02 17:22:32 +0000 (Wed, 02 Jan 2013) New Revision: 1454 Removed: sites/oxford.openguides.org/templates/custom_header.tt sites/oxford.openguides.org/templates/display_metadata.tt sites/oxford.openguides.org/templates/map_index.tt sites/oxford.openguides.org/templates/node.tt Log: remove stuff related to mapnik Deleted: sites/oxford.openguides.org/templates/custom_header.tt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sites/oxford.openguides.org/templates/custom_header.tt 2013-01-02 16:37:0= 6 UTC (rev 1453) +++ sites/oxford.openguides.org/templates/custom_header.tt 2013-01-02 17:22:3= 2 UTC (rev 1454) @@ -1,3 +0,0 @@ -[% IF enable_gmaps AND display_google_maps AND gmaps_api_key %] - -[% END %] Deleted: sites/oxford.openguides.org/templates/display_metadata.tt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sites/oxford.openguides.org/templates/display_metadata.tt 2013-01-02 16:3= 7:06 UTC (rev 1453) +++ sites/oxford.openguides.org/templates/display_metadata.tt 2013-01-02 17:2= 2:32 UTC (rev 1454) @@ -1,115 +0,0 @@ -[% USE CGI %] - -[% IF phone OR fax OR address OR postcode OR formatted_website_text - OR hours_text OR map_link OR categories.size OR locales.size OR - node_image %] -
-[% IF node_image %] -
- [% IF node_image_url %][% END %] - 3D"Picture - [% IF node_image_url %][% END %] - [% IF node_image_copyright %] -
- [% IF node_image_licence %] - © - [% node_image_copyright %] - [% ELSE %] - © [% node_image_copyright %] - [% END %] -
- [% END %] -
-[% ELSE %] - -[% END %] - - - [% node_name %] -[% IF phone OR fax OR address OR postcode OR formatted_website_text - OR hours_text OR map_link %]=20 -
    - - [% IF phone %] -
  • - = [% CGI.escapeHTML(phone) %] -
  • - [% END %] - [% IF fax %] -
  • - [% CGI= .escapeHTML(fax) %] -
  • - [% END %] - [% IF address %] -
  • - - [% CGI.escapeHTML= (address) %] [%# uncomment at left = to show city %] - [% IF map_link %] - (map of this place) - [% ELSIF os_x AND os_y %] - (map of this place) - [% END %] -
  • - [% ELSIF map_link %] -
  • - -
  • - [% ELSIF os_x AND os_y %] -
  • - -
  • - [% END %] - [% IF postcode %] -
  • - - [% CGI.escapeHTML(po= stcode) %] -
  • - [% END %] - [% IF formatted_website_text %] -
  • - [= % formatted_website_text %] -
  • - [% END %] - [% IF hours_text %] -
  • - - [% CGI.escapeHTML(hours_text) %] -
  • - [% END %] -
-[% END %] - -[% IF (categories.size AND categories.size > 0) - OR (locales.size AND locales.size > 0) %] -
    - [% IF categories.size AND categories.size > 0 %] -
  • - - [% FOREACH category =3D categories %] - [% IF category.url !=3D "" %] - [% category.na= me %][%- "," UNLESS loop.last %] - [% ELSE %] - [% category.name %][%- "," UNLESS loop.last %] - [% END %] - [% END %] -
  • - [% END %] - - [% IF locales.size AND locales.size > 0 %] -
  • - - [% FOREACH locale =3D locales %] - [% IF locale.url !=3D "" %] - [% locale.n= ame %][%- "," UNLESS loop.last %] - [% ELSE %] - [% locale.name %][%- "," UNLESS loop.last %] - [% END %] - [% END %] -
  • - [% END %] -
-[% END %] -
-[% END %] - Deleted: sites/oxford.openguides.org/templates/map_index.tt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sites/oxford.openguides.org/templates/map_index.tt 2013-01-02 16:37:06 UT= C (rev 1453) +++ sites/oxford.openguides.org/templates/map_index.tt 2013-01-02 17:22:32 UT= C (rev 1454) @@ -1,85 +0,0 @@ -[% INCLUDE header.tt page_title =3D criterion.name || "Map of all nodes" %] -[% INCLUDE banner.tt %] -
-Link to this page - -
- -[% IF gmaps_api_key %] -
    - [% i =3D 0 %] - [% FOREACH node =3D nodes %] - [% metadata =3D node.node_data.metadata %] - [% i =3D i + 1 %] - [% IF metadata.wgs84_lat.list.first AND metadata.wgs84_long.list.first %] - [% NEXT IF metadata.wgs84_lat.list.first.match('m') %] - [% NEXT IF metadata.wgs84_long.list.first.match('m') %] -
  • [% node.name %][% IF metadata.city.list.first = %], [% metadata.city.list.first %][% END %]
  • - [% END %] - [% END %] -
- - - -
- - -[% ELSE %] - Sorry, this guide doesn't have Google Maps functionality enabled. -[% END %] - -
-
- -[% INCLUDE footer.tt %] Deleted: sites/oxford.openguides.org/templates/node.tt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sites/oxford.openguides.org/templates/node.tt 2013-01-02 16:37:06 UTC (re= v 1453) +++ sites/oxford.openguides.org/templates/node.tt 2013-01-02 17:22:32 UTC (re= v 1454) @@ -1,177 +0,0 @@ -[% USE CGI %] -[% INCLUDE header.tt %] -[% INCLUDE banner.tt %] -
-[% IF !config.content_above_navbar_in_html %] - [% INCLUDE navbar.tt %] -[% END %] -
-[% IF oldid %] - -[% END %] - -[% IF wgs84_lat AND wgs84_long AND display_google_maps and gmaps_api_key %] -
- -[% END %] - -
-[% IF current %] - [% IF backlinks_in_title AND is_indexable_node %] -

[% node_name %]

- [% ELSE %] -

[% node_name %]

- [% END %] -[% ELSE %] -

- [% IF moderated %] - Historical - [% ELSE %] - Un-moderated - [% END %] - version [% version %] of - [% node_name %] -

-[% END %] -[% IF not (content || coord_field_1_value || coord_field_2_value || latitude= || longitude) %] -
-
We don't have a node called "[% node_pa= ram %]". Would you like to create it?
-[% ELSE %] - -
-[% INCLUDE display_metadata.tt %] - - -
-[% content %] -
- - -[% TRY %] - [% INCLUDE custom_node.tt %] -[% CATCH %] -[% END %] - =20 -[% IF coord_field_1_value AND coord_field_2_value %] -
-
-
- - - of here. - - - -
-
-[% END %] -[% IF (latitude AND longitude) OR (os_x AND os_y) OR (osie_x AND osie_y) %] -
-[% END %] -[% IF os_x AND os_y %] - OS X co-ord:=20 - [% CGI.escap= eHTML(os_x) %] - -     - OS Y co-ord:=20 - [% CGI.escap= eHTML(os_y) %] - -     -[% ELSIF osie_x AND osie_y %] - OS IE X co-ord:=20 - [% CGI.esc= apeHTML(osie_x) %] - -     - OS IE Y co-ord:=20 - [% CGI.esc= apeHTML(osie_y) %] - -     -[% END %] -[% IF latitude AND longitude %] - - (Latitude:=20 - - [% latitude %] - Longitude:=20 - [% longitude %]) - -[% END %] -[% IF (latitude AND longitude) OR (os_x AND os_y) OR (osie_x AND osie_y)%] -
-[% END %] -
- RDF/XML for t= his - node - [% IF rss_locale_url %] - / RSS feed for this locale - [% END %] - [% IF rss_category_url %] - / RSS feed for this category - [% END %] -
-
-[% IF current %] - Last edited [% last_modified %] - [% IF version =3D=3D 1 %] - (version [% version %]) - [% ELSE %] - (version [% version %]; - diff). - [% END %] -[% ELSE %] - This is version [% version %]=20 - (as of [% last_modified %]).=20 - View current version.=20 -[% END %] -[% IF version AND version > 1 %] -L= ist all -versions. -[% END %] -
-[% END %] -
- -[% IF config.content_above_navbar_in_html %] - [% INCLUDE navbar.tt %] -[% END %] - -[% INCLUDE footer.tt %] --===============7545072179074274900==--