Support for composer-created themes dir structure

Due to git limitations, we can't check out the blackcandy
"parent" theme into themes/blackcandy/ directly, since that
would require sharing paths with git repositories of other themes.
This commit is contained in:
Ingo Schommer 2012-12-04 17:21:29 +01:00
parent c80265981e
commit 2ea9f262e8

View File

@ -913,9 +913,17 @@ class Installer extends InstallRequirements {
<html>
<head>
<title>Installing SilverStripe...</title>
<!-- Support for theme directory structure created through composer -->
<link rel="stylesheet" type="text/css" href="themes/blackcandy/blackcandy/css/layout.css" />
<link rel="stylesheet" type="text/css" href="themes/blackcandy/blackcandy/css/typography.css" />
<link rel="stylesheet" type="text/css" href="themes/blackcandy/blackcandy/css/form.css" />
<!-- Support for legacy theme directory structure -->
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/layout.css" />
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/typography.css" />
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/form.css" />
<link rel="stylesheet" type="text/css" href="sapphire/dev/install/install.css" />
<script src="sapphire/thirdparty/jquery/jquery.js"></script>
</head>