OSDN Git Service

BugTrack2/62: Do remove the whole design, 'Showing TrackBack-ping list by html'. branch_r1_4_5 r1_4_5_1_notb
authorhenoheno <henoheno>
Thu, 7 Jul 2005 14:42:46 +0000 (23:42 +0900)
committerhenoheno <henoheno>
Thu, 7 Jul 2005 14:42:46 +0000 (23:42 +0900)
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'.

en.lng.php
ja.lng.php
plugin/tb.inc.php
skin/trackback.css [deleted file]

index 89902a0..7e5a58d 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: en.lng.php,v 1.7 2005/02/05 04:38:52 henoheno Exp $
+// $Id: en.lng.php,v 1.7.4.1 2005/07/07 14:42:46 henoheno Exp $
 //
 // PukiWiki message file (english)
 
@@ -81,14 +81,7 @@ $rule_page = 'Text Formatting Rules';
 $help_page = 'Help';
 
 ///////////////////////////////////////
-// TrackBack
-$_tb_title  = 'TrackBack: Discussion on TrackBack in %s';
-$_tb_header = 'Continuing the discussion...';
-$_tb_entry  = 'TrackBack URL for this entry:';
-$_tb_refer  = ' Listed below are links to weblogs that reference %s from %s.';
-$_tb_header_Excerpt = 'Summary:';
-$_tb_header_Weblog  = 'Weblog:';
-$_tb_header_Tracked = 'Tracked:';
+// TrackBack (REMOVED)
 $_tb_date   = 'F j, Y, g:i A';
 
 /////////////////////////////////////////////////
index bfcd406..3eb9371 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: ja.lng.php,v 1.6 2005/01/15 02:51:44 henoheno Exp $
+// $Id: ja.lng.php,v 1.6.4.1 2005/07/07 14:42:46 henoheno Exp $
 //
 // PukiWiki message file (japanese)
 
@@ -83,14 +83,7 @@ $rule_page = '
 $help_page = '¥Ø¥ë¥×';
 
 ///////////////////////////////////////
-// TrackBack
-$_tb_title  = 'TrackBack: %s ¤Ø¤ÎµÄÏÀ¤Ï·Ñ³¤µ¤ì¤ë...';
-$_tb_header = '¥Ç¥£¥¹¥«¥Ã¥·¥ç¥ó¤Î·Ñ³...';
-$_tb_entry  = '¤³¤Î¥¨¥ó¥È¥ê¤Î TrackBack URL:';
-$_tb_refer  = ' ¤³¤Î°ìÍ÷¤Ï¡¢¼¡¤Î¥¨¥ó¥È¥ê¤ò»²¾È¤·¤Æ¤¤¤Þ¤¹: %s, %s.';
-$_tb_header_Excerpt = 'Í×Ìó:';
-$_tb_header_Weblog  = 'Weblog:';
-$_tb_header_Tracked = 'Æü»þ:';
+// TrackBack (REMOVED)
 $_tb_date  = 'Yǯn·îjÆü H:i:s';
 
 /////////////////////////////////////////////////
