Add a link in top, (picture attached)

Neophyte
Neophyte's picture

Joined: 2005-05-08
Posts: 19
Posted: Sat, 2007-01-27 12:47

Is it possible to add a link like in this picture:
http://img206.imageshack.us/img206/3025/linkbg1.jpg

Please help :)

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.5
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2007-01-27 13:30

Normally i refuse to support outdated Version.
Your Gallery is 5 Versions behind the current and contains security issues ..

Anyway.
open albums.php
find:

} else {
    if (!$GALLERY_EMBEDDED_INSIDE) {
        $iconText = getIconText('identity.gif', _("login"));
            $iconElements[] = popup_link($iconText, "login.php", false, true, 500, 500);

before the $iconText, add a line like this:
$icontElements[] = 'My nice Link';

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
mcbass

Joined: 2005-12-29
Posts: 1
Posted: Tue, 2007-02-27 01:17

How do I do this in Gallery 2.1.2??

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-02-27 08:58

Please ask this in the G2 Forum.

G1 and G2 have a complete different code base.

Jens
--
Last Gallery v1 Developer and v1 translation manager.