]> git.decadent.org.uk Git - memories.git/commitdiff
More URI antiescaping; fixes #22.
authorSimon Cozens <simon@simon-cozens.org>
Sat, 24 Mar 2007 16:08:50 +0000 (16:08 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Sat, 24 Mar 2007 16:08:50 +0000 (16:08 +0000)
git-svn-id: http://svn.simon-cozens.org/memories/trunk@51 041978f6-d955-411f-a9d7-1d8545c9c3c7

templates/album/list
templates/custom/list
templates/photo/similar
templates/recent.rss
templates/systemtag/list
templates/tag/list
templates/user/list

index 02292898d97b4243362d38a6048c4b715750a3de..9c2895514fc826d64f653e2eb4fa15b58871ae57 100644 (file)
@@ -8,7 +8,7 @@
     [% FOR album = minilist %]
         <td>
         <a href="[%base%]/album/view/[%album.id%]">[% album %]<br/>
-        <img src="[% album.photos.last.thumb_url |uri%]"></a><br/>
+        <img src="[% album.photos.last.thumb_url %]"></a><br/>
         <span class="info">
             [%album.photos.size %] 
         photo[%-"s" IF album.photos.size != 1 %]
index a0aaa51133111ac4ac36bd10222ffec2a1d2cfb2..2c66aa87c9e462d0ff23715489ec4ec9ba03ca1d 100644 (file)
@@ -8,7 +8,7 @@
     [% FOR object = minilist %]
         <td>
         <a href="[%base%]/[%object.moniker%]/view/[%object.id%]">[% object %]<br/>
-        <img src="[% object.photos.last.thumb_url |uri%]"></a><br/>
+        <img src="[% object.photos.last.thumb_url %]"></a><br/>
         <span class="info">
             [%object.photos.size %] 
         photo[%-"s" IF object.photos.size != 1 %]</span>
index 2743353618b2c3b84182bcd0937cb958d8472375..1c8b76d6dd57710e691c58c364a0156a33759cfc 100644 (file)
@@ -4,6 +4,6 @@
 
 <p>
 Suggested tags: [% FOR tag = photo.recommended_tags; %]
-<a href="[%base%]/tag/view/[%tag.name|uri%]">[%tag.name%] </a>
+<a href="[%base%]/tag/view/[%tag.name%]">[%tag.name%] </a>
 [% END %]
 </p>
index 311187cd5eade2d31a3e8bd016711da9dc1fe40c..7e146fe9b250389b7ea243155427a194d5d6e510 100644 (file)
@@ -12,7 +12,7 @@
         <description>
 [% FILTER html %]
         <a href="[%base%]/photo/view/[%photo.id%]">
-        <img src="[% photo.thumb_url |uri%]" alt="[%photo.title|html%]"/>
+        <img src="[% photo.thumb_url %]" alt="[%photo.title|html%]"/>
         </a>
 [% END %]
         </description>
index 9a7361a61d709343e7672e8ad8266765b43bfb1c..cc9d344b0184f12cf16c6379cefdd842f52a8740 100644 (file)
@@ -8,13 +8,13 @@
     [% FOR tag = minilist %]
         <td>
         <table><tr> <td width="100%" class="taglistheader">
-        <a href="[%base%]/tag/view/[%tag.name |html|uri%]">[% tag %]</a>
+        <a href="[%base%]/tag/view/[%tag.name |html%]">[% tag %]</a>
         </td></tr>
         [% SET photos = tag.photos %]
         [% IF photos.last %]
         <tr><td>
-        <a href="[%base%]/tag/view/[%tag.name |html|uri%]">
-            <img src="[% photos.last.thumb_url |uri%]">
+        <a href="[%base%]/tag/view/[%tag.name |html%]">
+            <img src="[% photos.last.thumb_url %]">
         </a>
         </td></tr>
         <tr><td class="info">
index 9a7361a61d709343e7672e8ad8266765b43bfb1c..1a9706f84146b8c94c8b62209379e1837403b166 100644 (file)
@@ -8,13 +8,13 @@
     [% FOR tag = minilist %]
         <td>
         <table><tr> <td width="100%" class="taglistheader">
-        <a href="[%base%]/tag/view/[%tag.name |html|uri%]">[% tag %]</a>
+        <a href="[%base%]/tag/view/[%tag.name |html%]">[% tag %]</a>
         </td></tr>
         [% SET photos = tag.photos %]
         [% IF photos.last %]
         <tr><td>
-        <a href="[%base%]/tag/view/[%tag.name |html|uri%]">
-            <img src="[% photos.last.thumb_url |uri%]">
+        <a href="[%base%]/tag/view/[%tag.name |html%]">
+            <img src="[% photos.last.thumb_url%]">
         </a>
         </td></tr>
         <tr><td class="info">
index 66ba34ed4b03eeccd1551037b9f97b5f67edd461..078c83fe609834017f8f67cc8103e086d0f49d3a 100644 (file)
@@ -10,7 +10,7 @@
         [% SET photos = user.photos %]
         <a href="[%base%]/user/view/[%user.id%]">[% user %]<br/>
         [% IF photos.last %]
-        <img src="[% photos.last.thumb_url |uri%]"></a><br/>
+        <img src="[% photos.last.thumb_url %]"></a><br/>
         <span class="info">
             [%photos.size %] 
         photo[%-"s" IF photos.size != 1 %]</span>