Update of /cvsroot/roller/roller/deploy/WEB-INF/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv22576/deploy/WEB-INF/classes
Modified Files:
weblog.vm
Log Message:
Got the Edit display working, but Velocity is complaining about the new
showLinkbacks macro. I'll look at this tomorrow.
Index: weblog.vm
===================================================================
RCS file: /cvsroot/roller/roller/deploy/WEB-INF/classes/weblog.vm,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** weblog.vm 27 Jan 2003 03:19:03 -0000 1.4
--- weblog.vm 27 Jan 2003 05:09:31 -0000 1.5
***************
*** 9,13 ****
*#
#macro( showLinkbacks $day )
! #set( $refs = $refMgr.getReferersToDate( $username,
#formatDate($plainFormat $day )) )
#if ( $refs.size() > 0 )
<br/>
--- 9,14 ----
*#
#macro( showLinkbacks $day )
! #set( $date = #formatDate($plainFormat $day ) )
! #set( $refs = $refMgr.getReferersToDate( $username, $date) )
#if ( $refs.size() > 0 )
<br/>
***************
*** 29,32 ****
--- 30,38 ----
#end
#end
+
+ ## Display the linkback for a given date
+ #macro( getDayLinkbacks $day )
+ getDayLinkbacks:Dave hasn't checked in code for me to rip-off yet
+ #end
## Display Permalink for Date
***************
*** 109,115 ****
#end
#**
* Just uses dayTemplateX for now, what is a good way
! * to allow the user to select a different day template,
* or should we even bother giving that option?
*#
--- 115,127 ----
#end
+ #macro( simpleTemplate $entry )
+ #set( $title = "$entry.Title" )
+ #set( $text = "$entry.Text" )
+ <p><b>$title </b>$text</p>
+ #end
+
#**
* Just uses dayTemplateX for now, what is a good way
! * to allow the user to select a differnt day template,
* or should we even bother giving that option?
*#
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
|