From: PeterThoeny Date: Mon, 19 Jan 2004 00:29:54 +0000 (+0000) Subject: none X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=commitdiff_plain;h=5c59f63fb3aab2c97163515ceb36fb1db3cf2956;hp=3530710ef41a384313727bdf697d89615ac99df6 none --- diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index fc718e6..8999f77 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -66,7 +66,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the Small 16x16 pixel icon of common attachment types, like bmp bmp, doc doc, gif gif, hlp hlp, html html, mp3 mp3, pdf pdf, ppt ppt, txt txt, xls xls, xml xml, zip zip, etc. Specify file type only, file name, or full path name. Example: %ICON{"pdf"}% returns pdf - %PARAM{"name"}% + %URLPARAM{"name"}% Returns the value of a URL parameter. Note that there is a risk that this variable could be misused for cross-scripting. Supported parameters: @@ -98,7 +98,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the -
Parameter: Encode special characters for URL parameter use, like a double quote into %22 no encoding
Example: %PARAM{"skin"}% returns print for a .../view/%WEB%/%TOPIC%?skin=print URL. Is %PARAM{"skin"}% + Example: %URLPARAM{"skin"}% returns print for a .../view/%WEB%/%TOPIC%?skin=print URL. Is %ENCODE{"string"}% @@ -327,7 +327,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the 2 digit year 99 - Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:43:53 + Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:43:57 %SERVERTIME%