Difference: TWikiVariables (73 vs. 74)

Revision 7418 Jan 2004 - PeterThoeny

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Line: 47 to 47
 
%ICON{"type"}% Small 16x16 pixel icon of common attachment types, like bmp bmp, doc doc, gif gif, hlp hlp, html html, wav 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
Changed:
<
<
%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:
Parameter: Description: Default:
<-- -->
"name" The name of a URL parameter required
Line: 55 to 55
 
newline="<br />" Convert newlines to other delimiters no conversion
encode="entity" Encode special characters into HTML entities, like a double quote into &#034;. This is needed if text is put into an HTML form field no encoding
encode="url" Encode special characters for URL parameter use, like a double quote into %22 no encoding
Changed:
<
<
Example: %PARAM{"skin"}% returns print for a .../view/TWiki/TWikiVariables?skin=print URL. Is %PARAM{"skin"}%
>
>
Example: %URLPARAM{"skin"}% returns print for a .../view/TWiki/TWikiVariables?skin=print URL. Is
 
%ENCODE{"string"}%
 
This site is powered by the TWiki collaboration platformCopyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiVariables