mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Send DB stored css data to template if necessary ... yes, I realise this won't be cached like a normal stylesheet but there are potential ways around that
git-svn-id: file:///svn/phpbb/trunk@4303 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2ca95fed52
commit
b3d94f5c9a
1 changed files with 3 additions and 7 deletions
|
@ -978,11 +978,6 @@ function login_forum_box(&$forum_data)
|
|||
{
|
||||
global $db, $config, $user, $template, $phpEx;
|
||||
|
||||
//TODO
|
||||
if ($forum_data['parent_id'])
|
||||
{
|
||||
}
|
||||
|
||||
$sql = 'SELECT *
|
||||
FROM phpbb_forum_access
|
||||
WHERE forum_id = ' . $forum_data['forum_id'] . '
|
||||
|
@ -1352,8 +1347,9 @@ function page_header($page_title = '')
|
|||
'S_DISPLAY_PM' => (empty($config['privmsg_disable'])) ? 1 : 0,
|
||||
'S_DISPLAY_MEMBERLIST' => (isset($auth)) ? $auth->acl_get('u_viewprofile') : 0,
|
||||
|
||||
'T_THEME_PATH' => 'styles/themes/' . $user->theme['primary']['theme_path'],
|
||||
'T_STYLESHEET_LINK' => 'styles/themes/' . $user->theme['primary']['theme_path'] . '/' . $user->theme['primary']['theme_name'] . '.css')
|
||||
'T_THEME_PATH' => 'styles/themes/' . $user->theme['primary']['theme_path'],
|
||||
'T_STYLESHEET_LINK' => (!$user->theme['primary']['css_storedb']) ? 'styles/themes/' . $user->theme['primary']['theme_path'] . '/' . $user->theme['primary']['theme_name'] . '.css' : '',
|
||||
'T_THEME_DATA' => (!$user->theme['primary']['css_storedb']) ? '' : $user->theme['primary']['css_data'])
|
||||
);
|
||||
|
||||
if (!empty($config['send_encoding']))
|
||||
|
|
Loading…
Add table
Reference in a new issue