aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-21 00:17:55 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-21 00:17:55 +0000
commit27ee45c8f574aaafb54b04b9e41e4c86c5a0bf32 (patch)
treee64344bd6a0a2f7d7252269601fcbd2c698df0ba /phpBB/profile.php
parent011d6d99eee18d6fc32d986dff4b93505c483c43 (diff)
downloadforums-27ee45c8f574aaafb54b04b9e41e4c86c5a0bf32.tar
forums-27ee45c8f574aaafb54b04b9e41e4c86c5a0bf32.tar.gz
forums-27ee45c8f574aaafb54b04b9e41e4c86c5a0bf32.tar.bz2
forums-27ee45c8f574aaafb54b04b9e41e4c86c5a0bf32.tar.xz
forums-27ee45c8f574aaafb54b04b9e41e4c86c5a0bf32.zip
Some more work on group CP, modified profile to match themes with templates
git-svn-id: file:///svn/phpbb/trunk@716 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index 2d4c4908b8..13d50421f3 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -91,10 +91,11 @@ function template_select($default)
}
function theme_select($default)
{
- global $db, $lang;
+ global $db, $board_config, $lang;
$sql = "SELECT themes_id, themes_name
FROM " . THEMES_TABLE . "
+ WHERE themes_name LIKE '" . $board_config['default_template'] . "-%'
ORDER BY themes_name";
if($result = $db->sql_query($sql))
{