News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Print Username on anywhere i want?

Started by bit bit spears, January 09, 2004, 06:32:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bit bit spears

Hi, I want to make this appear: Welcome to our gallery, USERNAME.

How would i go about doing this?

jason

open lang/english.php

find        'logout_lnk' => 'Logout',

add after         'welcome_msg' => 'Welcome to our gallery,',

open themes/*your_theme*/theme.php

find<!-- END logout -->

add after
<!-- BEGIN welcome -->
                                        <td><img name="spacer" src="images/spacer.gif" width="15" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><span class="navmenu">{WELCOME_MSG}</span></td>
<!-- END welcome -->


find        '{LOGOUT_LNK}' => $lang_main_menu['logout_lnk'] . " [" . USER_NAME . "]",

add after        '{WELCOME_MSG}' => $lang_main_menu['welcome_msg'] . " " . USER_NAME . "!",

edit1: you probably want to play with the font properties that i set span class to, i selected one that works ok with rainy_day...ymmv.
jason