From 4a8c626cb2c94174ff5af682aae331f4c068e7a7 Mon Sep 17 00:00:00 2001 From: nyan_ Date: Sun, 4 Jan 2009 11:13:54 +0000 Subject: [PATCH] Export 'extra_header' to templates rather than 'header'. --- lib/Keitairc/View.pm | 4 ++-- lib/templates/default/404.html | 2 +- lib/templates/default/address.html | 2 +- lib/templates/default/all.html | 2 +- lib/templates/default/index.html | 2 +- lib/templates/default/location.html | 2 +- lib/templates/default/location_receiver.html | 2 +- lib/templates/default/login_icc.html | 2 +- lib/templates/default/login_imodeid.html | 2 +- lib/templates/default/logout.html | 2 +- lib/templates/default/mail.html | 2 +- lib/templates/default/nick.html | 2 +- lib/templates/default/phone.html | 2 +- lib/templates/default/postme.html | 2 +- lib/templates/default/recent.html | 2 +- lib/templates/default/root.html | 2 +- lib/templates/default/topic.html | 2 +- lib/templates/default/unread.html | 2 +- lib/templates/default/url.html | 2 +- lib/templates/default/url_session.html | 2 +- lib/templates/ipod-sjis/404.html | 2 +- lib/templates/ipod-sjis/address.html | 2 +- lib/templates/ipod-sjis/all.html | 2 +- lib/templates/ipod-sjis/index.html | 2 +- lib/templates/ipod-sjis/logout.html | 2 +- lib/templates/ipod-sjis/nick.html | 2 +- lib/templates/ipod-sjis/phone.html | 2 +- lib/templates/ipod-sjis/recent.html | 2 +- lib/templates/ipod-sjis/root.html | 2 +- lib/templates/ipod-sjis/topic.html | 2 +- lib/templates/ipod-sjis/url.html | 2 +- lib/templates/ipod-sjis/url_session.html | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-) diff --git a/lib/Keitairc/View.pm b/lib/Keitairc/View.pm index b10a51b..b671cb9 100644 --- a/lib/Keitairc/View.pm +++ b/lib/Keitairc/View.pm @@ -1,6 +1,6 @@ # -*- mode: perl; coding: utf-8 -*- # Keitairc::View -# $Id: View.pm,v 1.21 2009-01-03 07:28:15 nyan_ Exp $ +# $Id: View.pm,v 1.22 2009-01-04 11:13:54 nyan_ Exp $ # $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/Keitairc/View.pm,v $ # # Copyright (c) 2008 Jun Morimoto @@ -79,7 +79,7 @@ sub template{ $p->{root} = $me->{Config}->web_root(); $p->{title} = $me->{Config}->web_title(); $p->{version} = $me->{Config}->version(); - $p->{header} = $me->{Config}->extra_header(); + $p->{extra_header} = $me->{Config}->extra_header(); if($me->{ClientInfo}->is_mobile){ $p->{fontsize} = $me->{Config}->mobile_fontsize(); diff --git a/lib/templates/default/404.html b/lib/templates/default/404.html index 1f6b272..4bae2bf 100644 --- a/lib/templates/default/404.html +++ b/lib/templates/default/404.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title --> diff --git a/lib/templates/default/address.html b/lib/templates/default/address.html index 246d690..81b2209 100644 --- a/lib/templates/default/address.html +++ b/lib/templates/default/address.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: ’n}•\Ž¦ diff --git a/lib/templates/default/all.html b/lib/templates/default/all.html index b029f31..80d357e 100644 --- a/lib/templates/default/all.html +++ b/lib/templates/default/all.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: <!-- tmpl_var channel_compact --> diff --git a/lib/templates/default/index.html b/lib/templates/default/index.html index 3e56593..22dffc2 100644 --- a/lib/templates/default/index.html +++ b/lib/templates/default/index.html @@ -4,7 +4,7 @@ - + <!-- tmpl_var title --> diff --git a/lib/templates/default/location.html b/lib/templates/default/location.html index 7c5ec31..75ade8b 100644 --- a/lib/templates/default/location.html +++ b/lib/templates/default/location.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: <!-- tmpl_var channel_compact --> diff --git a/lib/templates/default/location_receiver.html b/lib/templates/default/location_receiver.html index be95090..9b533a3 100644 --- a/lib/templates/default/location_receiver.html +++ b/lib/templates/default/location_receiver.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: <!-- tmpl_var channel_compact --> diff --git a/lib/templates/default/login_icc.html b/lib/templates/default/login_icc.html index 036b55f..cb04580 100644 --- a/lib/templates/default/login_icc.html +++ b/lib/templates/default/login_icc.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: icc•\Ž¦ diff --git a/lib/templates/default/login_imodeid.html b/lib/templates/default/login_imodeid.html index 7a7ec28..c83db73 100644 --- a/lib/templates/default/login_imodeid.html +++ b/lib/templates/default/login_imodeid.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: icc•\Ž¦ diff --git a/lib/templates/default/logout.html b/lib/templates/default/logout.html index 31a4140..2bcb77d 100644 --- a/lib/templates/default/logout.html +++ b/lib/templates/default/logout.html @@ -4,7 +4,7 @@ - + <!-- tmpl_var title -->: ƒƒOƒAƒEƒg diff --git a/lib/templates/default/mail.html b/lib/templates/default/mail.html index d90662e..cac6f8e 100644 --- a/lib/templates/default/mail.html +++ b/lib/templates/default/mail.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: mail <!-- tmpl_var mail --> diff --git a/lib/templates/default/nick.html b/lib/templates/default/nick.html index d273694..916d5ad 100644 --- a/lib/templates/default/nick.html +++ b/lib/templates/default/nick.html @@ -4,7 +4,7 @@ - + <!-- tmpl_var title --> diff --git a/lib/templates/default/phone.html b/lib/templates/default/phone.html index 4eb1547..b6dca72 100644 --- a/lib/templates/default/phone.html +++ b/lib/templates/default/phone.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: phone <!-- tmpl_var phone --> diff --git a/lib/templates/default/postme.html b/lib/templates/default/postme.html index d99b1e8..a6d900a 100644 --- a/lib/templates/default/postme.html +++ b/lib/templates/default/postme.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: postme diff --git a/lib/templates/default/recent.html b/lib/templates/default/recent.html index 250ba69..4c68053 100644 --- a/lib/templates/default/recent.html +++ b/lib/templates/default/recent.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title --> diff --git a/lib/templates/default/root.html b/lib/templates/default/root.html index a21fab9..7bcdda1 100644 --- a/lib/templates/default/root.html +++ b/lib/templates/default/root.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title --> diff --git a/lib/templates/default/topic.html b/lib/templates/default/topic.html index 0a20d93..9c31986 100644 --- a/lib/templates/default/topic.html +++ b/lib/templates/default/topic.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title --> diff --git a/lib/templates/default/unread.html b/lib/templates/default/unread.html index 950f035..884f8ac 100644 --- a/lib/templates/default/unread.html +++ b/lib/templates/default/unread.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: <!-- tmpl_var channel_compact --> diff --git a/lib/templates/default/url.html b/lib/templates/default/url.html index f1944ff..3d6448a 100644 --- a/lib/templates/default/url.html +++ b/lib/templates/default/url.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: URL <!-- tmpl_var url --> diff --git a/lib/templates/default/url_session.html b/lib/templates/default/url_session.html index d17276a..9bd3a54 100644 --- a/lib/templates/default/url_session.html +++ b/lib/templates/default/url_session.html @@ -2,7 +2,7 @@ - + <!-- tmpl_var title -->: URL <!-- tmpl_var url --> diff --git a/lib/templates/ipod-sjis/404.html b/lib/templates/ipod-sjis/404.html index e5e13ef..3b97355 100644 --- a/lib/templates/ipod-sjis/404.html +++ b/lib/templates/ipod-sjis/404.html @@ -12,7 +12,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title --> diff --git a/lib/templates/ipod-sjis/address.html b/lib/templates/ipod-sjis/address.html index 98d62ef..b86d71b 100644 --- a/lib/templates/ipod-sjis/address.html +++ b/lib/templates/ipod-sjis/address.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title -->: ’n}•\Ž¦ diff --git a/lib/templates/ipod-sjis/all.html b/lib/templates/ipod-sjis/all.html index 7dc332c..63102b7 100644 --- a/lib/templates/ipod-sjis/all.html +++ b/lib/templates/ipod-sjis/all.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title -->: <!-- tmpl_var channel_compact --> diff --git a/lib/templates/ipod-sjis/index.html b/lib/templates/ipod-sjis/index.html index 77abdf5..00a200d 100644 --- a/lib/templates/ipod-sjis/index.html +++ b/lib/templates/ipod-sjis/index.html @@ -12,7 +12,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title --> diff --git a/lib/templates/ipod-sjis/logout.html b/lib/templates/ipod-sjis/logout.html index 1327472..f969c0a 100644 --- a/lib/templates/ipod-sjis/logout.html +++ b/lib/templates/ipod-sjis/logout.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title -->: ƒƒOƒAƒEƒg diff --git a/lib/templates/ipod-sjis/nick.html b/lib/templates/ipod-sjis/nick.html index 4bd9a8f..9214517 100644 --- a/lib/templates/ipod-sjis/nick.html +++ b/lib/templates/ipod-sjis/nick.html @@ -12,7 +12,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title -->: nickˆê—— diff --git a/lib/templates/ipod-sjis/phone.html b/lib/templates/ipod-sjis/phone.html index a981a44..ae3343b 100644 --- a/lib/templates/ipod-sjis/phone.html +++ b/lib/templates/ipod-sjis/phone.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title -->: phone <!-- tmpl_var phone --> diff --git a/lib/templates/ipod-sjis/recent.html b/lib/templates/ipod-sjis/recent.html index a69bed3..7dbf253 100644 --- a/lib/templates/ipod-sjis/recent.html +++ b/lib/templates/ipod-sjis/recent.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title -->: –¢“Ljꗗ diff --git a/lib/templates/ipod-sjis/root.html b/lib/templates/ipod-sjis/root.html index d887851..d288824 100644 --- a/lib/templates/ipod-sjis/root.html +++ b/lib/templates/ipod-sjis/root.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title --> diff --git a/lib/templates/ipod-sjis/topic.html b/lib/templates/ipod-sjis/topic.html index 7852a34..56938df 100644 --- a/lib/templates/ipod-sjis/topic.html +++ b/lib/templates/ipod-sjis/topic.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title --> diff --git a/lib/templates/ipod-sjis/url.html b/lib/templates/ipod-sjis/url.html index 22ac710..c81d72a 100644 --- a/lib/templates/ipod-sjis/url.html +++ b/lib/templates/ipod-sjis/url.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title -->: URL <!-- tmpl_var url --> diff --git a/lib/templates/ipod-sjis/url_session.html b/lib/templates/ipod-sjis/url_session.html index 41e692a..2ac401c 100644 --- a/lib/templates/ipod-sjis/url_session.html +++ b/lib/templates/ipod-sjis/url_session.html @@ -10,7 +10,7 @@ @import "iui-keitairc.css"; - + <!-- tmpl_var title -->: URL <!-- tmpl_var url --> -- 2.11.0