in cpg132\themes\hardwired\theme.php
function pageheader($section, $meta = '')
{
global $CONFIG, $THEME_DIR;
global $template_header, $lang_charset, $lang_text_dir;
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}' => $CONFIG['gallery_name'] . ' - ' . $section,
'{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
'{META}' => $meta,
'{GAL_NAME}' => $CONFIG['gallery_name'],
'{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
'{MAIN_MENU1}' => theme_main_menu1(),
'{MAIN_MENU2}' => theme_main_menu2(),
'{ADMIN_MENU}' => theme_admin_mode_menu()
);
echo template_eval($template_header, $template_vars);
}
'{GAL_NAME}' => $CONFIG['gallery_name'], work but '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'], isn't!!!
why and how to change it to show gallery_description too
The token {GAL_DESCRIPTION}
needs to appear somewhere in the template.html between <body> and </body>.
To date, this token hasn't been added to the theme. It's a matter of choice by the theme's author.
You can add it yourself by placing the token as suggested above, where you would like the gallery description to be rendered.
thanks, it works!!! ;D