OSDN Git Service

Use is_mobile() here.
authormatusita <matusita@180c8125-5b33-4295-ad04-72a68a15b4cc>
Thu, 8 May 2008 14:32:58 +0000 (14:32 +0000)
committermatusita <matusita@180c8125-5b33-4295-ad04-72a68a15b4cc>
Thu, 8 May 2008 14:32:58 +0000 (14:32 +0000)
lib/Keitairc/View.pm

index 896d3bd..8903034 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 # Keitairc::View
-# $Id: View.pm,v 1.9 2008-05-02 15:29:36 matusita Exp $
+# $Id: View.pm,v 1.10 2008-05-08 14:32:58 matusita Exp $
 # $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/Keitairc/View.pm,v $
 #
 # Copyright (c) 2008 Jun Morimoto <morimoto@mrmt.net>
@@ -74,6 +74,7 @@ sub template{
        $p->{is_docomo} = $me->{ClientInfo}->is_docomo();
        $p->{is_ezweb} = $me->{ClientInfo}->is_ezweb();
        $p->{is_softbank} = $me->{ClientInfo}->is_softbank();
+       $p->{is_mobile} = $me->{ClientInfo}->is_mobile();
 
        map {
                $p->{"plugin_$_"} = 1;