From ed9126b9f1771dd0b7624497c0fc1c59c20c1a8d Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 29 Apr 2013 11:20:44 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EA=B8=B0=EA=B8=B0=EC=A0=84=ED=99=98=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=EB=94=94=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 2 +- css/mobile.css | 2 +- mobile/tail.php | 2 +- tail.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/default.css b/css/default.css index 7f5d765be..c498d85bb 100644 --- a/css/default.css +++ b/css/default.css @@ -126,7 +126,7 @@ a:active {color:#000;text-decoration:underline} #ft_copy a {position:absolute;top:10px;right:0;color:#fff} /* Mobile화면으로 */ -#g4s_cng {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center} +#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center} /* 콘텐츠별 스타일 */ .cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold} diff --git a/css/mobile.css b/css/mobile.css index 2e3b17041..8fa47438b 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -97,7 +97,7 @@ pre {overflow-x:scroll;font-size:1.1em} #ft_copy a {color:#fff;text-decoration:none} /* PC화면으로 */ -#g4s_cng {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;color:#000;font-size:1em;text-decoration:none;text-align:center} +#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;color:#000;font-size:1em;text-decoration:none;text-align:center} /* 버튼 */ .btn01 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;font-size:1em;text-decoration:none !important;line-height:2em;vertical-align:middle} diff --git a/mobile/tail.php b/mobile/tail.php index 5ac910a8e..1bb72205f 100644 --- a/mobile/tail.php +++ b/mobile/tail.php @@ -40,7 +40,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 -PC 버전으로 보기 +PC 버전으로 보기 -모바일 버전으로 보기 +모바일 버전으로 보기 Date: Mon, 29 Apr 2013 13:14:00 +0900 Subject: [PATCH 2/2] =?UTF-8?q?php=20strict=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/constant.php | 12 ------- lib/etc.lib.php | 2 +- lib/icode.sms.lib.php | 6 ++-- lib/iteminfo.lib.php | 2 +- lib/thumb.lib.php | 2 +- lib/trackback.lib.php | 77 ------------------------------------------- 6 files changed, 6 insertions(+), 95 deletions(-) delete mode 100644 lib/constant.php delete mode 100644 lib/trackback.lib.php diff --git a/lib/constant.php b/lib/constant.php deleted file mode 100644 index 681066f1a..000000000 --- a/lib/constant.php +++ /dev/null @@ -1,12 +0,0 @@ - \ No newline at end of file diff --git a/lib/etc.lib.php b/lib/etc.lib.php index fd4ccde10..34af83e61 100644 --- a/lib/etc.lib.php +++ b/lib/etc.lib.php @@ -1,4 +1,4 @@ -1; $k--) { + for ($k=$cut-1; $k>1; $k--) { if (ord(substr($word,$k,1))<128) break; // 한글값은 160 이상. } $word=substr($word,0,$cut-($cut-$k+1)%2); @@ -134,7 +134,7 @@ class SMS { set_time_limit(300); ## php4.3.10일경우 - ## zend 최신버전으로 업해주세요.. + ## zend 최신버전으로 업해주세요.. ## 또는 122번째 줄을 $this->Data as $tmp => $puts 로 변경해 주세요. foreach($this->Data as $puts) { diff --git a/lib/iteminfo.lib.php b/lib/iteminfo.lib.php index f693672d8..74b94007f 100644 --- a/lib/iteminfo.lib.php +++ b/lib/iteminfo.lib.php @@ -1,4 +1,4 @@ -")) - return "올바른 트랙백 URL이 아닙니다."; - - //XML 부분만 뽑음 - $response = strchr($response,"")); - - //에러 검사 - if(strstr($response,"0")) - return ""; - else { - $tb_error_str = strchr($response,""); - $tb_error_str = substr($tb_error_str,0,strpos($tb_error_str,"")); - $tb_error_str = str_replace("","",$tb_error_str); - return "트랙백 전송중 오류가 발생했습니다: $tb_error_str"; - } -} -?> \ No newline at end of file