Home
XtGem-
Templates-
XtScript-
Translate this page
Powered by
Microsoft® Translator
Main Index
Predefined Functions
Scripts
Xtforum post
Short Url
textarea pre switch
Switch between textarea and pre HTML tags
Example code
Show as text
<!--parser:xtscript--> get copy if $copy == 1 var $textarea = textarea var $text = Text var $val = 0 endif <!--/parser:xtscript--> <{_$$textarea|pre}> This is the content to be displayed </{_$$textarea|pre}> <!-- The switch button --> <form action="<xt:url>" method="post"> <input type="hidden" name="copy" value="{_$$val|1}" /> <input type="submit" value="{_$$text|Textarea}" /> </form>
Show as text
Example output
Reload
This is the content to be displayed
Quick index
convert countdown to y d h m s
headtags switch
search
search two
sub folders file count
textarea pre switch
About us
Contact
Forum
Â