Wiki Home » Panels » MyRecentModifications

MyRecentModifications

Last modified by Administrator on 2010/09/24 19:24
Name
My Recent Modifications
Panel type
view
Category
Information
Description

List the last 5 documents modified by the current user.

Content

#set($recentDocs = $xwiki.searchDocuments("where 1=1 and doc.author='$context.user' order by doc.date desc", 5, 0))
#if($recentDocs.size() > 0 || $showEmptyPanels)
#panelheader($msg.get("xe.panels.modifications.my"))
#set($first = true)
#foreach($docname in $recentDocs)
#set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument())
#if($first == true)
#set($first = false)
#else
<span class="pitemseparator"> | </span>
#end
<span class="panelitem"><a href="$rdoc.getURL('view')">$xwiki.getXMLEncoded($rdoc.displayTitle)</a></span>
#end
#panelfooter()
#end

Tags:
Created by Administrator on 2006/09/15 08:38

Copyright 2004-2025 XWiki
4.0-milestone-1