# -*- mode: perl; coding: utf-8 -*-
# Keitairc::Config
-# $Id: Config.pm,v 1.31 2009-01-03 07:28:15 nyan_ Exp $
+# $Id: Config.pm,v 1.32 2009-01-11 00:30:19 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/Keitairc/Config.pm,v $
#
# Copyright (c) 2008 Jun Morimoto <morimoto@mrmt.net>
web_listen_port
web_port web_title web_lines web_root web_schema
web_username web_password web_host web_charset
- extra_header fontsize mobile_fontsize silent_config
+ common_header extra_header
+ fontsize mobile_fontsize silent_config
show_newmsgonly show_joinleave show_console
ping_delay reconnect_delay follow_nick
smtp_server smtp_from smtp_to debug
$me->url_target('_self');
$me->follow_nick(1);
$me->rgeocode_server('refits');
+ $me->common_header('
+<meta name="Robots" content="noindex,nofollow" />
+<meta name="Keywords" content="norobot" />
+<meta http-equiv="pragma" content="no-cache" />
+<meta http-equiv="cache-control" content="no-cache" />
+<meta http-equiv="expires" content="-1" />');
$me->debug(0);
$me->daemonize(0);
# -*- mode: perl; coding: utf-8 -*-
# Keitairc::View
-# $Id: View.pm,v 1.22 2009-01-04 11:13:54 nyan_ Exp $
+# $Id: View.pm,v 1.23 2009-01-11 00:30:19 morimoto Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/Keitairc/View.pm,v $
#
# Copyright (c) 2008 Jun Morimoto <morimoto@mrmt.net>
$p->{root} = $me->{Config}->web_root();
$p->{title} = $me->{Config}->web_title();
$p->{version} = $me->{Config}->version();
+ $p->{common_header} = $me->{Config}->common_header();
$p->{extra_header} = $me->{Config}->extra_header();
if($me->{ClientInfo}->is_mobile){
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: \92n\90}\95\\8e¦</title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: <!-- tmpl_var channel_compact --></title>
</head>
<html>
<head>
- <meta name="Robots" content="noindex,nofollow">
- <meta name="Keywords" content="norobot">
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: <!-- tmpl_var channel_compact --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: <!-- tmpl_var channel_compact --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: icc\95\\8e¦</title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: icc\95\\8e¦</title>
</head>
<html>
<head>
- <meta name="Robots" content="noindex,nofollow">
- <meta name="Keywords" content="norobot">
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: \83\8d\83O\83A\83E\83g</title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: mail <!-- tmpl_var mail --></title>
</head>
<html>
<head>
- <meta name="Robots" content="noindex,nofollow">
- <meta name="Keywords" content="norobot">
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: phone <!-- tmpl_var phone --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: postme</title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: <!-- tmpl_var channel_compact --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: URL <!-- tmpl_var url --></title>
</head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
- <meta http-equiv="Cache-Control" content="max-age=0" />
+ <!-- tmpl_var common_header -->
<!-- tmpl_var extra_header -->
<title><!-- tmpl_var title -->: URL <!-- tmpl_var url --></title>
</head>