mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Release preparation. New language activation and global UTF-8 charset.
This commit is contained in:
parent
a2b533bb3e
commit
5942e57b53
5 changed files with 187 additions and 15 deletions
|
@ -125,8 +125,7 @@ $template->assign_vars(array(
|
|||
// The following assigns all _common_ variables that may be used at any point in a template
|
||||
$template->assign_vars(array(
|
||||
'SIMPLE_HEADER' => !empty($gen_simple_header),
|
||||
'CONTENT_ENCODING' => isset($bb_cfg['lang'][$userdata['user_lang']]['encoding']) ?
|
||||
$bb_cfg['lang'][$userdata['user_lang']]['encoding'] : 'utf-8',
|
||||
'CONTENT_ENCODING' => $bb_cfg['charset'],
|
||||
|
||||
'IN_ADMIN' => defined('IN_ADMIN'),
|
||||
'USER_HIDE_CAT' => (BB_SCRIPT == 'index'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue