From c5ce7155af3573bb9668fec74aefc330fe6a1ec6 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 17:37:22 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=EC=9E=90:=20=EC=83=81=ED=92=88=EA=B4=80=EB=A6=AC=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=9C=A0=ED=9A=A8=EC=84=B1=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=A0=95=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itemlist.php | 8 ++++---- lib/common.lib.php | 2 +- lib/shop.lib.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/adm/shop_admin/itemlist.php b/adm/shop_admin/itemlist.php index 4c9ee9fb2..9be2853d1 100644 --- a/adm/shop_admin/itemlist.php +++ b/adm/shop_admin/itemlist.php @@ -17,7 +17,7 @@ $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { $len = strlen($row['ca_id']) / 2 - 1; - $nbsp = ""; + $nbsp = ''; for ($i=0; $i<$len; $i++) { $nbsp .= '   '; } @@ -102,8 +102,8 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌 $result1 = sql_query($sql1); for ($i=0; $row1=sql_fetch_array($result1); $i++) { $len = strlen($row1['ca_id']) / 2 - 1; - $nbsp = ""; - for ($i=0; $i<$len; $i++) $nbsp .= "   "; + $nbsp = ''; + for ($i=0; $i<$len; $i++) $nbsp .= '   '; echo ''.PHP_EOL; } ?> @@ -120,7 +120,7 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌 - + diff --git a/lib/common.lib.php b/lib/common.lib.php index 1ac098608..00ae54b39 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1677,7 +1677,7 @@ function abs_ip2long($ip='') function get_selected($field, $value) { - return ($field==$value) ? ' selected="selected"' : ''; + return ($field==$value) ? ' selected' : ''; } diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 17208d845..c6305fdde 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -673,7 +673,7 @@ function conv_selected_option($options, $value) if(!$options) return ''; - $options = preg_replace('/(value=[\'\"]?'.$value.'[\'\"]?)/i', '\\1 selected="selected"', $options); + $options = preg_replace('/(value=[\'\"]?'.$value.'[\'\"]?)/i', '\\1 selected', $options); return $options; }