General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
WikiCode
▼
:
Document Index
»
Page:
Macros
Search
en
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Main wiki
»
Wiki Manager
»
Space WikiCode
»
Macros
Wiki source code of
Macros
Last modified by
Administrator
on 2012/03/21 17:41
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: #macro(displaymodification $pagename $pagelink $date $formatDate $user $star) 2: #if(!$formatDate) 3: #set($formatDate = $msg.get("wikimanager.defaultdatetimeformat")) 4: #end 5: #if($formatDate == "wikimanager.defaultdatetimeformat") 6: #set($formatDate = "yyyy MMMM dd 'at' HH:mm") 7: #end 8: 9: #set($username = $xwiki.getUserName($user)) 10: #if ($username == "XWikiGuest") 11: #set($username = "Guest") 12: #end 13: 14: #if($star)*#end [$pagename>$pagelink] $xwiki.formatDate($date, $formatDate) $username 15: #end