修订版 | 0d130b47556ad54b28d78284f3c7b9f51c7cdc62 (tree) |
---|---|
时间 | 2005-07-07 23:42:46 |
作者 | henoheno <henoheno> |
Commiter | henoheno |
BugTrack2/62: Do remove the whole design, 'Showing TrackBack-ping list by html'.
This part suggets us here must be a wrong way to 'implement/test' 'new' feature for our/your product. You guys must not think copying other's original work even a bit without suitable permisson or license.
(1) Here is the same CSS file of Movable Type related site. That had been copied from TrackBack development site. But the license of the file seems not clear for the use with OpenSource product.
(2) So, here are the same CSS classes within (1), the same artistic design(look), and the same information structure of (1).
(3) And, here are the same and/or translated strings of 'Movable Type'(A product of Six Apart) used many at the Internet. This is the worst one.
Strongly note that 'implementing/testing something new' is not 'copying design and/or copying strings and/or replacing strings with translation'.
@@ -2,7 +2,7 @@ | ||
2 | 2 | ///////////////////////////////////////////////// |
3 | 3 | // PukiWiki - Yet another WikiWikiWeb clone. |
4 | 4 | // |
5 | -// $Id: en.lng.php,v 1.7 2005-02-05 04:38:52 henoheno Exp $ | |
5 | +// $Id: en.lng.php,v 1.7.4.1 2005-07-07 14:42:46 henoheno Exp $ | |
6 | 6 | // |
7 | 7 | // PukiWiki message file (english) |
8 | 8 |
@@ -81,14 +81,7 @@ $rule_page = 'Text Formatting Rules'; | ||
81 | 81 | $help_page = 'Help'; |
82 | 82 | |
83 | 83 | /////////////////////////////////////// |
84 | -// TrackBack | |
85 | -$_tb_title = 'TrackBack: Discussion on TrackBack in %s'; | |
86 | -$_tb_header = 'Continuing the discussion...'; | |
87 | -$_tb_entry = 'TrackBack URL for this entry:'; | |
88 | -$_tb_refer = ' Listed below are links to weblogs that reference %s from %s.'; | |
89 | -$_tb_header_Excerpt = 'Summary:'; | |
90 | -$_tb_header_Weblog = 'Weblog:'; | |
91 | -$_tb_header_Tracked = 'Tracked:'; | |
84 | +// TrackBack (REMOVED) | |
92 | 85 | $_tb_date = 'F j, Y, g:i A'; |
93 | 86 | |
94 | 87 | ///////////////////////////////////////////////// |
@@ -2,7 +2,7 @@ | ||
2 | 2 | ///////////////////////////////////////////////// |
3 | 3 | // PukiWiki - Yet another WikiWikiWeb clone. |
4 | 4 | // |
5 | -// $Id: ja.lng.php,v 1.6 2005-01-15 02:51:44 henoheno Exp $ | |
5 | +// $Id: ja.lng.php,v 1.6.4.1 2005-07-07 14:42:46 henoheno Exp $ | |
6 | 6 | // |
7 | 7 | // PukiWiki message file (japanese) |
8 | 8 |
@@ -83,14 +83,7 @@ $rule_page = ' | ||
83 | 83 | $help_page = 'ヘルプ'; |
84 | 84 | |
85 | 85 | /////////////////////////////////////// |
86 | -// TrackBack | |
87 | -$_tb_title = 'TrackBack: %s への議論は継続される...'; | |
88 | -$_tb_header = 'ディスカッションの継続...'; | |
89 | -$_tb_entry = 'このエントリの TrackBack URL:'; | |
90 | -$_tb_refer = ' この一覧は、次のエントリを参照しています: %s, %s.'; | |
91 | -$_tb_header_Excerpt = '要約:'; | |
92 | -$_tb_header_Weblog = 'Weblog:'; | |
93 | -$_tb_header_Tracked = '日時:'; | |
86 | +// TrackBack (REMOVED) | |
94 | 87 | $_tb_date = 'Y年n月j日 H:i:s'; |
95 | 88 | |
96 | 89 | ///////////////////////////////////////////////// |
@@ -1,5 +1,5 @@ | ||
1 | 1 | <?php |
2 | -// $Id: tb.inc.php,v 1.17 2005-01-23 03:15:40 henoheno Exp $ | |
2 | +// $Id: tb.inc.php,v 1.17.4.1 2005-07-07 14:42:46 henoheno Exp $ | |
3 | 3 | /* |
4 | 4 | * PukiWiki/TrackBack: TrackBack Ping receiver and viewer |
5 | 5 | * (C) 2003-2004 PukiWiki Developer Team |
@@ -166,73 +166,9 @@ EOD; | ||
166 | 166 | // ?__mode=view |
167 | 167 | function plugin_tb_mode_view($tb_id) |
168 | 168 | { |
169 | - global $script, $page_title; | |
170 | - global $_tb_title, $_tb_header, $_tb_entry, $_tb_refer, $_tb_date; | |
171 | - global $_tb_header_Excerpt, $_tb_header_Weblog, $_tb_header_Tracked; | |
172 | - | |
173 | - $page = tb_id2page($tb_id); | |
174 | - if ($page === FALSE) return FALSE; | |
175 | - | |
176 | - $r_page = rawurlencode($page); | |
177 | - | |
178 | - $tb_title = sprintf($_tb_title, $page); | |
179 | - $tb_refer = sprintf($_tb_refer, '<a href="' . $script . '?' . $r_page . | |
180 | - '">\'' . $page . '\'</a>', '<a href="' . $script . '">' . $page_title . '</a>'); | |
181 | - | |
182 | - $data = tb_get(tb_get_filename($page)); | |
183 | - | |
184 | - // Sort: The first is the latest | |
185 | - usort($data, create_function('$a,$b', 'return $b[0] - $a[0];')); | |
186 | - | |
187 | - $tb_body = ''; | |
188 | - foreach ($data as $x) { | |
189 | - if (count($x) != 5) continue; // Ignore incorrect record | |
190 | - | |
191 | - list ($time, $url, $title, $excerpt, $blog_name) = $x; | |
192 | - if ($title == '') $title = 'no title'; | |
193 | - | |
194 | - $time = date($_tb_date, $time + LOCALZONE); // May 2, 2003 11:25 AM | |
195 | - $tb_body .= <<<EOD | |
196 | -<div class="trackback-body"> | |
197 | - <span class="trackback-post"><a href="$url" target="new" rel="nofollow">$title</a><br /> | |
198 | - <strong>$_tb_header_Excerpt</strong> $excerpt<br /> | |
199 | - <strong>$_tb_header_Weblog</strong> $blog_name<br /> | |
200 | - <strong>$_tb_header_Tracked</strong> $time | |
201 | - </span> | |
202 | -</div> | |
203 | -EOD; | |
204 | - } | |
205 | - $msg = <<<EOD | |
206 | -<?xml version="1.0" encoding="UTF-8"?> | |
207 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
208 | -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> | |
209 | -<head> | |
210 | - <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" /> | |
211 | - <title>$tb_title</title> | |
212 | - <link rel="stylesheet" href="skin/trackback.css" type="text/css" /> | |
213 | -</head> | |
214 | -<body> | |
215 | - <div id="banner-commentspop">$_tb_header</div> | |
216 | - <div class="blog"> | |
217 | - <div class="trackback-url"> | |
218 | - $_tb_entry<br /> | |
219 | - $script?tb_id=$tb_id<br /><br /> | |
220 | - $tb_refer | |
221 | - </div> | |
222 | - $tb_body | |
223 | - </div> | |
224 | -</body> | |
225 | -</html> | |
226 | -EOD; | |
227 | - | |
228 | 169 | pkwk_common_headers(); |
229 | - | |
230 | - // BugTrack/466 Care for MSIE trouble | |
231 | - // Logically correct, but MSIE will treat the data like 'file downloading' | |
232 | - //header('Content-type: application/xhtml+xml; charset=UTF-8'); | |
233 | - header('Content-type: text/html; charset=UTF-8'); // Works well | |
234 | - | |
235 | - echo mb_convert_encoding($msg, 'UTF-8', SOURCE_ENCODING); | |
170 | + echo 'This function had been removed now. It will be created soon.<br />' . "\n"; | |
171 | + echo 'Sorry for your inconvenience.'; | |
236 | 172 | exit; |
237 | 173 | } |
238 | 174 | ?> |
@@ -1,68 +0,0 @@ | ||
1 | -/* | |
2 | -///////////////////////////////////////////////// | |
3 | -// PukiWiki - Yet another WikiWikiWeb clone. | |
4 | -// | |
5 | -// $Id: trackback.css,v 1.2 2004-04-03 15:56:08 arino Exp $ | |
6 | -// | |
7 | -*/ | |
8 | -/* http://www.movabletype.org/trackback//styles-site.css */ | |
9 | - body { | |
10 | - margin:20px 20px 20px 20px; | |
11 | - background:#EEE; | |
12 | - } | |
13 | - A { color: #003366; font-family: verdana, arial, sans-serif; font-size:10px; text-decoration: none; font-weight:bold; } | |
14 | - A:link { color: #003366; text-decoration: none; } | |
15 | - A:visited { color: #003366; text-decoration: none; } | |
16 | - A:active { color: #FFCC66; } | |
17 | - A:hover { color: #FFCC66; } | |
18 | - | |
19 | - .blog { | |
20 | - padding:15px; | |
21 | - background:#FFF; | |
22 | - } | |
23 | - | |
24 | - .trackback-url { | |
25 | - font-family:georgia, verdana, arial, sans-serif; | |
26 | - color:#666; | |
27 | - font-size:11px; | |
28 | - font-weight:normal; | |
29 | - background:#FFF; | |
30 | - line-height:14px; | |
31 | - padding:5px; | |
32 | - border:1px dotted #999; | |
33 | - } | |
34 | - | |
35 | - .trackback-body { | |
36 | - font-family:georgia, verdana, arial, sans-serif; | |
37 | - color:#666; | |
38 | - font-size:11px; | |
39 | - font-weight:normal; | |
40 | - background:#FFF; | |
41 | - line-height:14px; | |
42 | - padding-bottom:10px; | |
43 | - padding-top:10px; | |
44 | - border-bottom:1px dotted #999; | |
45 | - } | |
46 | - | |
47 | - .trackback-post { | |
48 | - font-family:verdana, arial, sans-serif; | |
49 | - color:#666; | |
50 | - font-size:9px; | |
51 | - font-weight:normal; | |
52 | - background:#FFF; | |
53 | - } | |
54 | - | |
55 | - #banner-commentspop { | |
56 | - font-family:georgia, verdana, arial, sans-serif; | |
57 | - color:#FFF; | |
58 | - font-size:18px; | |
59 | - font-weight:bold; | |
60 | - border-left:1px solid #FFF; | |
61 | - border-right:1px solid #FFF; | |
62 | - border-top:1px solid #FFF; | |
63 | - background:#003366; | |
64 | - padding-left:15px; | |
65 | - padding-right:15px; | |
66 | - padding-top:5px; | |
67 | - padding-bottom:5px; | |
68 | - } |