# -*-perl-*-
# keitairc/lib/plugins/00all
# \83`\83\83\83l\83\8b\82Ì\91S\83\81\83b\83Z\81[\83W\89{\97\97
-# $Id: 00all,v 1.4 2008-02-25 15:46:31 morimoto Exp $
+# $Id: 00all,v 1.5 2008-03-15 09:09:26 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/00all,v $
$plugin = {
my $p;
$p->{buf} = $buf;
- $p->{channel_compact} = $::ib->compact_channel_name($cid);
+ $p->{channel_compact} = $::ib->simple_escape($::ib->compact_channel_name($cid));
$p->{cid} = $cid;
return $view->render('all.html', $p);
}
# -*-perl-*-
# keitairc/lib/plugins/00index
# \83`\83\83\83l\83\8b\88ê\97\97
-# $Id: 00index,v 1.4 2008-01-18 16:50:35 morimoto Exp $
+# $Id: 00index,v 1.5 2008-03-15 09:09:26 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/00index,v $
$plugin = {
for my $cid ($::ib->channels()){
my $p = {};
my $channel = $::ib->cid2name($cid);
- my $cname = $::ib->compact_channel_name($cid);
+ my $cname = $::ib->simple_escape($::ib->compact_channel_name($cid));
if($accesskey < 10){
$p->{link} =
sprintf('<a accesskey="%1d" href="all/%d">[%1d] %s</a>',
# °ÌÃÖ¾ðÊóÁ÷¿®
# ¸½ºß¤Þ¤À au ÀìÍÑ
#
-# $Id: 00location,v 1.3 2008-01-14 14:05:48 morimoto Exp $
+# $Id: 00location,v 1.4 2008-03-15 09:09:26 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/00location,v $
# http://siisise.net/gps.html
$p->{web_port} = $::cf->web_port();
$p->{session_id} = $session_id;
$p->{cid} = $cid;
- $p->{channel_compact} = $::ib->compact_channel_name($cid);
+ $p->{channel_compact} = $::ib->simple_escape($::ib->compact_channel_name($cid));
return $view->render('location.html', $p);
}
};
# keitairc/lib/plugins/00location_receiver
# °ÌÃÖ¾ðÊóÁ÷¿®¡¢¤Î¥³¡¼¥ë¥Ð¥Ã¥¯
#
-# $Id: 00location_receiver,v 1.4 2008-02-23 20:43:36 morimoto Exp $
+# $Id: 00location_receiver,v 1.5 2008-03-15 09:09:26 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/00location_receiver,v $
use Net::HTTP;
my $p;
$p->{session_id} = $session_id;
$p->{cid} = $cid;
- $p->{channel_compact} = $::ib->compact_channel_name($cid);
+ $p->{channel_compact} = $::ib->simple_escape($::ib->compact_channel_name($cid));
# ¬ÃÏ·Ï
# °Ê²¼¤Î2¤Ä¤Î¬ÃϷϤÎÃ椫¤é»ÈÍѤ·¤Æ¤¤¤ë¬ÃϷϤò¼¨¤¹¡£
# -*-perl-*-
# keitairc/lib/plugins/00nick
# nick\88ê\97\97
-# $Id: 00nick,v 1.2 2008-01-13 15:31:09 morimoto Exp $
+# $Id: 00nick,v 1.3 2008-03-15 09:09:26 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/00nick,v $
$plugin = {
my $ci = new Keitairc::ClientInfo($request);
my $view = new Keitairc::View($::cf, $ci);
return $view->render('nick.html', {
- channel_compact => $::ib->compact_channel_name($cid),
+ channel_compact => $::ib->simple_escape($::ib->compact_channel_name($cid)),
loop => \@loop
});
}
# -*-perl-*-
# keitairc/lib/plugins/00topic
# \83g\83s\83b\83N\88ê\97\97
-# $Id: 00topic,v 1.2 2008-01-13 15:31:09 morimoto Exp $
+# $Id: 00topic,v 1.3 2008-03-15 09:09:26 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/00topic,v $
$plugin = {
my $topic;
$buf .= sprintf(' <a href="all/%d">%s</a><br />',
$cid,
- $::ib->compact_channel_name($cid));
+ $::ib->simple_escape($::ib->compact_channel_name($cid)));
if($topic = $::ib->topic($cid)){
Encode::from_to($topic, 'jis', 'shiftjis');
+ $topic = $::ib->simple_escape($topic);
}else{
$topic = '(ÄË߯¸\96¢\90Ý\92è)';
}
# -*-perl-*-
# keitairc/lib/plugins/00unread
# \83`\83\83\83l\83\8b\82Ì\96¢\93Ç\83\81\83b\83Z\81[\83W\89{\97\97
-# $Id: 00unread,v 1.4 2008-02-25 15:46:31 morimoto Exp $
+# $Id: 00unread,v 1.5 2008-03-15 09:09:26 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/00unread,v $
$plugin = {
my $view = new Keitairc::View($::cf, $ci);
return $view->render('unread.html', {
buf => $buf,
- channel_compact => $::ib->compact_channel_name($cid),
+ channel_compact => $::ib->simple_escape($::ib->compact_channel_name($cid)),
cid => $cid,
});
}
</form>
<form method="post" action="<!-- tmpl_var root --><!-- tmpl_var session_id -->/postme">
- <input type="hidden" name="text" value="<!-- tmpl_var address -->" />
+ <input type="hidden" name="text" value="<!-- tmpl_var address -->
+http://www.google.co.jp/m/lcb?mp=1&uipref=3&source=m&ie=Shift_JIS&action=chglog&loc=<!-- tmpl_var address -->" />
<input type="submit" accesskey="2" value="[2] ÒÓ\91\97\90M"><br />
</form>