[xiph-commits] r3846 - arkaiv/trunk/arkaiv/templates

dcrowdy at svn.annodex.net dcrowdy at svn.annodex.net
Wed Jan 21 19:17:09 PST 2009


Author: dcrowdy
Date: 2009-01-21 19:17:09 -0800 (Wed, 21 Jan 2009)
New Revision: 3846

Modified:
   arkaiv/trunk/arkaiv/templates/autohandler
   arkaiv/trunk/arkaiv/templates/mainpage.mak
Log:
Main page now running under Pylons 0.9.7


Modified: arkaiv/trunk/arkaiv/templates/autohandler
===================================================================
--- arkaiv/trunk/arkaiv/templates/autohandler	2009-01-22 02:46:05 UTC (rev 3845)
+++ arkaiv/trunk/arkaiv/templates/autohandler	2009-01-22 03:17:09 UTC (rev 3846)
@@ -10,13 +10,13 @@
 <h1>Arkaiv</h1>
 <div id="navcontainer">
 <ul id="navlist">
-  <li>${ h.link_to("All Items", h.url(action="mainpage")) }</li>
-  <li>${ h.link_to("Collections", h.url(action="collections")) }</li>
-  <li>${ h.link_to("Add media", h.url(action="addannodexform")) }</li>
-  <li>${ h.link_to("Playlists", h.url(action="playlistpage")) }</li>
-  <li>${ h.link_to("Help", h.url(action="displayhelp")) }</li>
+  <li>${ h.link_to("All Items", h.url_for(action="mainpage")) }</li>
+  <li>${ h.link_to("Collections", h.url_for(action="collections")) }</li>
+  <li>${ h.link_to("Add media", h.url_for(action="addannodexform")) }</li>
+  <li>${ h.link_to("Playlists", h.url_for(action="playlistpage")) }</li>
+  <li>${ h.link_to("Help", h.url_for(action="displayhelp")) }</li>
   <li><span class="searchpadding">
-${ h.form(h.url(action='search'), multipart=True) }
+${ h.form(h.url_for(action='search'), multipart=True) }
 ${ h.text_field('searchterms', value="Search") } 
 ${ h.end_form() } 
   </span>

Modified: arkaiv/trunk/arkaiv/templates/mainpage.mak
===================================================================
--- arkaiv/trunk/arkaiv/templates/mainpage.mak	2009-01-22 02:46:05 UTC (rev 3845)
+++ arkaiv/trunk/arkaiv/templates/mainpage.mak	2009-01-22 03:17:09 UTC (rev 3846)
@@ -5,7 +5,7 @@
 
 % for item in c.items:
 <li>
-    ${ h.link_to(item['name'], h.url(action="displayitem", edit="no", id=item['index'])) }
+    ${ h.link_to(item['name'], h.url_for(action="displayitem", edit="no", id=item['index'])) }
 </li>
 % endfor
 



More information about the commits mailing list