Edit detail for RecentChanges revision 1 of 1

1
Editor:
Time: 2003/08/11 21:10:46 GMT+0
Note:

changed:
-
<dtml-let 
num="_.int(REQUEST.get('num',50))"
Catalog=catalog
usecatalog="_.int(REQUEST.get('usecatalog',1)) and Catalog"
wiki_url=wiki_url
>
<dtml-try>
<dtml-unless usecatalog>
<dtml-raise type="nocatalog">nocatalog</dtml-raise>
</dtml-unless>
<!-- using catalog search; we'll fall back to brute force if this errors -->
<form action="&dtml-page_url;" method="post">
Recently changed pages in this wiki.  
Show <input name="num" value="&dtml-num;" size="4"> pages
<input type="submit" value="List" >
</form>

<table border="0" cellspacing="0">
<tr>
<th align="left">Page</th>
<th align="left">Note&nbsp;&nbsp;&nbsp;</th>
<th align="left">By&nbsp;&nbsp;&nbsp;</th>
<th align="left">Time</th>
</tr>
<tr><td></td></tr>
<dtml-in
"Catalog()
#Catalog(lastEditTime=_.DateTime()-7,lastEditTime_usage='range:min')" 
sort=lastEditTime reverse size="num">
<tr valign="top"
<dtml-var "(_['sequence-odd'] and 'bgcolor=#f0f0f0')or ''">
>
<td>
<a href="&dtml.url_quote-id;"
title="<dtml-var "folder()[id].linkTitle()">"
>&dtml-title_or_id;</a>
&nbsp;&nbsp;&nbsp;
</td>
<td align="left">
<em><dtml-var last_log missing="&nbsp;"> </em>
&nbsp;&nbsp;&nbsp;
</td>
<td align="left" nowrap>
<dtml-if "last_editor and _.string.swapcase(last_editor) != last_editor">
<a href="&dtml.url_quote-last_editor;">&dtml-last_editor;</a>
<dtml-else>
anonymous
</dtml-if>
&nbsp;&nbsp;&nbsp;
</td>
<td nowrap>
<a href="<dtml-var id>/diff">
<dtml-try>
<dtml-var "lastEditTime.toZone(zwiki_timezone)" fmt="pCommon">
<dtml-except>
<dtml-try>
<dtml-var lastEditTime fmt="pCommon">
<dtml-except>
<dtml-try>
<dtml-var "bobobase_modification_time.toZone(zwiki_timezone)" fmt="pCommon">
<dtml-except>
<dtml-var bobobase_modification_time fmt="pCommon">
</dtml-try>
</dtml-try>
</dtml-try>
</a>
</td>
</tr>
<dtml-if sequence-end>
</table>
<p>
<b><dtml-var sequence-number> pages</b>
</dtml-if>
</dtml-in>


<dtml-except>
<!-- using brute force search -->
<form action="&dtml-page_url;" method="post">
Recently changed pages in this wiki.
Show <input name="num" value="&dtml-num;" size="4"> pages
<input type="submit" value="List" >
</form>

<table border="0" cellspacing="0">
<tr>
<th align="left">Page</th>
<th align="left">Note&nbsp;&nbsp;&nbsp;</th>
<th align="left">By&nbsp;&nbsp;&nbsp;</th>
<th align="left">Time</th>
</tr>
<tr><td></td></tr>
<dtml-in "aq_parent.objectItems(spec='ZWiki Page')" sort=lastEditTime reverse size="num">
<tr 
<dtml-var "(_['sequence-odd'] and 'bgcolor=#f0f0f0')or ''">
valign="top">
<td>
<a href="&dtml-wiki_url;/&dtml.url_quote-sequence-key;"
title="<dtml-var "folder()[_['sequence-key']].linkTitle()">"
>&dtml-title_or_id;</a>
</td>
<td align="left">
<i><dtml-var last_log missing="&nbsp;"> </i>
</td>
<td align="left" nowrap>
<dtml-if "last_editor and _.string.swapcase(last_editor) != last_editor">
<a href="&dtml-wiki_url;/&dtml.url_quote-last_editor;"><dtml-var last_editor></a>
<dtml-else>
anonymous
</dtml-if>
&nbsp;&nbsp;&nbsp;
</td>
<td nowrap>
<a href="&dtml.url_quote-sequence-key;/diff">
<dtml-try>
<dtml-var "lastEditTime().toZone(zwiki_timezone)" fmt="pCommon">
<dtml-except>
<dtml-try>
<dtml-var lastEditTime fmt="pCommon">
<dtml-except>
<dtml-try>
<dtml-var "bobobase_modification_time.toZone(zwiki_timezone)" fmt="pCommon">
<dtml-except>
<dtml-var bobobase_modification_time fmt="pCommon">
</dtml-try>
</dtml-try>
</dtml-try>
</a>
</td>
</tr>
<dtml-if sequence-end>
</table>
<p>
<b><dtml-var sequence-number> pages</b>
</dtml-if>
</dtml-in>

</dtml-try>
</dtml-let>


nocatalog

Recently changed pages in this wiki. Show pages

>
Page Note    By    Time
" >&dtml-title_or_id;         &dtml-last_editor; anonymous    

pages

Recently changed pages in this wiki. Show pages

valign="top">
Page Note    By    Time
" >&dtml-title_or_id; anonymous    

pages