Author Topic: [QUESTION] Change the text "Control Panel"  (Read 5329 times)

0 Members and 1 Guest are viewing this topic.

Offline ACmonKey

  • Newbie
  • *
  • Posts: 25
    • View Profile
[QUESTION] Change the text "Control Panel"
« on: January 22, 2003, 04:02:32 PM »
Hello,

I would like to change the text that displays "Control Panel" for the Login Box into "User Profile" without changing the text to the other link for the Admin's Control Panel.

I'm afraid both texts are using the same definition in the language files so if i change it to whatever both change. What i want is to have Control Panel for the Admin and User Profile for the User.

Can somebody guide me on where to find this.
:(
Here is the list of my unanswered topics:

http://4homepages.de/forum/viewtopic.php?t=4001
http://4homepages.de/forum/viewtopic.php?t=5305

btw. V@no is a gr8 guy. He's answered almost all my questions. Thanks V@no ;)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[QUESTION] Change the text "Control Panel"
« Reply #1 on: January 22, 2003, 06:23:19 PM »
Open /includes/page_header.php
find
Code: [Select]
 "lang_control_panel" => $lang['control_panel'],
add after
Code: [Select]
 "lang_user_panel" => $lang['user_control_panel'],


Open /lang/english/main.php
add at the end of file before ?>
Code: [Select]
$lang['user_control_panel'] = "User Profile";

Open /templates/YOURTEMPLATE/user_logininfo.html
change
Code: [Select]
{lang_control_panel}to
Code: [Select]
{lang_user_panel}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ACmonKey

  • Newbie
  • *
  • Posts: 25
    • View Profile
[QUESTION] Change the text "Control Panel"
« Reply #2 on: January 23, 2003, 12:36:09 AM »
Thanks a lot  :D

Worked perfectly. I changed the variable names a bit but i understood what to do.

The reason i didn't get this to work before is that i didn't know that page_header.php is so important.

Now i can really start defining Multilanguage links in the gallery. 8)
:(
Here is the list of my unanswered topics:

http://4homepages.de/forum/viewtopic.php?t=4001
http://4homepages.de/forum/viewtopic.php?t=5305

btw. V@no is a gr8 guy. He's answered almost all my questions. Thanks V@no ;)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[QUESTION] Change the text "Control Panel"
« Reply #3 on: January 23, 2003, 02:27:25 AM »
yep, yep.
here is a good thread about multilang:
http://4homepages.de/forum/viewtopic.php?t=3351
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)