Subj : CVS commit web/lib/template.ssjs To : All From : deuce Date : Mon Apr 18 2005 07:47 pm web/lib template.ssjs 1.26 1.27 Update of /cvsroot/sbbs/web/lib In directory cvs.synchro.net:/tmp/cvs-serv23025/lib Modified Files: template.ssjs Log Message: Overhaul of template.ssjs ======== THERE IS NEW SYNTAX ======== It is absolutely forbidden to include one tag inside another... NO execptions anymore. This one will have the largest impact. Essentially, @@JS:if(somevar)then'@@something:else@@'else''@@ will *NOT* work. Now, if you want to access to current iteration of the repeated array inside a <> section, it's available inside of JS: bits as RepeatObj. This should remove all need for nested tags. A new convinience functions has been added... Nz(value[, valIfUndef]) returns valIfUndef (defaults to the empty string) if value is undefined and value if it IS defined. .