{ADMIN_LINK}

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
Albert Wiersch
Registered User
Posts: 145
Joined: Sat Dec 11, 2004 6:00 pm
Location: Dallas, TX
Name: Albert Wiersch
Contact:

{ADMIN_LINK}

Post by Albert Wiersch » Sat Dec 11, 2004 6:40 pm

Template(s) used: overall_footer.tpl
Any and all MODs: none
Do you use a port of phpBB: no
Version of phpBB: 2.0.11
Version of PHP: 4 something
Which database server and version: MySQL 3.x

It seems that the {ADMIN_LINK} in overall_footer includes "<br /><br />". Instead, "<br /><br />" should be specified in the template and not as part of the link. This prevents me from certain templates because I cannot remove the <br /><br /> that is included in {ADMIN_LINK}

Albert Wiersch
Registered User
Posts: 145
Joined: Sat Dec 11, 2004 6:00 pm
Location: Dallas, TX
Name: Albert Wiersch
Contact:

Post by Albert Wiersch » Sat Dec 11, 2004 6:58 pm

I think I understand the reasoning behind this now. The admin link is only displayed for admins... so by putting the two "br"s in the template file, the "br"s would always be displayed even if the admin link wasn't. By adding the "br"s to the link it is only displayed when the link is available. A minor issue.

Locked

Return to “2.0.x Support Forum”