PyukiWiki CVS Commit
pyuki****@lists*****
2012年 3月 15日 (木) 11:18:22 JST
Index: PyukiWiki-Devel/lib/.htaccess diff -u PyukiWiki-Devel/lib/.htaccess:1.477 PyukiWiki-Devel/lib/.htaccess:1.478 --- PyukiWiki-Devel/lib/.htaccess:1.477 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/.htaccess Thu Mar 15 11:18:22 2012 @@ -1,7 +1,7 @@ ###################################################################### # Apache lib/.htaccess for PyukiWiki -# $Id: .htaccess,v 1.477 2012/03/14 21:10:28 papu Exp $ -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# $Id: .htaccess,v 1.478 2012/03/15 02:18:22 papu Exp $ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ ###################################################################### Order allow,deny Index: PyukiWiki-Devel/lib/aguse.inc.pl diff -u PyukiWiki-Devel/lib/aguse.inc.pl:1.346 PyukiWiki-Devel/lib/aguse.inc.pl:1.347 --- PyukiWiki-Devel/lib/aguse.inc.pl:1.346 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/aguse.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # aguse.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: aguse.inc.pl,v 1.346 2012/03/14 21:10:28 papu Exp $ +# $Id: aguse.inc.pl,v 1.347 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/antispam.inc.pl diff -u PyukiWiki-Devel/lib/antispam.inc.pl:1.488 PyukiWiki-Devel/lib/antispam.inc.pl:1.489 --- PyukiWiki-Devel/lib/antispam.inc.pl:1.488 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/antispam.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # antispam.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: antispam.inc.pl,v 1.488 2012/03/14 21:10:28 papu Exp $ +# $Id: antispam.inc.pl,v 1.489 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/antispamwiki.inc.pl diff -u PyukiWiki-Devel/lib/antispamwiki.inc.pl:1.441 PyukiWiki-Devel/lib/antispamwiki.inc.pl:1.442 --- PyukiWiki-Devel/lib/antispamwiki.inc.pl:1.441 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/antispamwiki.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # antispamwiki.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: antispamwiki.inc.pl,v 1.441 2012/03/14 21:10:28 papu Exp $ +# $Id: antispamwiki.inc.pl,v 1.442 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/authadmin_cookie.inc.pl diff -u PyukiWiki-Devel/lib/authadmin_cookie.inc.pl:1.485 PyukiWiki-Devel/lib/authadmin_cookie.inc.pl:1.486 --- PyukiWiki-Devel/lib/authadmin_cookie.inc.pl:1.485 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/authadmin_cookie.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # authadmin_cookie.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: authadmin_cookie.inc.pl,v 1.485 2012/03/14 21:10:28 papu Exp $ +# $Id: authadmin_cookie.inc.pl,v 1.486 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/autometarobot.inc.pl diff -u PyukiWiki-Devel/lib/autometarobot.inc.pl:1.479 PyukiWiki-Devel/lib/autometarobot.inc.pl:1.480 --- PyukiWiki-Devel/lib/autometarobot.inc.pl:1.479 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/autometarobot.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # autometarobot.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: autometarobot.inc.pl,v 1.479 2012/03/14 21:10:28 papu Exp $ +# $Id: autometarobot.inc.pl,v 1.480 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/debug.inc.js diff -u PyukiWiki-Devel/lib/debug.inc.js:1.346 PyukiWiki-Devel/lib/debug.inc.js:1.347 --- PyukiWiki-Devel/lib/debug.inc.js:1.346 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/debug.inc.js Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ /*///////////////////////////////////////////////////////////////////// # debug.inc.js - This is PyukiWiki, yet another Wiki clone. -# $Id: debug.inc.js,v 1.346 2012/03/14 21:10:28 papu Exp $ +# $Id: debug.inc.js,v 1.347 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/debug.inc.pl diff -u PyukiWiki-Devel/lib/debug.inc.pl:1.487 PyukiWiki-Devel/lib/debug.inc.pl:1.488 --- PyukiWiki-Devel/lib/debug.inc.pl:1.487 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/debug.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # debug.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: debug.inc.pl,v 1.487 2012/03/14 21:10:28 papu Exp $ +# $Id: debug.inc.pl,v 1.488 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/exdate-qreki.pl diff -u PyukiWiki-Devel/lib/exdate-qreki.pl:1.284 PyukiWiki-Devel/lib/exdate-qreki.pl:1.285 --- PyukiWiki-Devel/lib/exdate-qreki.pl:1.284 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/exdate-qreki.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # exdate-qreki.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: exdate-qreki.pl,v 1.284 2012/03/14 21:10:28 papu Exp $ +# $Id: exdate-qreki.pl,v 1.285 2012/03/15 02:18:22 papu Exp $ # -# "exdate" version 1.05 $$ +# "exdate" ver 1.05 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ @@ -84,7 +84,7 @@ #========================================================================= -# 旧暦計算サンプルプログラム $Revision: 1.284 $ +# 旧暦計算サンプルプログラム $Revision: 1.285 $ # Coded by H.Takano 1993,1994 # # Arranged for Perl Script by N.Ueno Index: PyukiWiki-Devel/lib/exdate.inc.pl diff -u PyukiWiki-Devel/lib/exdate.inc.pl:1.296 PyukiWiki-Devel/lib/exdate.inc.pl:1.297 --- PyukiWiki-Devel/lib/exdate.inc.pl:1.296 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/exdate.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # exdate.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: exdate.inc.pl,v 1.296 2012/03/14 21:10:28 papu Exp $ +# $Id: exdate.inc.pl,v 1.297 2012/03/15 02:18:22 papu Exp $ # -# "exdate" version 1.05 $$ +# "exdate" ver 1.05 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/google_analytics.inc.pl diff -u PyukiWiki-Devel/lib/google_analytics.inc.pl:1.332 PyukiWiki-Devel/lib/google_analytics.inc.pl:1.333 --- PyukiWiki-Devel/lib/google_analytics.inc.pl:1.332 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/google_analytics.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # google_analytics.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: google_analytics.inc.pl,v 1.332 2012/03/14 21:10:28 papu Exp $ +# $Id: google_analytics.inc.pl,v 1.333 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/google_translate.inc.pl diff -u PyukiWiki-Devel/lib/google_translate.inc.pl:1.102 PyukiWiki-Devel/lib/google_translate.inc.pl:1.103 --- PyukiWiki-Devel/lib/google_translate.inc.pl:1.102 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/google_translate.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # google_translate.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: google_translate.inc.pl,v 1.102 2012/03/14 21:10:28 papu Exp $ +# $Id: google_translate.inc.pl,v 1.103 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/iecompatiblehack.inc.pl diff -u PyukiWiki-Devel/lib/iecompatiblehack.inc.pl:1.408 PyukiWiki-Devel/lib/iecompatiblehack.inc.pl:1.409 --- PyukiWiki-Devel/lib/iecompatiblehack.inc.pl:1.408 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/iecompatiblehack.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # iecompatiblehack.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: iecompatiblehack.inc.pl,v 1.408 2012/03/14 21:10:28 papu Exp $ +# $Id: iecompatiblehack.inc.pl,v 1.409 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/lang.inc.pl diff -u PyukiWiki-Devel/lib/lang.inc.pl:1.458 PyukiWiki-Devel/lib/lang.inc.pl:1.459 --- PyukiWiki-Devel/lib/lang.inc.pl:1.458 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/lang.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # lang.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: lang.inc.pl,v 1.458 2012/03/14 21:10:28 papu Exp $ +# $Id: lang.inc.pl,v 1.459 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/linktrack.inc.js diff -u PyukiWiki-Devel/lib/linktrack.inc.js:1.348 PyukiWiki-Devel/lib/linktrack.inc.js:1.349 --- PyukiWiki-Devel/lib/linktrack.inc.js:1.348 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/linktrack.inc.js Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ /*///////////////////////////////////////////////////////////////////// # linktrack.inc.js - This is PyukiWiki, yet another Wiki clone. -# $Id: linktrack.inc.js,v 1.348 2012/03/14 21:10:28 papu Exp $ +# $Id: linktrack.inc.js,v 1.349 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ @@ -17,16 +17,41 @@ # Return:LF Code=EUC-JP 1TAB=4Spaces /////////////////////////////////////////////////////////////////////*/ -function Ck(link,tg) { - var amp="&", cmd="?cmd=ck" + amp, lk=cmd + link, ret; +// lk=this.href +// tg=b=_blank, r=right click + +function Ck(lk,tg) { + var m, l + a="&", c="?cmd=ck" + a, + p="p=", k="l="; + + m=hs('\$::form\{mypage\}'); + l=hs(lk); + + c=c + p + m + a + k + l; + if(tg == 'r') { - lk=cmd + "r=y" + amp + link; - d.location=lk; - return true; - } else if(tg != '') { - ou(lk,tg); + c=c+ "r=y" + a + p + m + a + k + l; + d.location=c; + } else if(tg != h) { + ou(c, tg); } else { - d.location=lk; + d.location=c; } return false; } + +function hs(str) { + var ret; + for(var i=0; i < str.length; i++) { + var chr=str.charAt(i); +/* + if(chr < 16) { + ret = ret + "0"; + } +*/ + ret=ret + chr < 16 ? "0" : h + parseInt(chr, 16); + } + ret=ret.toUpperCase(); + return ret; +} Index: PyukiWiki-Devel/lib/linktrack.inc.pl diff -u PyukiWiki-Devel/lib/linktrack.inc.pl:1.360 PyukiWiki-Devel/lib/linktrack.inc.pl:1.361 --- PyukiWiki-Devel/lib/linktrack.inc.pl:1.360 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/linktrack.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # linktrack.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: linktrack.inc.pl,v 1.360 2012/03/14 21:10:28 papu Exp $ +# $Id: linktrack.inc.pl,v 1.361 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ @@ -36,7 +36,7 @@ sub plugin_linktrack_init { my $header=<<EOM; <script type="text/javascript"><!-- -function Ck(c,f){var b="&",e="?cmd=ck"+b,g=e+c,a;if(f=="r"){g=e+"r=y"+b+c;d.location=g;return true}else{if(f!=""){ou(g,f)}else{d.location=g}}return false}; +function Ck(g,f){var b,e;a="&",c="?cmd=ck"+a,p="p=",k="l=";b=hs("$::form{mypage}");e=hs(g);c=c+p+b+a+k+e;if(f=="r"){c=c+"r=y"+a+p+b+a+k+e;d.location=c}else{if(f!=h){ou(c,f)}else{d.location=c}}return false}function hs(g){var b;for(var e=0;e<g.length;e++){var f=g.charAt(e);b=b+f<16?"0":h+parseInt(f,16)}b=b.toUpperCase();return b}; //--></script> EOM return ('init'=>1 , 'header'=>$header @@ -67,23 +67,24 @@ } } my $escapedurl; + $target="b" if($target eq "_blank"; if($mydomain eq 0) { # $escapedurl="?cmd=ck&p=" . &escape($::form{mypage}) . "&lk=" . &dbmname(&unescape($url)); my $mp=&dbmname(&unescape($::form{mypage})); - $escapedurl="p=" . $mp . "&l=" . &dbmname(&unescape($url)); +# $escapedurl="p=" . $mp . "&l=" . &dbmname(&unescape($url)); $::linktrack_link_id++; if($target eq '') { - return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return Ck('$escapedurl','');" oncontextmenu="return Ck('$escapedurl','r');">); + return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return Ck(this.href);" oncontextmenu="return Ck(this.href,'r');">); } elsif($::is_xhtml) { - return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return Ck('$escapedurl','$target');" oncontextmenu="return Ck('$escapedurl','r');">); + return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return Ck(this.href,'@{[$target eq "_blank" ? "b" : $target]}');" oncontextmenu="return Ck(this.href,'r');">); } else { - return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return Ck('$escapedurl','$target');" oncontextmenu="return Ck('$escapedurl','r');">); + return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return Ck(this.href,'@{[$target eq "_blank" ? "b" : $target]}');" oncontextmenu="return Ck('this.href,'r');">); } } else { if($target eq '') { return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk">); } elsif($::is_xhtml) { - return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return ou('$url','$target');">); + return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return ou(this.href,'@{[$target eq "_blank" ? "b" : $target]}');">); } else { return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} target="$target" title="$escapedchunk">); } Index: PyukiWiki-Devel/lib/logs.inc.pl diff -u PyukiWiki-Devel/lib/logs.inc.pl:1.196 PyukiWiki-Devel/lib/logs.inc.pl:1.197 --- PyukiWiki-Devel/lib/logs.inc.pl:1.196 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/logs.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # logs.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: logs.inc.pl,v 1.196 2012/03/14 21:10:28 papu Exp $ +# $Id: logs.inc.pl,v 1.197 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/pathmenu.inc.pl diff -u PyukiWiki-Devel/lib/pathmenu.inc.pl:1.40 PyukiWiki-Devel/lib/pathmenu.inc.pl:1.41 --- PyukiWiki-Devel/lib/pathmenu.inc.pl:1.40 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/pathmenu.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # pathmenu.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: pathmenu.inc.pl,v 1.40 2012/03/14 21:10:28 papu Exp $ +# $Id: pathmenu.inc.pl,v 1.41 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/ping.inc.pl diff -u PyukiWiki-Devel/lib/ping.inc.pl:1.9 PyukiWiki-Devel/lib/ping.inc.pl:1.10 --- PyukiWiki-Devel/lib/ping.inc.pl:1.9 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/ping.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # ping.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: ping.inc.pl,v 1.9 2012/03/14 21:10:28 papu Exp $ +# $Id: ping.inc.pl,v 1.10 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/punyurl.inc.pl diff -u PyukiWiki-Devel/lib/punyurl.inc.pl:1.478 PyukiWiki-Devel/lib/punyurl.inc.pl:1.479 --- PyukiWiki-Devel/lib/punyurl.inc.pl:1.478 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/punyurl.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # punyurl.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: punyurl.inc.pl,v 1.478 2012/03/14 21:10:28 papu Exp $ +# $Id: punyurl.inc.pl,v 1.479 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/setting.inc.pl diff -u PyukiWiki-Devel/lib/setting.inc.pl:1.459 PyukiWiki-Devel/lib/setting.inc.pl:1.460 --- PyukiWiki-Devel/lib/setting.inc.pl:1.459 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/setting.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # setting.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: setting.inc.pl,v 1.459 2012/03/14 21:10:28 papu Exp $ +# $Id: setting.inc.pl,v 1.460 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/slashpage.inc.pl diff -u PyukiWiki-Devel/lib/slashpage.inc.pl:1.483 PyukiWiki-Devel/lib/slashpage.inc.pl:1.484 --- PyukiWiki-Devel/lib/slashpage.inc.pl:1.483 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/slashpage.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # slashpage.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: slashpage.inc.pl,v 1.483 2012/03/14 21:10:28 papu Exp $ +# $Id: slashpage.inc.pl,v 1.484 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/trackback.inc.pl diff -u PyukiWiki-Devel/lib/trackback.inc.pl:1.11 PyukiWiki-Devel/lib/trackback.inc.pl:1.12 --- PyukiWiki-Devel/lib/trackback.inc.pl:1.11 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/trackback.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # trackback.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: trackback.inc.pl,v 1.11 2012/03/14 21:10:28 papu Exp $ +# $Id: trackback.inc.pl,v 1.12 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/urlhack.inc.pl diff -u PyukiWiki-Devel/lib/urlhack.inc.pl:1.503 PyukiWiki-Devel/lib/urlhack.inc.pl:1.504 --- PyukiWiki-Devel/lib/urlhack.inc.pl:1.503 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/urlhack.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # urlhack.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: urlhack.inc.pl,v 1.503 2012/03/14 21:10:28 papu Exp $ +# $Id: urlhack.inc.pl,v 1.504 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ Index: PyukiWiki-Devel/lib/wiki.cgi diff -u PyukiWiki-Devel/lib/wiki.cgi:1.713 PyukiWiki-Devel/lib/wiki.cgi:1.714 --- PyukiWiki-Devel/lib/wiki.cgi:1.713 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/wiki.cgi Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # wiki.cgi - This is PyukiWiki, yet another Wiki clone. -# $Id: wiki.cgi,v 1.713 2012/03/14 21:10:28 papu Exp $ +# $Id: wiki.cgi,v 1.714 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/ # Copyright (C) 2005-2012 PyukiWiki Developers Team @@ -3386,7 +3386,7 @@ if($target eq '') { return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk">); } elsif($::is_xhtml) { - return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return ou('$url','$target');">); + return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} title="$escapedchunk" onclick="return ou(this.href, '@{[$target eq "_blank" ? "b" : $target]}');">); } else { return qq(<a href="$url" @{[$class eq '' ? '' : qq(class="$class")]} target="$target" title="$escapedchunk">); } Index: PyukiWiki-Devel/lib/xframe.inc.pl diff -u PyukiWiki-Devel/lib/xframe.inc.pl:1.84 PyukiWiki-Devel/lib/xframe.inc.pl:1.85 --- PyukiWiki-Devel/lib/xframe.inc.pl:1.84 Thu Mar 15 06:10:28 2012 +++ PyukiWiki-Devel/lib/xframe.inc.pl Thu Mar 15 11:18:22 2012 @@ -1,8 +1,8 @@ ###################################################################### # xframe.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: xframe.inc.pl,v 1.84 2012/03/14 21:10:28 papu Exp $ +# $Id: xframe.inc.pl,v 1.85 2012/03/15 02:18:22 papu Exp $ # -# "PyukiWiki" version 0.2.0-p3-dev1 $$ +# "PyukiWiki" ver 0.2.0-p3-dev1 $$ # Author: Nanami http://nanakochi.daiba.cx/ # Copyright (C) 2004-2012 Nekyo # http://nekyo.qp.land.to/