mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +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" />
|
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/stylesheet/styles.css" />
|
||||||
{if $isXmas}
|
{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}
|
{/if}
|
||||||
{else}
|
{else}
|
||||||
{css "css/style.css"}
|
{css "css/style.css"}
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Themepacks implements \ArrayAccess
|
||||||
else
|
else
|
||||||
$this->loadedThemepacks[$tid] = $theme;
|
$this->loadedThemepacks[$tid] = $theme;
|
||||||
} catch(\Exception $e) {
|
} 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