Re: Java Script problem
None of my previous suggestions was sufficient to make Nezihi's
JavaScript work together with the Ringlink templates. These are the
changes that finally made it:
Line 688 (in rlmain.pm) was changed to: $output =~ s{\[([A-Z][A-Z0-9_]+)\]}{and line 694 was changed to: }eg; However, I feel that the fix is infirm, and I'm inclined to think that the format of the template variables should be changed. I'm considering a change from [VARIABLE] to %VARIABLE%. Please let me know about any doubts that you may have. What's important is that the variable format is easy to distinguish from anything else that typically appears on HTML pages. / Gunnar
|