- Split of infos.lang.php

git-svn-id: http://piwigo.org/svn/trunk@398 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
gweltas
2004-03-27 13:24:26 +00:00
parent a2fe0444de
commit 6a9c9eb91f
7 changed files with 19 additions and 115 deletions
+3 -8
View File
@@ -30,17 +30,12 @@
//
$template->set_filenames(array('header'=>'header.tpl'));
$charset = empty($lang_info['charset'][$lang_info['current_code']])?
$lang_info['default']['charset']:$lang_info['charset'][$lang_info['current_code']];
$dir = empty($lang_info['direction'][$lang_info['current_code']])?
$lang_info['default']['direction']:$lang_info['direction'][$lang_info['current_code']];
$css = PHPWG_ROOT_PATH.'template/'.$user['template'].'/'.$user['template'].'.css';
$template->assign_vars(array(
'CONTENT_ENCODING' => $charset,
'CONTENT_ENCODING' => $lang_info['charset'],
'PAGE_TITLE' => $title,
'LANG'=>substr($lang_info['current_code'],0,2),
'DIR'=>$dir,
'LANG'=>$lang_info['code'],
'DIR'=>$lang_info['direction'],
'T_STYLE' => $css
));