Changeset 1106 for trunk

Show
Ignore:
Timestamp:
07/03/07 23:48:48 (17 months ago)
Author:
dom
Message:

Correct some use of wgs84 back to the natural database format.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/node.tt

    r1065 r1106  
    4848  </h2> 
    4949[% END %] 
    50 [% IF not (content || coord_field_1_value || coord_field_2_value || wgs84_lat || wgs84_long) %] 
     50[% IF not (content || coord_field_1_value || coord_field_2_value || latitude || longitude) %] 
    5151</div> 
    5252<div id="nonexistent_node_message">We don't have a node called "[% node_param %]". Would you like to <a href="[% full_cgi_url %]?action=edit;id=[% node_param %]">create it</a>?</div> 
     
    8787  </div> 
    8888[% END %] 
    89 [% IF (wgs84_lat AND wgs84_long) OR (os_x AND os_y) OR (osie_x AND osie_y) %] 
     89[% IF (latitude AND longitude) OR (os_x AND os_y) OR (osie_x AND osie_y) %] 
    9090<div id="coordinates" class="geo"> 
    9191[% END %] 
     
    109109  &nbsp;&nbsp;&nbsp; 
    110110[% END %] 
    111 [% IF wgs84_lat AND wgs84_long %] 
     111[% IF latitude AND longitude %] 
    112112  <small> 
    113113    (Latitude:  
    114     <abbr class="latitude" title="[% wgs84_lat %]">[% wgs84_lat %]</abbr> 
     114    <!-- titles using the wgs84 versions here are for microformats --> 
     115    <abbr class="latitude" title="[% wgs84_lat %]">[% latitude %]</abbr> 
    115116        Longitude:  
    116         <abbr class="longitude" title="[% wgs84_long %]">[% wgs84_long %]</abbr>) 
     117        <abbr class="longitude" title="[% wgs84_long %]">[% longitude %]</abbr>) 
    117118  </small> 
    118119[% END %] 
    119 [% IF (wgs84_lat AND wgs84_long) OR (os_x AND os_y) OR (osie_x AND osie_y)%] 
     120[% IF (latitude AND longitude) OR (os_x AND os_y) OR (osie_x AND osie_y)%] 
    120121</div> 
    121122[% END %]