{msgAddContent} als Bildlink

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Taney

{msgAddContent} als Bildlink

Post by Taney »

Hallo,
ist eigentlich nicht möglich, die Links nicht als Text- sondern als Bildlink auszugeben? Sprich, die obere Navigationsleiste: z.B. {msgAddContent}

Grüße
Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ja, das geht, in dem du den <img>-Tag in die Sprachdatei einfügst.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Taney

Post by Taney »

ich habe das bei german.php eingefügt, funzt aber nicht??

$msgSearch = "<img border="0" src="../images/suche.gif">";

Die Fehlermeldung:
Parse error: parse error, unexpected T_LNUMBER in /srv/www/htdocs/web6/html/faq/lang/german.php on line 11
AFillbrandt
Posts: 28
Joined: Sun Mar 27, 2005 12:23 pm
Contact:

Post by AFillbrandt »

Ja, das liegt an den Anführungszeichen...
$msgSearch = "<img border="0" src="../images/suche.gif">";
solltest du durch

Code: Select all

$msgSearch = "<img border='0' src='../images/suche.gif'>";
ersetzen. Dann sollte es gehen!

Gruß
Alex
Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

oder \" statt ".

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Taney

Post by Taney »

Danke, hat super funktioniert :-)
Post Reply