- some code refactoring before upgrade to utf (only cosmetic at this point...)

git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2007-10-08 23:46:09 +00:00
parent 5132cc1f87
commit 98b07a4a7f
15 changed files with 291 additions and 263 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ $template->assign_vars(
isset($page['body_id']) ?
$page['body_id'] : '',
'CONTENT_ENCODING' => $lang_info['charset'],
'CONTENT_ENCODING' => get_pwg_charset(),
'PAGE_TITLE' => strip_tags($title),
'LANG'=>$lang_info['code'],
'DIR'=>$lang_info['direction'],
@@ -99,7 +99,7 @@ if ( isset( $refresh ) and intval($refresh) >= 0
trigger_action('loc_end_page_header');
header('Content-Type: text/html; charset='.$lang_info['charset']);
header('Content-Type: text/html; charset='.get_pwg_charset());
$template->parse('header');
trigger_action('loc_after_page_header');