• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão93b032680a8038aee65aa9c814566af17cee4bd2 (tree)
Hora2014-11-26 01:32:17
Autorhenoheno <henoheno>
Commiterumorigu

Mensagem de Log

BugTrack2/62: Removed trackback.js and related setting $trackback_javascript.
This JavaScript function OpenTrackback() MUST BE A COPY of MovableType's function OpenTrackback().
There must be a wrong precedure of creating, So 'written by upk' must not be true, so this code seems not GPL-licensed.
You can check this by searching 'OpenTrackback' at http://www.google.com/codesearch .

Mudança Sumário

Diff

--- a/lib/html.php
+++ b/lib/html.php
@@ -14,8 +14,7 @@ function catbody($title, $page, $body)
1414 global $script, $vars, $arg, $defaultpage, $whatsnew, $help_page, $hr;
1515 global $attach_link, $related_link, $cantedit, $function_freeze;
1616 global $search_word_color, $_msg_word, $foot_explain, $note_hr, $head_tags;
17- global $trackback, $trackback_javascript, $referer, $javascript;
18- global $nofollow;
17+ global $trackback, $referer, $javascript, $nofollow;
1918 global $_LANG, $_LINK, $_IMAGE;
2019
2120 global $pkwk_dtd; // XHTML 1.1, XHTML1.0, HTML 4.01 Transitional...
@@ -30,7 +29,6 @@ function catbody($title, $page, $body)
3029 $_LINK = $_IMAGE = array();
3130
3231 // Add JavaScript header when ...
33- if ($trackback && $trackback_javascript) $javascript = 1; // Set something If you want
3432 if (! PKWK_ALLOW_JAVASCRIPT) unset($javascript);
3533
3634 $_page = isset($vars['page']) ? $vars['page'] : '';
--- a/pukiwiki.ini.php
+++ b/pukiwiki.ini.php
@@ -1,6 +1,6 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone
3-// $Id: pukiwiki.ini.php,v 1.140 2006/06/11 14:35:39 henoheno Exp $
3+// $Id: pukiwiki.ini.php,v 1.143 2006/10/08 11:27:06 henoheno Exp $
44 // Copyright (C)
55 // 2002-2006 PukiWiki Developers Team
66 // 2001-2002 Originally written by yu-ji
@@ -160,9 +160,6 @@ define('PKWK_ALLOW_JAVASCRIPT', 0);
160160 // Enable Trackback
161161 $trackback = 0;
162162
163-// Show trackbacks with an another window (using JavaScript)
164-$trackback_javascript = 0;
165-
166163 /////////////////////////////////////////////////
167164 // Referer list feature
168165 $referer = 0;
--- a/skin/tdiary.skin.php
+++ b/skin/tdiary.skin.php
@@ -651,8 +651,7 @@ function _navigator($key, $value = '', $javascript = ''){
651651 <?php _navigator('help') ?>
652652
653653 <?php if ($trackback) { ?> &nbsp;
654- <?php _navigator('trackback', $lang['trackback'] . '(' . tb_count($_page) . ')',
655- ($trackback_javascript == 1) ? 'onclick="OpenTrackback(this.href); return false"' : '') ?>
654+ <?php _navigator('trackback', $lang['trackback'] . '(' . tb_count($_page) . ')') ?>
656655 <?php } ?>
657656 <?php if ($referer) { ?> &nbsp;
658657 <?php _navigator('refer') ?>
--- a/skin/trackback.js
+++ /dev/null
@@ -1,10 +0,0 @@
1-// PukiWiki - Yet another WikiWikiWeb clone.
2-// $Id: trackback.js,v 1.5 2006/10/08 10:55:00 henoheno Exp $
3-// Copyright (C) 2003 Originally written by upk
4-// License: GPL v2 or (at your option) any later version
5-//
6-// JavaScript for TrackBack feature
7-
8-function OpenTrackback (c) {
9- window.open(c,'trackback','width=480,height=480,scrollbars=yes,status=yes');
10-}