|
| Author |
Message |
Nate
Joined: 22 Oct 2005
Posts: 24
|
Posted: 10/28/2005, 9:35 am Post subject: Code question |
|
|
When Logged in, on my forum as with this forum, it looks like
Log out [ Nate ]
the code for that is
| Code: |
| <a href="{U_LOGIN_LOGOUT}" class="nav">{L_LOGIN_LOGOUT}</a> |
Do any of you know a way so that it's reversed? So it would look like
[ Nate ] Log out
I have changed the code to a few different variations but it hasn't worked for me yet.
If there isn't a way that's cool, but if there is would someone be willing to share?
Thanks! _________________ Ohio State Buckeyes Forums |
|
| Back to top |
|
 |
harishankar
Joined: 10 Sep 2005
Posts: 203
|
Posted: 10/28/2005, 11:26 am Post subject: |
|
|
It's in /includes/page_header.php. Search for a line like this
| Code: |
if ( $userdata['session_logged_in'] )
{
$u_login_logout = 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id'];
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
} |
That's where you can change this text.
Also to modify the actual string for logout that is $lang['Logout'], you need to edit the language/lang_english/lang_main.php _________________ Literary Forums
My Blog |
|
| Back to top |
|
 |
|