OSDN Git Service

BugTrack2/9: Remove all #freeze convert plugin
[pukiwiki/pukiwiki.git] / keitai.ini.php
index ca5f61f..5eeebb1 100644 (file)
@@ -2,11 +2,16 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: keitai.ini.php,v 1.15 2004/09/30 12:29:51 henoheno Exp $
+// $Id: keitai.ini.php,v 1.17 2004/10/31 02:01:38 henoheno Exp $
 //
 // PukiWiki setting file (Cell phones, PDAs and other thin clients)
 
 /////////////////////////////////////////////////
+// ·ÈÂÓ¡¦PDAÀìÍѤΥڡ¼¥¸¤ò½é´ü¥Ú¡¼¥¸¤È¤·¤Æ»ØÄꤹ¤ë
+
+// $defaultpage = 'm';
+
+/////////////////////////////////////////////////
 // ¥¹¥­¥ó¥Õ¥¡¥¤¥ë¤Î¾ì½ê
 define('SKIN_FILE', DATA_HOME . SKIN_DIR . 'keitai.skin.php');
 
@@ -24,13 +29,13 @@ $list_index = 0;
 
 /////////////////////////////////////////////////
 // ¥ê¥¹¥È¹½Â¤¤Îº¸¥Þ¡¼¥¸¥ó
-$_ul_left_margin = 0;   // ¥ê¥¹¥È¤È²èÌ̺¸Ã¼¤È¤Î´Ö³Ö(px)
-$_ul_margin = 16;       // ¥ê¥¹¥È¤Î³¬Áش֤δֳÖ(px)
-$_ol_left_margin = 0;   // ¥ê¥¹¥È¤È²èÌ̺¸Ã¼¤È¤Î´Ö³Ö(px)
-$_ol_margin = 16;       // ¥ê¥¹¥È¤Î³¬Áش֤δֳÖ(px)
-$_dl_left_margin = 0;   // ¥ê¥¹¥È¤È²èÌ̺¸Ã¼¤È¤Î´Ö³Ö(px)
-$_dl_margin = 16;        // ¥ê¥¹¥È¤Î³¬Áش֤δֳÖ(px)
-$_list_pad_str = '';
+$_ul_left_margin =  0; // ¥ê¥¹¥È¤È²èÌ̺¸Ã¼¤È¤Î´Ö³Ö(px)
+$_ul_margin      = 16; // ¥ê¥¹¥È¤Î³¬Áش֤δֳÖ(px)
+$_ol_left_margin =  0; // ¥ê¥¹¥È¤È²èÌ̺¸Ã¼¤È¤Î´Ö³Ö(px)
+$_ol_margin      = 16; // ¥ê¥¹¥È¤Î³¬Áش֤δֳÖ(px)
+$_dl_left_margin =  0; // ¥ê¥¹¥È¤È²èÌ̺¸Ã¼¤È¤Î´Ö³Ö(px)
+$_dl_margin      = 16; // ¥ê¥¹¥È¤Î³¬Áش֤δֳÖ(px)
+$_list_pad_str   = '';
 
 /////////////////////////////////////////////////
 // Â硦¾®¸«½Ð¤·¤«¤éÌܼ¡¤ØÌá¤ë¥ê¥ó¥¯¤Îʸ»ú
@@ -73,7 +78,7 @@ $accesskey = 'accesskey';
 
 /////////////////////////////////////////////////
 // $script¤òû½Ì
-if (preg_match('#([^/]+)$#',$script,$matches)) {
+if (preg_match('#([^/]+)$#', $script, $matches)) {
        $script = $matches[1];
 }
 
@@ -93,7 +98,7 @@ $cols = 22; $rows = 5;        // i_mode
 $ua_name  = $user_agent['name'];
 $ua_vers  = $user_agent['vers'];
 $ua_agent = $user_agent['agent'];
-$matches = array();
+$matches  = array();
 
 // Browser-name only
 switch ($ua_name) {
@@ -134,9 +139,8 @@ switch ($ua_name) {
                // UP.Browser for KDDI cell phones
                // http://www.au.kddi.com/ezfactory/tec/spec/xhtml.html ('About 9KB max')
                // http://www.au.kddi.com/ezfactory/tec/spec/4_4.html (User-agent strings)
-               if (preg_match('#^KDDI#', $ua_agent)) {
-                       $max_size =  9;
-               }
+               if (preg_match('#^KDDI#', $ua_agent)) $max_size =  9;
+               break;
 }
 
 // Browser-name + version