From 9fabacfb7dfb8ec4eee2e50e51817add9bed1fc1 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 6 Mar 2013 17:55:39 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EC=82=AC?= =?UTF-8?q?=EC=9D=B4=EC=A6=88=20=EC=A1=B0=EC=A0=88=20=EA=B8=B0=EB=8A=A5?= =?UTF-8?q?=EC=97=90=20=EC=9B=90=EB=9E=98=20=ED=81=AC=EA=B8=B0=EB=A1=9C=20?= =?UTF-8?q?=EB=8F=8C=EB=A6=AC=EB=8A=94=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- head.php | 1 + js/common.js | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/head.php b/head.php index f76172255..54f33a20f 100644 --- a/head.php +++ b/head.php @@ -163,4 +163,5 @@ if ($config['cf_include_head']) {
+
\ No newline at end of file diff --git a/js/common.js b/js/common.js index 25d3c0c06..ba517b69d 100644 --- a/js/common.js +++ b/js/common.js @@ -530,6 +530,10 @@ function font_resize(id, act) if(isNaN(count)) count = 0; + // 크롬의 최소 폰트사이즈 버그로 작게는 한단계만 가능 + if(count == -1) + return; + $elements.each(function() { if($(this).hasClass("no_text_resize")) return true; @@ -567,12 +571,39 @@ function font_resize(id, act) } +/** + * 텍스트 기본사이즈 +**/ +function font_default(id) +{ + var act; + var count = parseInt(get_cookie("ck_font_resize_count")); + if(isNaN(count)) + count = 0; + + // font resize 카운트 초기화 + set_cookie("ck_font_resize_count", 0, 1, g4_cookie_domain); + + if(count > 0) + act = "decrease"; + else + act = "increase"; + + for(i=0; i Date: Wed, 6 Mar 2013 18:02:44 +0900 Subject: [PATCH 2/2] =?UTF-8?q?#337=20=EC=97=90=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EC=9D=B4=EC=99=B8=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EB=B9=84=ED=9A=8C=EC=9B=90=20=EC=82=AC=EC=9D=B4?= =?UTF-8?q?=EB=93=9C=EB=B7=B0=20=EC=B6=9C=EB=A0=A5=EB=90=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/common.lib.php b/lib/common.lib.php index b5bc48bfc..f18bd6476 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -987,6 +987,9 @@ function get_sideview($mb_id, $name='', $email='', $homepage='') $title_mb_id = '['.$mb_id.']'; } else { + if(!$bo_table) + return $name; + $tmp_name = "$name"; $title_mb_id = '[비회원]'; }