You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/07/27 01:13:02 UTC

svn commit: r425900 - /incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm

Author: agilliland
Date: Wed Jul 26 16:13:02 2006
New Revision: 425900

URL: http://svn.apache.org/viewvc?rev=425900&view=rev
Log:
updating url forming.


Modified:
    incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm

Modified: incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm?rev=425900&r1=425899&r2=425900&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm (original)
+++ incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm Wed Jul 26 16:13:02 2006
@@ -14,9 +14,9 @@
 #foreach( $entry in $entries )
 <p>
     <a name="$utils.encode($entry.anchor)"></a>
-    <span class="entryTitle"><a href="$entry.permalink">$entry.title</a>
+    <span class="entryTitle"><a href="$url.entry($entry.anchor)">$entry.title</a>
         #if ($utils.isUserAuthorizedToAuthor($entry.website))
-            [<a href="$config.getWeblogEntryEditURL($entry)">$text.get("macro.weblog.entrypermalink.edit")</a>]
+            [<a href="$url.editEntry($entry.anchor)">$text.get("macro.weblog.entrypermalink.edit")</a>]
         #end
     </span>
 
@@ -30,7 +30,7 @@
         #if($utils.isNotEmpty($entry.summary))
             #set($sourceText = $entry.transformedSummary)
             #if($utils.isNotEmpty($entry.text))
-               #set($readMore = "[<a class='readmore' href='$entry.permalink'>$text.get('macro.weblog.readMore')</a>]" )
+               #set($readMore = "[<a class='readmore' href='$url.entry($entry.anchor)'>$text.get('macro.weblog.readMore')</a>]" )
                #set($sourceText = "$sourceText$readMore")
             #end
         #else 
@@ -41,13 +41,13 @@
 
     <span class="info">
         #if ($utils.isUserAuthorizedToAuthor($entry.website))
-            [<a href="$config.getWeblogEntryEditURL($entry)">$text.get("macro.weblog.entrypermalink.edit")</a>]
-        #end $entry.commentCount
+            [<a href="$url.editEntry($entry.anchor)">$text.get("macro.weblog.entrypermalink.edit")</a>]
+        #end
         Posted by $entry.creator.fullName in <span class="category">$entry.category.name</span>
-        <span class="dateStamp">at <a href="$entry.permalink">$utils.formatDate($entry.pubTime, "yyyyMMdd")</a></span>
+        <span class="dateStamp">at <a href="$url.entry($entry.anchor)">$utils.formatDate($entry.pubTime, "yyyyMMdd")</a></span>
         #set($commentCount = $entry.commentCount)
         #if($entry.commentsStillAllowed || $commentCount > 0)  
-            #set($link = "$entry.permalink#comments" )
+            #set($link = "$url.comments($entry.anchor)" )
             <a href="$link" class="commentsLink">$text.get("macro.weblog.comments")[$commentCount]</a>
         #end
     </span>