Login
·
Signup
Home
»
XtGem
»
Coding help
»
need hlp
» View post
Graham
Waplocus
couple of small changes
<!--parser:xtscript--> var $spc=call chr $val=32 var $path=<xt:url type="path" /> var $pos = call strrpos $haystack=$path; $needle=/;$offset=1 var $name = call substr $val=$path; $start=($pos+1) var $isIndex = call stripos $haystack=$path; $needle=index; if $isIndex var $newPath = call substr $val=$path; $start=1 ;$length=($pos-1) print $newPath goto @end endif var $name = call str_replace $subject=$name; $search=_ ; $replace=$spc print $name @end <!--/parser:xtscript-->
demos
http://baretest.xtgem.com/tests/t2/index
and
http://baretest.xtgem.com/tests/t2/page
#
2017-11-03 04:45 ·
(0)
Home
»
XtGem
»
Coding help
»
need hlp
» View post
Online: Guests: 2
Log in