mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Themepacks: Adapt the layout to support xmas.css stylesheet
and added some info about why the theme was been skipped
This commit is contained in:
parent
1735d1401f
commit
5f9b36de5f
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/stylesheet/styles.css" />
|
||||
{if $isXmas}
|
||||
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/stylesheet/xmas.css" />
|
||||
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/resource/xmas.css" />
|
||||
{/if}
|
||||
{else}
|
||||
{css "css/style.css"}
|
||||
|
|
|
@ -22,7 +22,7 @@ class Themepacks implements \ArrayAccess
|
|||
else
|
||||
$this->loadedThemepacks[$tid] = $theme;
|
||||
} catch(\Exception $e) {
|
||||
trigger_error("Could not load theme at $themeDir, skipping...", E_USER_WARNING);
|
||||
trigger_error("Could not load theme at $themeDir. Exception: $e", E_USER_WARNING);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue