1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

ahhh, there are you. I can see a new haircut... looks good.

git-svn-id: file:///svn/phpbb/trunk@7263 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-04-01 22:46:14 +00:00
parent dff3e0f330
commit 4ed8b3a62c
198 changed files with 8994 additions and 11 deletions

View File

@@ -1176,7 +1176,7 @@ class install_update extends module
/* Get custom installed styles...
$sql = 'SELECT template_name, template_path
FROM ' . STYLES_TEMPLATE_TABLE . "
WHERE LOWER(template_name) NOT IN ('subsilver', 'prosilver')";
WHERE LOWER(template_name) NOT IN ('subsilver2', 'prosilver')";
$result = $db->sql_query($sql);
$templates = array();
@@ -1191,11 +1191,11 @@ class install_update extends module
foreach ($info['files'] as $filename)
{
// Template update?
if (strpos(strtolower($filename), 'styles/subsilver/template/') === 0)
if (strpos(strtolower($filename), 'styles/subsilver2/template/') === 0)
{
foreach ($templates as $row)
{
$info['custom'][$filename][] = str_replace('/subSilver/', '/' . $row['template_path'] . '/', $filename);
$info['custom'][$filename][] = str_replace('/subsilver2/', '/' . $row['template_path'] . '/', $filename);
}
}
}