roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r436869 - /incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/deprecated/referer.vm
Date Fri, 25 Aug 2006 17:35:20 GMT
Author: snoopdave
Date: Fri Aug 25 10:35:19 2006
New Revision: 436869

URL: http://svn.apache.org/viewvc?rev=436869&view=rev
Log:
Linkback macro was stepping on $url model

Modified:
    incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/deprecated/referer.vm

Modified: incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/deprecated/referer.vm
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/deprecated/referer.vm?rev=436869&r1=436868&r2=436869&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/deprecated/referer.vm (original)
+++ incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/deprecated/referer.vm Fri Aug
25 10:35:19 2006
@@ -66,9 +66,9 @@
        <b>$text.get( "macro.referer.furtherReading" )</b></p>
        <ul>
        #foreach( $ref in $refs )
-          #set( $url = $utils.escapeHTML( $ref.getUrl() ) )
+          #set( $linkbackurl = $utils.escapeHTML( $ref.getUrl() ) )
           <li> $pageHelper.getToggleLinkbackDisplayHTML($ref)
-             <a class="linkback" href="$url">$ref.getTitle()</a>
+             <a class="linkback" href="$linkbackurl">$ref.getTitle()</a>
           #if( $ref.getVisible() )
              : $utils.removeHTML( $ref.getExcerpt() )
           #end
@@ -89,9 +89,9 @@
         #if ( $refs.size() > 0)
            <ul class="linkbacks">
            #foreach( $ref in $refs )
-              #set( $url = $utilities.escapeHTML( $ref.getUrl() ) )
+              #set( $linkbackurl = $utilities.escapeHTML( $ref.getUrl() ) )
               <li class="linkbacks"> $pageHelper.getToggleLinkbackDisplayHTML($ref)
-                 <a class="linkback" href="$url">$ref.getTitle()</a> : $utilities.removeHTML(
$ref.getExcerpt() )
+                 <a class="linkback" href="$linkbackurl">$ref.getTitle()</a>
: $utilities.removeHTML( $ref.getExcerpt() )
               </li>
            #end
            </ul>



Mime
View raw message