Subj : CVS commit web/templates/default/msgs/choosegroup.inc choosesubs.inc groups.inc msg.inc msgs.inc To : All From : deuce Date : Mon Apr 18 2005 07:47 pm web/templates/default/msgs choosegroup.inc 1.1 1.2 choosesubs.inc 1.1 1.2 groups.inc 1.10 1.11 msg.inc 1.12 1.13 msgs.inc 1.16 1.17 Update of /cvsroot/sbbs/web/templates/default/msgs In directory cvs.synchro.net:/tmp/cvs-serv23025/templates/default/msgs Modified Files: choosegroup.inc choosesubs.inc groups.inc msg.inc msgs.inc 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. .