index 023bbd9..67d632f 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: tb.inc.php,v 1.17 2005/01/23 03:15:40 henoheno Exp $
+// $Id: tb.inc.php,v 1.17.4.1 2005/07/07 14:42:46 henoheno Exp $
 /*
  * PukiWiki/TrackBack: TrackBack Ping receiver and viewer
  * (C) 2003-2004 PukiWiki Developer Team
@@ -166,73 +166,9 @@ EOD;
 // ?__mode=view
 function plugin_tb_mode_view($tb_id)
 {
-       global $script, $page_title;
-       global $_tb_title, $_tb_header, $_tb_entry, $_tb_refer, $_tb_date;
-       global $_tb_header_Excerpt, $_tb_header_Weblog, $_tb_header_Tracked;
-
-       $page = tb_id2page($tb_id);
-       if ($page === FALSE) return FALSE;
-
-       $r_page = rawurlencode($page);
-
-       $tb_title = sprintf($_tb_title, $page);
-       $tb_refer = sprintf($_tb_refer, '<a href="' . $script . '?' . $r_page .
-               '">\'' . $page . '\'</a>', '<a href="' . $script . '">' . $page_title . '</a>');
-
-       $data = tb_get(tb_get_filename($page));
-
-       // Sort: The first is the latest
-       usort($data, create_function('$a,$b', 'return $b[0] - $a[0];'));
-
-       $tb_body = '';
-       foreach ($data as $x) {
-               if (count($x) != 5) continue; // Ignore incorrect record
-
-               list ($time, $url, $title, $excerpt, $blog_name) = $x;
-               if ($title == '') $title = 'no title';
-
-               $time = date($_tb_date, $time + LOCALZONE); // May 2, 2003 11:25 AM
-               $tb_body .= <<<EOD
-<div class="trackback-body">
- <span class="trackback-post"><a href="$url" target="new" rel="nofollow">$title</a><br />
-  <strong>$_tb_header_Excerpt</strong> $excerpt<br />
-  <strong>$_tb_header_Weblog</strong> $blog_name<br />
-  <strong>$_tb_header_Tracked</strong> $time
- </span>
-</div>
-EOD;
-       }
-       $msg = <<<EOD
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
-<head>
- <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
- <title>$tb_title</title>
- <link rel="stylesheet" href="skin/trackback.css" type="text/css" />
-</head>
-<body>
- <div id="banner-commentspop">$_tb_header</div>
- <div class="blog">
-  <div class="trackback-url">
-   $_tb_entry<br />
-   $script?tb_id=$tb_id<br /><br />
-   $tb_refer
-  </div>
-  $tb_body
- </div>
-</body>
-</html>
-EOD;
-
        pkwk_common_headers();
-
-       // BugTrack/466 Care for MSIE trouble
-       // Logically correct, but MSIE will treat the data like 'file downloading'
-       //header('Content-type: application/xhtml+xml; charset=UTF-8');
-       header('Content-type: text/html; charset=UTF-8'); // Works well
-
-       echo mb_convert_encoding($msg, 'UTF-8', SOURCE_ENCODING);
+       echo 'This function had been removed now. It will be created soon.<br />' . "\n";
+       echo 'Sorry for your inconvenience.';
        exit;
 }
 ?>
diff --git a/skin/trackback.css b/skin/trackback.css
deleted file mode 100644 (file)
index 4d3ec03..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
-/////////////////////////////////////////////////
-// PukiWiki - Yet another WikiWikiWeb clone.
-//
-// $Id: trackback.css,v 1.2 2004/04/03 15:56:08 arino Exp $
-//
-*/
-/* http://www.movabletype.org/trackback//styles-site.css */
-       body {
-               margin:20px 20px 20px 20px;
-               background:#EEE;
-               }
-       A               { color: #003366; font-family: verdana, arial, sans-serif; font-size:10px; text-decoration: none; font-weight:bold; }
-       A:link          { color: #003366; text-decoration: none; }
-       A:visited       { color: #003366; text-decoration: none; }
-       A:active        { color: #FFCC66;  }
-       A:hover         { color: #FFCC66;  }
-
-       .blog {
-               padding:15px;
-               background:#FFF;
-               }
-
-       .trackback-url {
-               font-family:georgia, verdana, arial, sans-serif;
-               color:#666;
-               font-size:11px;
-               font-weight:normal;
-               background:#FFF;
-               line-height:14px;
-               padding:5px;
-               border:1px dotted #999;
-               }
-
-       .trackback-body {
-               font-family:georgia, verdana, arial, sans-serif;
-               color:#666;
-               font-size:11px;
-               font-weight:normal;
-               background:#FFF;
-               line-height:14px;
-               padding-bottom:10px;
-               padding-top:10px;
-               border-bottom:1px dotted #999;
-               }
-
-       .trackback-post {
-               font-family:verdana, arial, sans-serif;
-               color:#666;
-               font-size:9px;
-               font-weight:normal;
-               background:#FFF;
-               }
-
-       #banner-commentspop {
-               font-family:georgia, verdana, arial, sans-serif;
-               color:#FFF;
-               font-size:18px;
-               font-weight:bold;
-               border-left:1px solid #FFF;
-               border-right:1px solid #FFF;
-               border-top:1px solid #FFF;
-               background:#003366;
-               padding-left:15px;
-               padding-right:15px;
-               padding-top:5px;
-               padding-bottom:5px;
-               }