OSDN Git Service

スマートフォン対応はいったん元に戻しておきます。
authortakezoe <takezoe@users.osdn.me>
Sat, 23 Oct 2010 16:25:20 +0000 (16:25 +0000)
committertakezoe <takezoe@users.osdn.me>
Sat, 23 Oct 2010 16:25:20 +0000 (16:25 +0000)
wiki.cgi

index 2b671a5..ea7c559 100644 (file)
--- a/wiki.cgi
+++ b/wiki.cgi
@@ -135,10 +135,9 @@ eval {
        #==============================================================================
        my $output        = "";
        my $is_handyphone = &Util::handyphone();
-       my $is_smartphone = &Util::smartphone();
        my $template_name = "";
 
-       if ($is_handyphone || $is_smartphone) {
+       if ($is_handyphone) {
                $template_name = 'site_handyphone_tmpl';
        } else {
                $template_name = 'site_tmpl';
@@ -241,7 +240,7 @@ eval {
                IS_LOGIN => defined($login)
        );
 
-       if ($is_handyphone || $is_smartphone) {
+       if ($is_handyphone) {
                # ·ÈÂÓÅÅÏÃÍѽèÍý
                $output = $template->output;
                &Jcode::convert(\$output,"sjis");
@@ -292,7 +291,7 @@ eval {
        # ½ÐÎϽèÍý
        #------------------------------------------------------------------------------
        # ¥Ø¥Ã¥À¤Î½ÐÎÏ
-       if($is_handyphone || $is_smartphone){
+       if($is_handyphone){
                print "Content-Type: text/html;charset=Shift_JIS\n";
        } else {
                print "Content-Type: text/html;charset=EUC-JP\n";