Revision 1704,
786 bytes
checked in by kozlika, 13 years ago
(diff) |
Spéciale cassededi pour Philippe le Rebelle histoire que je puisse corriger ses plougs.
|
Line | |
---|
1 | <?php |
---|
2 | # -- BEGIN LICENSE BLOCK ---------------------------------- |
---|
3 | # |
---|
4 | # This file is part of myPrettyAdminByDA, a plugin for Dotclear 2. |
---|
5 | # |
---|
6 | # Copyright (c) 2009 Philippe Amalgame and DotAddict contributors |
---|
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 | |
---|
13 | $core->addBehavior('adminPageHTMLHead',array('customAdmin','adminCssLink')); |
---|
14 | $core->tpl->use_cache = false; |
---|
15 | |
---|
16 | class customAdmin |
---|
17 | { |
---|
18 | public static function adminCssLink() |
---|
19 | { |
---|
20 | global $core; |
---|
21 | $url = $core->blog->getQmarkURL().'pf='.basename(dirname(__FILE__)); |
---|
22 | echo |
---|
23 | '<style type="text/css">'."\n". |
---|
24 | '@import url('.$url.'/css/admin.css);'."\n". |
---|
25 | "</style>\n"; |
---|
26 | } |
---|
27 | } |
---|
28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.