<?php
-// $Id: referer.inc.php,v 1.9 2005/01/23 04:49:14 henoheno Exp $
+// $Id: referer.inc.php,v 1.10 2005/01/23 05:20:02 henoheno Exp $
/*
* PukiWiki Referer ¥×¥é¥°¥¤¥ó(¥ê¥ó¥¯¸µÉ½¼¨¥×¥é¥°¥¤¥ó)
* (C) 2003, Katsumi Saito <katsumi@jo1upk.ymt.prug.or.jp>
$sort = (empty($vars['sort'])) ? '0d' : $vars['sort'];
return array(
'msg' => $_referer_msg['msg_H0_Refer'],
- 'body' => referer_body($vars['page'], $sort));
+ 'body' => plugin_referer_body($vars['page'], $sort));
}
$pages = get_existpages(TRACKBACK_DIR, '.ref');
}
// Referer ÌÀºÙ¹ÔÊÔ½¸
-function referer_body($page, $sort)
+function plugin_referer_body($page, $sort)
{
global $script, $_referer_msg;
$data = tb_get(tb_get_filename($page, '.ref'));
if (empty($data)) return '<p>no data.</p>';
- $bg = referer_set_color();
+ $bg = plugin_referer_set_color();
$arrow_last = $arrow_1st = $arrow_ctr = '';
$color_last = $color_1st = $color_ctr = $color_ref = $bg['etc'];
$body .= ' <td style="text-align:right;">' . $count . '</td>' . "\n";
// ŬÍÑÉԲĥǡ¼¥¿¤Î¤È¤¤Ï¥¢¥ó¥«¡¼¤ò¤Ä¤±¤Ê¤¤
- $body .= referer_ignore_check($url) ?
+ $body .= plugin_referer_ignore_check($url) ?
' <td>' . $s_url . '</td>' . "\n" :
' <td><a href="' . $e_url . '" rel="nofollow">' . $s_url . '</a></td>' . "\n";
EOD;
}
-function referer_set_color()
+function plugin_referer_set_color()
{
static $color;
return $color;
}
-function referer_ignore_check($url)
+function plugin_referer_ignore_check($url)
{
static $ignore_url;