[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: Java Script problem


  • From: Gunnar Hjalmarsson  
  • Date: Wed, 30 Jul 2003 13:16:14 +0200

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


Follow-Ups from:
Gunnar Hjalmarsson
Fife and Drum Webring
James S. Huggins (Ringlink)

References to:
ozdu0001
Gunnar Hjalmarsson
Gunnar Hjalmarsson

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]