update title bar update title bar
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

update title bar

Started by niks_007, February 23, 2006, 02:19:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

niks_007

Hi

I want to edit what contents are shown in title bar
please help me

When i click on album name it shows title like this
Priyanka Chopra Wallpapers @ 1024x768 resolution on Lakesparadise.com

but when we click on a thoumb image to view it larger the title bar shwos it this
Priyanka Chopra/Priyanka Chopra Wallpapers @ 1024x768 resolution on Lakesparadise.com

i wnat to remove this "/" or if we cant do that i would like to replace it with a "," comma

Please let me know how could i do this

one more thing when we click on any category name it shows title like this
Home > Bollywood Unlimited > Bollywood Actress... Wallpapers @ 1024x768 resolution on Lakesparadise.com

but i want to show like this
Bollywood Actress... Wallpapers @ 1024x768 resolution on Lakesparadise.com

i dont want the Home > Bollywood Unlimited here how to remove that also

I hope you will help me
Thanks

niks_007

i have used following code in theme.php file

function pageheader($section, $meta = '')
{
    global $CONFIG, $THEME_DIR;
    global $template_header, $lang_charset, $lang_text_dir;

    $custom_header = cpg_get_custom_include($CONFIG['custom_header_path']);

    header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
    user_save_profile();

    $template_vars = array('{LANG_DIR}' => $lang_text_dir,
        '{TITLE}' => strip_tags(bb_decode($section)) . ' Wallpapers @ 1024x768 resolution on Lakesparadise.com',
        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
        '{META}' => $meta,
        '{GAL_NAME}' => $CONFIG['gallery_name'],
        '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
        '{SYS_MENU}' => theme_main_menu('sys_menu'),
        '{SUB_MENU}' => theme_main_menu('sub_menu'),
        '{ADMIN_MENU}' => theme_admin_mode_menu(),
        '{CUSTOM_HEADER}' => $custom_header,
        );

    echo template_eval($template_header, $template_vars);
}

Please help me any one

Niks