<dtml-let wikiurl=wiki_url num="50" > <dtml-let
includepages="REQUEST.get('includepages','changed')" summaries="REQUEST.get('summaries',0)" period="REQUEST.get('period','Day')" days="{
'Day':1, 'Week':7, 'Month':30, 'Year':365, 'Ever':999999, 'default':3}[period]?"newdays="7" now=ZopeTime? results="pages(
lastEditTime=now-days, lastEditTime_usage='range:min',)
- #((includepages=='changed') and
- pages(
- lastEditTime=now-days, lastEditTime_usage='range:min',))
- or pages(
- creationTime=now-days, creationTime_usage='range:min', ) #logic error when no changed pages"
number="_.len(results)"
> <form action="&dtml-page_url;" method="GET"> <table border="0"> <tr valign="top"> <dtml-comment> <td> Show </td> <td nowrap> <dtml-in "['changed','new',]?" prefix=x> <input type=radio name=includepages value="&dtml-x_sequence_item;" <dtml-if "x_sequence_item==includepages">checked</dtml-if>>&dtml-x_sequence_item;<br> </dtml-in> </td> </dtml-comment> <td align=right> 最近変更されたページ </td> <dtml-in "['Day','Week','Month','Year','Ever']?" prefix=x> <td align="center"> <input type=submit name=period value="&dtml-x_sequence_item;" <dtml-if "x_sequence_item==period">style="font-weight:bold"</dtml-if>> <dtml-if "x_sequence_item==period"><br>(&dtml-number;)</dtml-if> </td> </dtml-in> <td align=right> 要約付 </td> <td> <input type=checkbox name=summaries <dtml-if summaries>checked</dtml-if>> </td> </tr> </table> </form>
<table border="0" cellspacing="0" cellpadding="1" width="100%"> <tr> <th align="left">ページ</th> <th align="left">編集者 </th> <th align="left">日時</th> </tr> <tr><td colspan=3></td></tr> <dtml-in results sort=lastEditTime reverse prefix=x> <tr valign="top" <dtml-var "(x_sequence_odd and 'bgcolor=#f0f0f0') or ''"> > <td <dtml-comment> bgcolor="<dtml-var issueColour>" </dtml-comment> > <a href="&dtml-wikiurl;/&dtml.url_quote-id;" title="" style="background-color:<dtml-var issueColour>;" >&dtml-Title;</a> <dtml-if "creation_time and (now - _.DateTime?(creation_time)) < newdays"> <b>(新規)</b> </dtml-if> <dtml-unless summaries> <dtml-if last_log> <br> <em><dtml-var last_log><br></em> <dtml-else> <br><br> </dtml-if> </dtml-unless> </td> <td align="left" nowrap> <dtml-if "last_editor and _.string.swapcase(last_editor) != last_editor"> <a href="&dtml-wikiurl;/&dtml.url_quote-last_editor;">&dtml-last_editor;</a> <dtml-else> anonymous </dtml-if> </td> <td nowrap> <a href="&dtml-wikiurl;/<dtml-var id>/diff"> <dtml-try> <dtml-var age><dtml-raise type="later"></dtml-raise> <dtml-except> <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> </dtml-try> </a> </td> </tr> <dtml-if summaries> <tr <dtml-var "(x_sequence_odd and 'bgcolor=#f0f0f0') or ''"> > <td colspan=2> <small><dtml-var summary></small> <dtml-if last_log> <br> <em><dtml-var last_log></em> </dtml-if> <br><br> </td> <td> </td> </tr> </dtml-if> </dtml-in> </table> </dtml-let>
(新規) が付いているのは、一週間以内に作成されたページです。
<dtml-comment>don't think we need this any more ? <dtml-try> <dtml-except> <!-- using brute force search --> <form action="&dtml-page_url;" method="GET"> この wiki で最近変更された <input name="num" value="&dtml-num;" size="4"> ページ表示する。 <input type="submit" value="List" > </form>
<table border="0" cellspacing="0"> <tr> <th align="left">ページ</th> <th align="left">注釈者 </th> <th align="left"> </th> <th align="left">日時</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-wikiurl;/&dtml.url_quote-sequence-key;" title="<dtml-var "folder()[_['sequence-key']]?.linkTitle()">" >&dtml-Title;</a> </td> <td align="left"> <i><dtml-var last_log missing=" "> </i> </td> <td align="left" nowrap> <dtml-if "last_editor and _.string.swapcase(last_editor) != last_editor"> <a href="&dtml-wikiurl;/&dtml.url_quote-last_editor;"><dtml-var last_editor></a> <dtml-else> anonymous </dtml-if> </td> <td nowrap> <a href="&dtml-wikiurl;/&dtml.url_quote-sequence-key;/diff"> <dtml-try> <dtml-var age><dtml-raise type="doesn't work"></dtml-raise> <dtml-except> <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> </dtml-try> </a> </td> </tr> <dtml-if sequence-end> </table> <p> <b><dtml-var sequence-number> ページ</b> </dtml-if> </dtml-in>
<p>(カタログが無いか、カタログ検索に失敗しました、力ずくで検索しました) </dtml-try> </dtml-comment>
</dtml-let>