1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

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
This commit is contained in:
Paul S. Owen
2001-07-21 00:17:55 +00:00
parent 011d6d99ee
commit 27ee45c8f5
5 changed files with 204 additions and 63 deletions

View File

@@ -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))
{