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:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user