Revision 2566:9bf417837888,
832 bytes
checked in by franck <carnet.franck.paul@…>, 12 years ago
(diff) |
Add some people in CREDITS, remove trailing spaces and tabs.
|
Line | |
---|
1 | <?php |
---|
2 | # -- BEGIN LICENSE BLOCK --------------------------------------- |
---|
3 | # |
---|
4 | # This file is part of Dotclear 2. |
---|
5 | # |
---|
6 | # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear |
---|
7 | # Licensed under the GPL version 2.0 license. |
---|
8 | # See LICENSE file or |
---|
9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
10 | # |
---|
11 | # -- END LICENSE BLOCK ----------------------------------------- |
---|
12 | if (!defined('DC_RC_PATH')) { return; } |
---|
13 | |
---|
14 | if ($core->blog->settings->system->theme != 'default') { |
---|
15 | return; |
---|
16 | } |
---|
17 | |
---|
18 | require dirname(__FILE__).'/lib/class.blowup.config.php'; |
---|
19 | $core->addBehavior('publicHeadContent',array('tplBlowupTheme','publicHeadContent')); |
---|
20 | |
---|
21 | class tplBlowUpTheme |
---|
22 | { |
---|
23 | public static function publicHeadContent($core) |
---|
24 | { |
---|
25 | $url = blowupConfig::publicCssUrlHelper(); |
---|
26 | if ($url) { |
---|
27 | echo '<link rel="stylesheet" href="'.$url.'" type="text/css" />'; |
---|
28 | } |
---|
29 | } |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.