Basically,
<if condition="xxx"> some HTML </if> ==> if (xxx) { echo('some HTML'); }
although you have to handle any single quotes and variables that might appear in "some HTML"
<phrase 1="x" 2="y" 3="z">phr</phrase> ==> construct_phrase("phr", "x", "y", "z");
That phrase stuff is a vb function of course, so if you're not using any vb you could just build a string instead.
|