You are here:
STALklubben
>
System Web
>
SiteTools
>
SiteChanges
(2009-09-12,
ProjectContributor
)
(raw view)
E
dit
A
ttach
---+ Recently Changed Topics in %URLPARAM{"web" default="all"}% Webs <style> #changesForm .foswikiFormStep {padding:.5em 0; border-width:0;} #changesForm .foswikiFormSteps {background-color:#fff; border-width:0;} </style> <!-- START DATE SELECTION --> <form name="seeChangesSince" id="changesForm" method="get" action="%TOPIC%" onSubmit="processFormValue(since.value);"/> <noautolink> <div class="foswikiFormSteps"> <div class="foswikiFormStep"> See changes since: <select class="foswikiSelect" name="since" onChange="storeSelectedOption(this[selectedIndex].id, this[selectedIndex].value, document.forms.seeChangesSince.sinceReadable)"> <option id="last_time_checked" value=""></option> <option id="1_hour_ago" value="%CALC{"$FORMATTIME($EVAL($TIME()-1*3600), $year-$month-$day $hour:$minute:$second)"}%">1 hour ago</option> <option id="6_hours_ago" value="%CALC{"$FORMATTIME($EVAL($TIME()-6*3600), $year-$month-$day $hour:$minute:$second)"}%">6 hours ago</option> <option id="12_hours_ago" value="%CALC{"$FORMATTIME($EVAL($TIME()-12*3600), $year-$month-$day $hour:$minute:$second)"}%">12 hours ago</option> <option id="24_hours_ago" value="%CALC{"$FORMATTIME($EVAL($TIME()-24*3600), $year-$month-$day $hour:$minute:$second)"}%">24 hours ago</option> <option id="3_days_ago" value="%CALC{"$FORMATTIME($EVAL($TIME()-3*24*3600), $year-$month-$day $hour:$minute:$second)"}%">3 days ago</option> <option id="1_week_ago" value="%CALC{"$FORMATTIME($EVAL($TIME()-7*24*3600), $year-$month-$day $hour:$minute:$second)"}%">1 week ago</option> <option id="2_weeks_ago" value="%CALC{"$FORMATTIME($EVAL($TIME()-14*24*3600), $year-$month-$day $hour:$minute:$second)"}%">2 weeks ago</option> <option id="4_weeks_ago" value="%CALC{"$FORMATTIME($EVAL($TIME()-28*24*3600), $year-$month-$day $hour:$minute:$second)"}%">4 weeks ago</option> <option id="beginning" value="%CALC{"$FORMATTIME(0, $year-$month-$day $hour:$minute:$second)"}%">beginning</option> </select> <input type="hidden" name="sinceReadable" value="%URLPARAM{"sinceReadable"}%" /> <input type="hidden" name="debugJs" value="%URLPARAM{"debugJs" default="0"}%" /> <input type="submit" class="foswikiButton" name="search" value="Update" /> </div> <div class="foswikiFormStep"> %TABLE{sort="on" initsort="1" initdirection="up" headerrows="1"}% | *Last Modified* | *Web* | *Topic* | *Last Editor* | *Action* | %SEARCH{ "info.author!='WikiGnome' AND info.date >= d2n('%URLPARAM{"since" default="%CALC{$FORMATTIME($EVAL($TIME()-24*3600), $year-$month-$dayT$hour:$minute:$second)}%"}%')" type="query" nosearch="on" nototal="on" limit="%URLPARAM{"limit" default="25"}%" web="%URLPARAM{"web" default="all"}%" excludetopic="WebStatistics" reverse="on" order="modified" format="| $date | <nop>$web | [[%SCRIPTURLPATH{"view"}%/$web/$topic#foo_$rev][$percntFORMFIELD{$quotSummary$quot topic=$quot$web.$topic$quot format=$quot$topic: $value$quot default=$quot$topic$quot alttext=$quot$topic$quot}$percnt]] | [[$wikiusername][$wikiname]] | [[%SCRIPTURLPATH{"rdiff"}%/$web/$topic#_foo=$rev][diff]], %BR% [[%SCRIPTURLPATH{"rdiff"}%/$web/$topic?type=last&render=sequential&context=9000&_foo=$rev#diff001][last change]] | " }% </div> <div class="foswikiFormStep"> Maximum %URLPARAM{"limit" default="25"}% items per web (%URLPARAM{"web" default="all"}%) %TWISTY{remember="on" showlink="change..." hidelink="close options"}% <div class="foswikiFormSteps" style="margin:.5em 0; background-color:#fff;"> <div class="foswikiFormStep"> <h4>Number of changes for each web</h4> <input type="radio" name="limit" value="20" id="limit20" %IF{" '%URLPARAM{"limit"}%'='20'" then="checked=\"1\""}% /><label for="limit20">20</label> <input type="radio" name="limit" value="50" id="limit50" %IF{" '%URLPARAM{"limit"}%'='50'" then="checked=\"1\""}%/><label for="limit50">50</label> <input type="radio" name="limit" value="100" id="limit100" %IF{" '%URLPARAM{"limit"}%'='100'" then="checked=\"1\""}%/><label for="limit100">100</label> <input type="radio" name="limit" value="200" id="limit200" %IF{" '%URLPARAM{"limit"}%'='200'" then="checked=\"1\""}%/><label for="limit200">200</label> <input type="radio" name="limit" value="400" id="limit400" %IF{" '%URLPARAM{"limit"}%'='400'" then="checked=\"1\""}%/><label for="limit400">400</label> <input type="radio" name="limit" value="" id="limit0" %IF{" '%URLPARAM{"limit"}%'='25'" then="checked=\"1\""}%/><label for="limit0">default (25)</label> </div> <div class="foswikiFormStep"> <h4>Webs</h4> <input type="text" class="foswikiInputField" name="web" value="%URLPARAM{"web" default="all"}%" size="80" /><br />Specify =all= for all webs, or a comma separated list of webs from: <br /> =%WEBLIST{"$name" separator=","}%= </div> <div class="foswikiFormStep"> <input type="submit" class="foswikiButton" name="search" value="Update" /> </div> </div> %ENDTWISTY% </div> </div> </noautolink> </form> <script type="text/javascript" src="%PUBURL%/%SYSTEMWEB%/JavascriptFiles/foswikiPref.js"></script> <script type="text/javascript"> // <![CDATA[ // debug the javascript by passing urlparam debugJs=1 var DEBUG = %URLPARAM{"debugJs" default="0"}%; // var DEFAULT_OPTION_ID = '24_hours_ago'; // var dateLastCheck = foswiki.Pref.getPref("WebChangesForAllWebs_dateLastCheck"); if (dateLastCheck) { var selectedOption = '%URLPARAM{"sinceReadable"}%'; if (DEBUG) alert("sinceReadable selectedOption:" + selectedOption); if (selectedOption) { setOptionSelected(selectedOption); } else { setOptionSelected(DEFAULT_OPTION_ID); } } var now = '%CALC{"$FORMATTIME($EVAL($TIME()), $year-$month-$day $hour:$minute:$second)"}%'; if (DEBUG) alert("now:" + now); if (now) { foswiki.Pref.setPref("WebChangesForAllWebs_dateLastCheck", now); updateLastTimeCheckedOption(now); } function updateLastTimeCheckedOption (inDate) { var el = document.getElementById('last_time_checked'); if (el) { el.value=inDate; el.text = "last time I checked"; } } function setOptionSelected (inId) { if (DEBUG) alert("setOptionSelected:inId=" + inId); document.getElementById(inId).selected = "selected"; } function processFormValue (inValue) { if (DEBUG) alert("submitted:" + inValue); return true; } // stores the name function storeSelectedOption (inName, inValue, inStorageField) { if (DEBUG) alert("storeSelectedOption:inName=" + inName + ";inValue=" + inValue + ";inStorageField=" + inStorageField); // store readable value so we can use it when reloading the page inStorageField.value=inName; return true; } // ]]> </script> <!-- END DATE SELECTION -->
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2009-09-12 - 02:05:21 -
ProjectContributor
System
Internetbokning
Log In
(ej för bokning) or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Main
STALklubben
Sandbox
System
Deutsch
English
Svenska
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding STALklubben?
Send feedback