Jump to content

Question about lang file


Guest

Recommended Posts

Could any one tell me how i would make a link in the lang file as in

la_blabla = "<a href="http://www.anysite.com/anypage">a word</a>"

when i do it for some reason it keeps coming up with all of it and not just the a word bit.

Link to comment
Share on other sites

Just found this in the lang file

$la_welcome_tools = "[ <a class=MainLink href='logout.php' target='_self'>Log Out</a> | <a class=MainLink href=\"control_panel.php\" target=\"_self\">Control Panel</a> ]";


So if i changed it to this


$la_welcome_tools = "[ <a href='logout.php' target='_self'>Log Out</a>]";


i recon it should work but


$la_welcome_tools = "[ <a href=[B]'logout.php' [/B]target='_self'>Log Out</a>]";


When i change the bold bit to


http://www.mysite/logout.php

it wont work this is just an example not the links i am using

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...