8 Feb
2007
8 Feb
'07
16:25
On Thu, 8 Feb 2007, David Mayr wrote:
I applied a (heavily) modified version of your patch.
Ah. Ruby has a switch statement also :-) Already wondered, why there was such an if-elsif clause in the code. Also thought about using cascading style sheets, but didn't want to change that much on first try.
Just an recommendation for the future: please don't use '$' to start local variable names. '$' is used for global variables.
No prefix then. I searched the ruby pages on the net and found nothing related to variable names on a quick search, so I tried Perl syntax and it worked. Two other fixes I found are attached: Adding two links to reduce clicking effort. No ruby specifics here :-) Ciao -- http://www.dstoecker.eu/ (PGP key available)