source
Display the "source code" of a LOCAL file in various ways
[...] = optional ... = your value
call source $file=...;$html_safe=...;$nl2br=...;$space2nbsp=...
Notes
$file=Location of file
source uses addresses relative to the current location only not http://
$html_safe=0 Do not convert reserved characters.
The html in the file is parsed. Xt: functions "get" variables and widgets are parsed
Xtscript in the file is not parsed but xtscript "get" variables in the calling script are parsed in the source file
$html_safe=1 Convert reserved characters to their html entity equivalents.
The html in the file is shown as text
$nl2br=1 Insert a <br />before all newlines in the file
$space2nbsp=1 Convert spaces in the output to non-breaking spaces ( )
Example code
<!--parser:xtscript-->
print <pre>
call source $file=/FOLDER/FILE;$html_safe=1;$nl2br=0;$space2nbsp=0
print </pre>
<!--/parser:xtscript-->
Show in textareaExample output