From 37702037402c122f50db82f4ef63bd17945fafcb Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Fri, 14 Nov 2008 13:40:38 +0100 Subject: [PATCH] Use 'aurl' wherever suitable. --- templates/artemus/ALL/SITEMAP | 4 ++-- templates/artemus/ALL/_story_for_rss | 2 +- templates/artemus/en/_story_complete | 2 +- templates/artemus/en/_story_printable | 2 +- templates/artemus/es/_story_complete | 2 +- templates/artemus/es/_story_printable | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/artemus/ALL/SITEMAP b/templates/artemus/ALL/SITEMAP index 8df544f..c4b62d3 100644 --- a/templates/artemus/ALL/SITEMAP +++ b/templates/artemus/ALL/SITEMAP @@ -1,7 +1,7 @@ {-content_type|text/xml} {-foreach|{-stories_by_date||0|0}| - http://{-cfg_host_name}/?t=STORY;topic=\$1;id=\$0} + \{-aurl\|STORY\|topic\|\$1\|id\|\$0\}} {-foreach|{-topics}| - http://{-cfg_host_name}/?t=TOPIC;topic=\$0} + \{-aurl\|TOPIC\|topic\|\$0\}} diff --git a/templates/artemus/ALL/_story_for_rss b/templates/artemus/ALL/_story_for_rss index 7b03e0d..f064247 100644 --- a/templates/artemus/ALL/_story_for_rss +++ b/templates/artemus/ALL/_story_for_rss @@ -6,7 +6,7 @@ Generates a story link in RSS format. =cut {-story_title|$0|$1} - http://{-cfg_host_name}/?t=STORY;topic=$0;id=$1 + {-aurl|STORY|topic|$0|id|$1} {-story_userid|$0|$1} Print version - - Permanent link to this page + Permanent link to this page diff --git a/templates/artemus/en/_story_printable b/templates/artemus/en/_story_printable index bfac2d2..c6095b4 100644 --- a/templates/artemus/en/_story_printable +++ b/templates/artemus/en/_story_printable @@ -17,7 +17,7 @@ Shows a complete story, in 'printer-friendly' format. diff --git a/templates/artemus/es/_story_complete b/templates/artemus/es/_story_complete index 661522f..638b2a7 100644 --- a/templates/artemus/es/_story_complete +++ b/templates/artemus/es/_story_complete @@ -6,5 +6,5 @@ diff --git a/templates/artemus/es/_story_printable b/templates/artemus/es/_story_printable index 72ad803..11b0d84 100644 --- a/templates/artemus/es/_story_printable +++ b/templates/artemus/es/_story_printable @@ -17,7 +17,7 @@ Shows a complete story, in 'printer-friendly' format. -- 2.11.4.GIT