From e49c072de70edc0ed5e136e6803693f08f2e6abb Mon Sep 17 00:00:00 2001 From: henoheno Date: Sun, 10 Oct 2004 18:00:56 +0900 Subject: [PATCH] Cleanup. Add spaces, remove a pair of bracket --- keitai.ini.php | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/keitai.ini.php b/keitai.ini.php index ca5f61f..26691da 100644 --- a/keitai.ini.php +++ b/keitai.ini.php @@ -2,7 +2,7 @@ ///////////////////////////////////////////////// // 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.16 2004/10/10 09:00:56 henoheno Exp $ // // PukiWiki setting file (Cell phones, PDAs and other thin clients) @@ -24,13 +24,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 +73,7 @@ $accesskey = 'accesskey'; ///////////////////////////////////////////////// // $script¤òû½Ì -if (preg_match('#([^/]+)$#',$script,$matches)) { +if (preg_match('#([^/]+)$#', $script, $matches)) { $script = $matches[1]; } @@ -93,7 +93,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 +134,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 -- 2.11.0