Changeset 7489 for cowsserver


Ignore:
Timestamp:
21/09/10 11:58:20 (9 years ago)
Author:
astephen
Message:

Replaced use of "routes.url_for" function with the global "pylons.url"
function for compatibility with pylons 1.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsserver/branches/migrate-py26-pylons10/lib/cowsserver/templates/demo.html

    r5734 r7489  
    55 
    66<?python 
    7  
     7import pylons 
    88 
    99?> 
     
    1313 
    1414<script src="http://www.openlayers.org/api/OpenLayers.js" type="text/javascript"></script > 
    15 <script src="${h.url_for('/demo.js', qualified=True)}" type="text/javascript"></script> 
     15<script src="${pylons.url('/demo.js', qualified=True)}" type="text/javascript"></script> 
    1616 
    1717<script type="text/javascript"> 
    18 var fcURL = "${h.url_for(controller='csmlwms', fileoruri=c.fcName)}"; 
     18var fcURL = "${pylons.url(controller='csmlwms', fileoruri=c.fcName)}"; 
    1919</script> 
    2020 
Note: See TracChangeset for help on using the changeset viewer.