/////////////////////////////////////////////////
// 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)
/////////////////////////////////////////////////
// ¥ê¥¹¥È¹½Â¤¤Îº¸¥Þ¡¼¥¸¥ó
-$_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 = '';
/////////////////////////////////////////////////
// Â硦¾®¸«½Ð¤·¤«¤éÌܼ¡¤ØÌá¤ë¥ê¥ó¥¯¤Îʸ»ú
/////////////////////////////////////////////////
// $script¤òû½Ì
-if (preg_match('#([^/]+)$#',$script,$matches)) {
+if (preg_match('#([^/]+)$#', $script, $matches)) {
$script = $matches[1];
}
$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) {
// 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