aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-12-22 16:28:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-12-22 16:28:27 +0000
commit60d218245c0986cd35d9fc8ea2fab7f5f32a9e38 (patch)
treeb3e801e8a08805aef6eca2f8b2d08e147858c653 /phpBB/style.php
parent088ed2c414bc0ebca59b486c1d44614fa6ff6456 (diff)
downloadforums-60d218245c0986cd35d9fc8ea2fab7f5f32a9e38.tar
forums-60d218245c0986cd35d9fc8ea2fab7f5f32a9e38.tar.gz
forums-60d218245c0986cd35d9fc8ea2fab7f5f32a9e38.tar.bz2
forums-60d218245c0986cd35d9fc8ea2fab7f5f32a9e38.tar.xz
forums-60d218245c0986cd35d9fc8ea2fab7f5f32a9e38.zip
- ok, get away with the secondary style approach (styles can be mixed together easily with the acp)
- introduce a more generic approach of defining some additional variables through cfg files as well as the name, copyright and version fields - please note that at the moment this is in flux. I added it now for Tom because he needs the theme parameters. git-svn-id: file:///svn/phpbb/trunk@5372 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index 3330044197..d6de27a453 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -102,11 +102,11 @@ if (!empty($_GET['id']) && !empty($_GET['sid']))
// Parse Theme Data
$replace = array(
'{T_THEME_PATH}' => "{$phpbb_root_path}styles/" . $theme['theme_path'] . '/theme',
- '{T_TEMPLATE_PATH}' => "{$phpbb_root_path}styles/" . $theme['template_path'] . '/template',
- '{T_IMAGESET_PATH}' => "{$phpbb_root_path}styles/" . $theme['imageset_path'] . '/imageset',
+ '{T_TEMPLATE_PATH}' => "{$phpbb_root_path}styles/" . $theme['template_path'] . '/template',
+ '{T_IMAGESET_PATH}' => "{$phpbb_root_path}styles/" . $theme['imageset_path'] . '/imageset',
'{T_IMAGESET_LANG_PATH}' => "{$phpbb_root_path}styles/" . $theme['imageset_path'] . '/imageset/' . $user['user_lang'],
'{T_STYLESHEET_NAME}' => $theme['theme_name'],
- '{S_USER_LANG}' => $user['user_lang']
+ '{S_USER_LANG}' => $user['user_lang']
);
$theme['theme_data'] = str_replace(array_keys($replace), array_values($replace), $theme['theme_data']);