リビジョン | 8e318ede281adb0d33435fc00e3aa4c74234ca62 (tree) |
---|---|
日時 | 2016-10-23 21:38:49 |
作者 | Akito Hachiya <s.beec1e@gmai...> |
コミッター | umorigu |
Remove compression feature
@@ -1,25 +1,19 @@ | ||
1 | 1 | <?php |
2 | -// PukiWiki - Yet another WikiWikiWeb clone. | |
3 | -// $Id: pukiwiki.css.php,v 1.12 2005/10/12 13:06:27 henoheno Exp $ | |
4 | -// Copyright (C) | |
5 | -// 2002-2005 PukiWiki Developers Team | |
6 | -// 2001-2002 Originally written by yu-ji | |
7 | -// License: GPL v2 or (at your option) any later version | |
8 | -// | |
9 | -// Default CSS | |
10 | - | |
11 | -// Send header | |
12 | 2 | header('Content-Type: text/css'); |
13 | -$matches = array(); | |
14 | -if(ini_get('zlib.output_compression') && preg_match('/\b(gzip|deflate)\b/i', $_SERVER['HTTP_ACCEPT_ENCODING'], $matches)) { | |
15 | - header('Content-Encoding: ' . $matches[1]); | |
16 | - header('Vary: Accept-Encoding'); | |
17 | -} | |
18 | - | |
19 | -// Output CSS ---- | |
20 | 3 | ?> |
4 | + | |
21 | 5 | @charset "UTF-8"; |
22 | 6 | |
7 | +/*! | |
8 | + * PukiWiki - Yet another WikiWikiWeb clone. | |
9 | + * Copyright (C) | |
10 | + * 2002-2016 PukiWiki Development Team | |
11 | + * 2001-2002 Originally written by yu-ji | |
12 | + * License: GPL v2 or (at your option) any later version | |
13 | + * | |
14 | + * Default CSS | |
15 | + */ | |
16 | + | |
23 | 17 | pre, dl, ol, p, blockquote { line-height:130%; } |
24 | 18 | |
25 | 19 | blockquote { margin-left:32px; } |
@@ -1,20 +1,13 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | -// $Id: tdiary.css.php,v 1.6 2005/05/01 02:43:27 henoheno Exp $ | |
4 | 3 | // Copyright (C) |
5 | -// 2002-2005 PukiWiki Developers Team | |
4 | +// 2002-2016 PukiWiki Development Team | |
6 | 5 | // 2001-2002 Originally written by yu-ji |
7 | 6 | // License: GPL v2 or (at your option) any later version |
8 | 7 | // |
9 | 8 | // tDiary-css-wrapper |
10 | 9 | |
11 | -// Send header | |
12 | 10 | header('Content-Type: text/css'); |
13 | -$matches = array(); | |
14 | -if(ini_get('zlib.output_compression') && preg_match('/\b(gzip|deflate)\b/i', $_SERVER['HTTP_ACCEPT_ENCODING'], $matches)) { | |
15 | - header('Content-Encoding: ' . $matches[1]); | |
16 | - header('Vary: Accept-Encoding'); | |
17 | -} | |
18 | 11 | |
19 | 12 | // Color theme |
20 | 13 | $color_theme = isset($_GET['color']) ? $_GET['color'] : ''; |
@@ -86,6 +79,16 @@ default: | ||
86 | 79 | ?> |
87 | 80 | @charset "UTF-8"; |
88 | 81 | |
82 | +/*! | |
83 | + * PukiWiki - Yet another WikiWikiWeb clone. | |
84 | + * Copyright (C) | |
85 | + * 2002-2016 PukiWiki Development Team | |
86 | + * 2001-2002 Originally written by yu-ji | |
87 | + * License: GPL v2 or (at your option) any later version | |
88 | + * | |
89 | + * tDiary-css-wrapper | |
90 | + */ | |
91 | + | |
89 | 92 | /* ------------------------------------------ */ |
90 | 93 | /* PukiWiki abstruction CSS for tDiary themes */ |
91 | 94 |