I ran this module through Coder and fixed/cleaned up a few things as a result. Attached are patches with these changes.
One important one was changing $_SERVER['REQUEST_URI'] to request_uri(). Apparently it can be a security issue...

CommentFileSizeAuthor
gtranslate_links.module.patch5.56 KBAnonymous (not verified)
gtranslate_links.info.patch423 bytesAnonymous (not verified)

Comments

blinkingtwelve’s picture

Assigned: Unassigned » blinkingtwelve
Status: Needs review » Fixed

Thanks a bunch! It's in CVS HEAD.

I will not apply gtranslate_links.info.patch, for the following reasons:
a) the packaging script adds the 'core=' stanza, so not adding it myself does not break anything
b) I do not wish to hardcode 'core=$ver' into the .info because then I'll have to maintain a separate version of this file for each Drupal major version. Right now, any recent release will run on both D5 and D6, because of a)

Anonymous’s picture

Ah, didn't know that. I was going off this: http://drupal.org/node/231036 where it says core is required...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.