Changeset 1290
- Timestamp:
- 12/12/08 06:14:12 (3 years ago)
- Location:
- trunk/core/data/System
- Files:
-
- 5 edited
-
TemplateTopics.txt (modified) (3 diffs)
-
VarDATE.txt (modified) (1 diff)
-
VarREVINFO.txt (modified) (1 diff)
-
VarSCRIPTURL.txt (modified) (1 diff)
-
VarSCRIPTURLPATH.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/TemplateTopics.txt
r1206 r1290 25 25 | =%<nop>DATE%= | Signature format date. See VarDATE | 26 26 | =%<nop>GMTIME%= | Date/time. See VarGMTIME | 27 | =%<nop>GMTIME{...}%= | Formatted date/time. See VarGMTIME 2|27 | =%<nop>GMTIME{...}%= | Formatted date/time. See VarGMTIME | 28 28 | =%<nop>NOP%= | A no-operation macro that gets removed. Useful to prevent a SEARCH from hitting an edit template topic; also useful to escape a variable, such as =%<nop>URLPA%<nop>NOP%RAM{...}%= escaping URLPARAM | 29 29 | =%<nop>STARTSECTION{type="templateonly"}%%BR%...%BR%%<nop>ENDSECTION{type="templateonly"}%= | Text that gets removed when a new topic based on the template topic is created. See notes below. | 30 30 | =%<nop>SERVERTIME%= | Date/time. See VarSERVERTIME | 31 | =%<nop>SERVERTIME{...}%= | Formatted date/time. See VarSERVERTIME 2|31 | =%<nop>SERVERTIME{...}%= | Formatted date/time. See VarSERVERTIME | 32 32 | =%<nop>USERNAME%= | Login name of user who is instantiating the new topic, e.g. %USERNAME% | 33 33 | =%<nop>URLPARAM{"name"}%= | Value of a named URL parameter | … … 75 75 76 76 <form name="new" action="%SCRIPTURLPATH{edit}%/Sandbox/"> 77 * New example topic: 77 * New example topic: 78 78 <input type="text" name="topic" value="ExampleTopicAUTOINC0001" size="30" /> <input type="submit" class="foswikiSubmit" value="Create" /> 79 79 <input type="hidden" name="templatetopic" value="ExampleTopicTemplate" /> … … 87 87 <pre> 88 88 <form name="new" action="%<nop>SCRIPTURLPATH{edit}%/Sandbox/"> 89 * New example topic: 89 * New example topic: 90 90 <input type="text" name="topic" value="ExampleTopicAUTOINC0001" size="30" /> 91 91 <input type="hidden" name="templatetopic" value="ExampleTopicTemplate" /> -
trunk/core/data/System/VarDATE.txt
r683 r1290 7 7 * Date format defined as {DefaultDateFormat} in [[%SCRIPTURLPATH{"configure"}%][configure]] 8 8 * __%X% Note:__ When used in a template topic, this variable will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details. 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarDISPLAYTIME][DISPLAYTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME2][GMTIME{"format"}]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSERVERTIME][SERVERTIME]] 10 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarDISPLAYTIME][DISPLAYTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME][GMTIME{"format"}]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSERVERTIME][SERVERTIME]] -
trunk/core/data/System/VarREVINFO.txt
r1284 r1290 26 26 | =$time= | Revision time | =23:24:25= | 27 27 | =$iso= | Revision date in ISO date format | =2006-09-22T06:24:25Z= | 28 | =$min=, =$sec=, etc. | Same date format qualifiers as [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME 2][GMTIME{"format"}]] | |28 | =$min=, =$sec=, etc. | Same date format qualifiers as [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME][GMTIME{"format"}]] | | 29 29 * Example: =%<nop>REVINFO{"$date - $wikiusername" rev="1.1"}%= returns revision info of first revision 30 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME 2][GMTIME{"format"}]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREVINFO][REVINFO]]30 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME][GMTIME{"format"}]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREVINFO][REVINFO]] -
trunk/core/data/System/VarSCRIPTURL.txt
r1288 r1290 9 9 * __%X% Note:__ In most cases you should use =%<nop>SCRIPTURLPATH{"script"}%= instead, as it works with URL rewriting much better 10 10 * __Note:__ The =edit= script should always be used in conjunction with =?t=%<nop>GMTIME{"$epoch"}%= to ensure pages about to be edited are not cached in the browser 11 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarPUBURL][PUBURL]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTNAME][SCRIPTNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTURLPATH][SCRIPTURLPATH]] , [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTURLPATH2][SCRIPTURLPATH{"script"}]]11 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarPUBURL][PUBURL]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTNAME][SCRIPTNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTURLPATH][SCRIPTURLPATH]] -
trunk/core/data/System/VarSCRIPTURLPATH.txt
r1288 r1290 7 7 * Expands to: =%SCRIPTURLPATH{"script"}%= 8 8 * __Note:__ The =edit= script should always be used in conjunction with =?t=%<nop>GMTIME{"$epoch"}%= to ensure pages about to be edited are not cached in the browser 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarPUBURLPATH][PUBURLPATH]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTNAME][SCRIPTNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTURL][SCRIPTURL]] , [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTURL2][SCRIPTURL{"script"}]]9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarPUBURLPATH][PUBURLPATH]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTNAME][SCRIPTNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSCRIPTURL][SCRIPTURL]]
Note: See TracChangeset
for help on using the changeset viewer.
