From 37922ab6998f9bd493fe2ae1cfaa408d61dcdad9 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 2 Oct 2013 09:40:46 +0900 Subject: [PATCH 01/11] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20css=20?= =?UTF-8?q?=ED=95=84=EC=9A=94=EC=97=86=EB=8A=94=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index f5c81d89b..b6d74fab1 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -56,10 +56,6 @@ pre {overflow-x:scroll;font-size:1.1em} #lnb a {display:block;padding:0.5em 0;border-right:1px solid #e7f1ed;border-bottom:1px solid #e7f1ed;color:#000;text-align:center;text-decoration:none} #lnb li:nth-of-type(5n) a {border-right:0} -/* 배포시에는 필요없는 부분 */ -#sirgle_title {padding:0 1em;height:100px;color:#fff;font-size:2em} -#sirgle_title_span {display:block;position:relative;top:33px;left:0} - /* 중간 레이아웃 */ #wrapper {margin:2em 0} #wrapper:after {display:block;visibility:hidden;clear:both;content:""} From 1c0d38097fec2ef01769d5b2c453c8067e95f44d Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 2 Oct 2013 09:56:08 +0900 Subject: [PATCH 02/11] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20=EA=B0=A4?= =?UTF-8?q?=EB=9F=AC=EB=A6=AC=EC=8A=A4=ED=82=A8=20=EB=A6=AC=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EB=A7=88=EC=A7=84=EC=9D=84=20=ED=8C=A8=EB=94=A9?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C,=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=ED=83=80?= =?UTF-8?q?=EC=9D=B4=ED=8B=80=20=ED=8C=A8=EB=94=A9=EA=B0=92=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/skin/board/gallery/list.skin.php | 17 +---------------- mobile/skin/board/gallery/style.css | 24 ++++++++++-------------- 2 files changed, 11 insertions(+), 30 deletions(-) diff --git a/mobile/skin/board/gallery/list.skin.php b/mobile/skin/board/gallery/list.skin.php index 881eb665b..d04d4b54c 100644 --- a/mobile/skin/board/gallery/list.skin.php +++ b/mobile/skin/board/gallery/list.skin.php @@ -7,20 +7,6 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');

-
- - -
-
@@ -69,9 +55,8 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); if ($i == 0) $k = 0; $k += 1; if ($k % $board['bo_mobile_gallery_cols'] == 0) $style .= "margin:0 !important;"; - $li_width = 100 / $board['bo_mobile_gallery_cols']; // 100% 를 모바일 이미지 수로 나누어 li 넓이값에 적용 - 지운아빠 2013-03-07 ?> -
  • +
  • diff --git a/mobile/skin/board/gallery/style.css b/mobile/skin/board/gallery/style.css index 5c5e2ac87..c22f606de 100644 --- a/mobile/skin/board/gallery/style.css +++ b/mobile/skin/board/gallery/style.css @@ -61,17 +61,18 @@ #bo_img_list {margin:1em 0 0;padding:0 1em;list-style:none} #bo_img_list:after {display:block;visibility:hidden;clear:both;content:""} +#bo_list_title {padding:0 1em} + #bo_cate h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden} #bo_cate ul {margin:0.5em 1em;padding-left:1px;zoom:1} #bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""} #bo_cate li {float:left;margin-bottom:-1px;width:25%} #bo_cate a {display:block;position:relative;margin-left:-1px;padding:0.4em 0;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;text-decoration:none;letter-spacing:-0.1em} -#bo_cate a:focus, -#bo_cate a:hover, -#bo_cate a:active {text-decoration:none} +#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none} #bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold} -.bo_img_list_li {float:left;margin:0 0 2em} +.bo_img_list_li {float:left;padding:0 1em 2em 0} +.bo_img_list_clear {clear:both} .bo_img_con {margin:0;padding:0;list-style:none} .bo_img_con li {margin:0 0 0.3em} @@ -79,11 +80,8 @@ .bo_img_now .bo_img_text_href a {color:#ff3061} -.bo_img_href a:link, -.bo_img_href a:focus, -.bo_img_href a:hover {text-decoration:none} -.bo_img_href strong, -.bo_img_href span {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:8em} +.bo_img_href a:link, .bo_img_href a:focus, .bo_img_href a:hover {text-decoration:none} +.bo_img_href strong, .bo_img_href span {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:8em} .bo_img_text_href {margin:1em 0 !important} .bo_img_text_href a {color:#000;font-weight:bold;text-decoration:none} @@ -164,7 +162,7 @@ .bo_v_com li {float:left;margin-left:0.3em} #bo_v_atc {min-height:200px;padding:0 1em;min-height:200px} -#bo_v_atc h1 {margin:0;padding:0;height:0;overflow:hidden} +#bo_v_atc_title {margin:0;padding:0;height:0;overflow:hidden} #bo_v_img {margin:0 0 1em;width:100%;overflow:hidden:zoom:1} #bo_v_img:after {display:block;visibility:hidden;clear:both;content:""} @@ -178,8 +176,7 @@ #bo_v_act a {margin-right:0.3em;vertical-align:top} #bo_v_act span {display:inline-block;margin-right:0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:top} #bo_v_act strong {color:#ff3061} -#bo_v_act_good, -#bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden} +#bo_v_act_good, #bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden} #bo_v_sns {margin:0 0 2em;padding:0;list-style:none;zoom:1} #bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""} @@ -193,8 +190,7 @@ #bo_vc article {padding:0 0 0.5em;border-top:1px dotted #ccc} #bo_vc header {position:relative;padding:1.3em 0 0.3em} #bo_vc header .icon_reply {position:absolute;top:1.5em;left:-1.3em} -#bo_vc .sv_member, -#bo_vc .sv_guest {font-weight:bold} +#bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold} .bo_vc_hdinfo {display:inline-block;margin:0 1em 0 0.3em} #bo_vc h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden} #bo_vc a {color:#000;text-decoration:none} From 8969f499beaf3201c3519063196b093c92acb5e2 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 2 Oct 2013 10:05:23 +0900 Subject: [PATCH 03/11] =?UTF-8?q?=EA=B3=B5=ED=86=B5:=20=EA=B0=A4=EB=9F=AC?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=82=A8=20id,=20class=20=EA=B0=84=EC=86=8C?= =?UTF-8?q?=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/skin/board/gallery/list.skin.php | 22 +++++------ mobile/skin/board/gallery/style.css | 42 ++++++++++----------- skin/board/gallery/list.skin.php | 22 +++++------ skin/board/gallery/style.css | 49 +++++++++++-------------- 4 files changed, 65 insertions(+), 70 deletions(-) diff --git a/mobile/skin/board/gallery/list.skin.php b/mobile/skin/board/gallery/list.skin.php index d04d4b54c..83bf88a1b 100644 --- a/mobile/skin/board/gallery/list.skin.php +++ b/mobile/skin/board/gallery/list.skin.php @@ -8,7 +8,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');

    -
    +
    @@ -46,7 +46,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');

    이미지 목록

    -
      +
        0 && ($i % $board['bo_mobile_gallery_cols'] == 0)) $style = 'clear:both;'; @@ -56,7 +56,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); $k += 1; if ($k % $board['bo_mobile_gallery_cols'] == 0) $style .= "margin:0 !important;"; ?> -
      • +
      • @@ -69,8 +69,8 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); echo $list[$i]['num']; ?> -
          -
        • +
        • diff --git a/mobile/skin/board/gallery/style.css b/mobile/skin/board/gallery/style.css index c22f606de..dbdcf2e73 100644 --- a/mobile/skin/board/gallery/style.css +++ b/mobile/skin/board/gallery/style.css @@ -3,12 +3,12 @@ /* 게시판 버튼 */ /* 목록 버튼 */ -#bo_img a.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle} -#bo_img a.btn_b01:focus, #bo_img .btn_b01:hover {text-decoration:none} -#bo_img a.btn_b02 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle} -#bo_img a.btn_b02:focus, #bo_img .btn_b02:hover {text-decoration:none} -#bo_img a.btn_admin {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */ -#bo_img a.btn_admin:focus, #bo_img a.btn_admin:hover {text-decoration:none} +#bo_gall a.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle} +#bo_gall a.btn_b01:focus, #bo_gall .btn_b01:hover {text-decoration:none} +#bo_gall a.btn_b02 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle} +#bo_gall a.btn_b02:focus, #bo_gall .btn_b02:hover {text-decoration:none} +#bo_gall a.btn_admin {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */ +#bo_gall a.btn_admin:focus, #bo_gall a.btn_admin:hover {text-decoration:none} /* 읽기 버튼 */ #bo_v a.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle} @@ -57,9 +57,9 @@ #bo_w .required {background:url('../../../../img/wrest.gif') #f7f7f7 top right no-repeat} /* 필수입력 */ /* 갤러리 목록 */ -#bo_img h2 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden} -#bo_img_list {margin:1em 0 0;padding:0 1em;list-style:none} -#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""} +#bo_gall h2 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden} +#bo_gall #gall_ul {margin:1em 0 0;padding:0 1em;list-style:none} +#bo_gall #gall_ul:after {display:block;visibility:hidden;clear:both;content:""} #bo_list_title {padding:0 1em} @@ -71,21 +71,21 @@ #bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none} #bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold} -.bo_img_list_li {float:left;padding:0 1em 2em 0} -.bo_img_list_clear {clear:both} +#bo_gall .gall_li {float:left;padding:0 1em 2em 0} +#bo_gall .gall_clear {clear:both} -.bo_img_con {margin:0;padding:0;list-style:none} -.bo_img_con li {margin:0 0 0.3em} -.bo_img_con .bo_img_subject {display:inline-block;width:50px} +#bo_gall .gall_con {margin:0;padding:0;list-style:none} +#bo_gall .gall_con li {margin:0 0 0.3em} +#bo_gall .gall_con .gall_subject {display:inline-block;width:50px} -.bo_img_now .bo_img_text_href a {color:#ff3061} +#bo_gall .gall_now .gall_text_href a {color:#ff3061} -.bo_img_href a:link, .bo_img_href a:focus, .bo_img_href a:hover {text-decoration:none} -.bo_img_href strong, .bo_img_href span {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:8em} +#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none} +#bo_gall .gall_href strong, #bo_gall .gall_href span {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:8em} -.bo_img_text_href {margin:1em 0 !important} -.bo_img_text_href a {color:#000;font-weight:bold;text-decoration:none} -.bo_img_text_href img {margin:0 0 0 0.3em} +#bo_gall .gall_text_href {margin:1em 0 !important} +#bo_gall .gall_text_href a {color:#000;font-weight:bold;text-decoration:none} +#bo_gall .gall_text_href img {margin:0 0 0 0.3em} /* 게시판 목록 공통 */ .bo_fx {margin-bottom:0.3em;padding:0.5em 1em} @@ -107,7 +107,7 @@ #bo_sch {margin-bottom:1em;padding-top:0.3em;text-align:center} -#bo_img li.empty_list {padding:5em 0;text-align:center} +#bo_gall li.empty_list {padding:5em 0;text-align:center} /* 게시판 쓰기 */ #char_count_desc {display:block;margin:0 0 0.3em;padding:0} diff --git a/skin/board/gallery/list.skin.php b/skin/board/gallery/list.skin.php index 69a66c9d6..74d6b5322 100644 --- a/skin/board/gallery/list.skin.php +++ b/skin/board/gallery/list.skin.php @@ -8,7 +8,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');

          목록

          -
          +
          @@ -44,7 +44,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); -
            +
              0 && ($i % $bo_gallery_cols == 0)) $style = 'clear:both;'; @@ -54,7 +54,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); $k += 1; if ($k % $bo_gallery_cols == 0) $style .= "margin:0 !important;"; ?> -
            • +
            • @@ -67,8 +67,8 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); echo $list[$i]['num']; ?> -
                -
              • +
              • diff --git a/skin/board/gallery/style.css b/skin/board/gallery/style.css index 356dc9a92..4fad47a1f 100644 --- a/skin/board/gallery/style.css +++ b/skin/board/gallery/style.css @@ -3,12 +3,12 @@ /* 게시판 버튼 */ /* 목록 버튼 */ -#bo_img a.btn_b01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #d9ded9;background:#f5f6fa;color:#000;text-decoration:none;line-height:2.15em;vertical-align:middle} -#bo_img a.btn_b01:focus, #bo_img a.btn_b01:hover {text-decoration:none} -#bo_img a.btn_b02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #000;background:#333;color:#fff;text-decoration:none;line-height:2.15em;vertical-align:middle} -#bo_img a.btn_b02:focus, #bo_img a.btn_b02:hover {text-decoration:none} -#bo_img a.btn_admin {display:inline-block;padding:0 10px;height:23px;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2.15em;vertical-align:middle} /* 관리자 전용 버튼 */ -#bo_img a.btn_admin:focus, #bo_img .btn_admin:hover {text-decoration:none} +#bo_gall a.btn_b01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #d9ded9;background:#f5f6fa;color:#000;text-decoration:none;line-height:2.15em;vertical-align:middle} +#bo_gall a.btn_b01:focus, #bo_gall a.btn_b01:hover {text-decoration:none} +#bo_gall a.btn_b02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #000;background:#333;color:#fff;text-decoration:none;line-height:2.15em;vertical-align:middle} +#bo_gall a.btn_b02:focus, #bo_gall a.btn_b02:hover {text-decoration:none} +#bo_gall a.btn_admin {display:inline-block;padding:0 10px;height:23px;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2.15em;vertical-align:middle} /* 관리자 전용 버튼 */ +#bo_gall a.btn_admin:focus, #bo_gall .btn_admin:hover {text-decoration:none} /* 읽기 버튼 */ #bo_v a.btn_b01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #d9ded9;background:#f5f6fa;color:#000;text-decoration:none;line-height:2.15em;vertical-align:middle} @@ -69,35 +69,30 @@ #bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""} #bo_cate li {float:left;margin-bottom:-1px} #bo_cate a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:90px;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer} -#bo_cate a:focus, -#bo_cate a:hover, -#bo_cate a:active {text-decoration:none} +#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none} #bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold} .td_subject img {margin-left:3px} /* 갤러리 목록 */ -#bo_img h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden} -#bo_img_list {margin:10px 0 0;padding:0;list-style:none;zoom:1} -#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""} -.bo_img_list_li {float:left;margin:0 10px 30px 0} +#bo_gall h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden} +#bo_gall #gall_ul {margin:10px 0 0;padding:0;list-style:none;zoom:1} +#bo_gall #gall_ul:after {display:block;visibility:hidden;clear:both;content:""} +#bo_gall .gall_li {float:left;margin:0 10px 30px 0} -.bo_img_con {margin:0;padding:0;list-style:none} -.bo_img_con li {margin:0 0 4px} -.bo_img_con .bo_img_subject {display:inline-block;width:50px} +#bo_gall .gall_con {margin:0;padding:0;list-style:none} +#bo_gall .gall_con li {margin:0 0 4px} +#bo_gall .gall_con .gall_subject {display:inline-block;width:50px} -.bo_img_now .bo_img_text_href a {color:#ff3061} +#bo_gall .gall_now .gall_text_href a {color:#ff3061} -.bo_img_href a:link, -.bo_img_href a:focus, -.bo_img_href a:hover {text-decoration:none} -.bo_img_href strong, -.bo_img_href span {display:inline-block;background:#f7f7f7;text-align:center;line-height:10em} +#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none} +#bo_gall .gall_href strong, #bo_gall .gall_href span {display:inline-block;background:#f7f7f7;text-align:center;line-height:10em} -.bo_img_text_href {margin:10px 0 !important} -.bo_img_text_href a {font-weight:bold} -.bo_img_text_href span {display:inline !important} -.bo_img_text_href img {margin:0 0 0 4px} +#bo_gall .gall_text_href {margin:10px 0 !important} +#bo_gall .gall_text_href a {font-weight:bold} +#bo_gall .gall_text_href span {display:inline !important} +#bo_gall .gall_text_href img {margin:0 0 0 4px} /* 게시판 목록 공통 */ .bo_fx {margin-bottom:5px;zoom:1} @@ -118,7 +113,7 @@ #bo_sch {margin-bottom:10px;padding-top:5px;text-align:center} #bo_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden} -#bo_img li.empty_list {padding:85px 0;text-align:center} +#bo_gall li.empty_list {padding:85px 0;text-align:center} /* 게시판 쓰기 */ #char_count_desc {display:block;margin:0 0 5px;padding:0} From 2a6e9fc94c98e30ca4166969cafd91a10c1c1ccb Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 2 Oct 2013 10:20:42 +0900 Subject: [PATCH 04/11] =?UTF-8?q?=EA=B3=B5=ED=86=B5:=20=EA=B0=A4=EB=9F=AC?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=82=A8=20id,=20class=20=EA=B0=84=EC=86=8C?= =?UTF-8?q?=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile.css | 2 +- mobile/skin/member/basic/memo.skin.php | 2 +- mobile/skin/member/basic/memo_form.skin.php | 2 +- mobile/skin/member/basic/memo_view.skin.php | 3 ++- .../skin/member/basic/password_lost.skin.php | 2 +- mobile/skin/member/basic/profile.skin.php | 2 +- mobile/skin/member/basic/scrap.skin.php | 2 +- mobile/skin/member/basic/scrap_popin.skin.php | 2 +- mobile/skin/member/basic/style.css | 2 ++ mobile/skin/member/basic/zip.skin.php | 3 +-- .../skin/outlogin/basic/outlogin.skin.2.php | 6 +++--- skin/board/gallery/list.skin.php | 20 +++++++++---------- 12 files changed, 25 insertions(+), 23 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index b6d74fab1..75229d602 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -175,7 +175,7 @@ li.empty_list {padding:5em 0;text-align:center} /* 새창 기본 스타일 */ .new_win {} -.new_win h1 {margin-bottom:1.5em;padding:0 1.5em;height:3em;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;font-size:1.2em;line-height:3.5em} +#new_win_title {margin-bottom:1.5em;padding:0 1.5em;height:3em;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;font-size:1.2em;line-height:3.5em} .new_win table {margin:0 auto 1.5em;width:90%} .new_win caption {padding:1em} .new_win_ul {margin:-1.8em 0 1.5em 0;padding:0 0 0 1.5em;border-bottom:1px solid #455255;background:#484848;list-style:none} diff --git a/mobile/skin/member/basic/memo.skin.php b/mobile/skin/member/basic/memo.skin.php index c5503976d..595d21c4e 100644 --- a/mobile/skin/member/basic/memo.skin.php +++ b/mobile/skin/member/basic/memo.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
                -

                +

                • 받은쪽지
                • diff --git a/mobile/skin/member/basic/memo_form.skin.php b/mobile/skin/member/basic/memo_form.skin.php index a72c401fb..07f9e3676 100644 --- a/mobile/skin/member/basic/memo_form.skin.php +++ b/mobile/skin/member/basic/memo_form.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
                  -

                  쪽지보내기

                  +

                  쪽지보내기

                  • 받은쪽지
                  • diff --git a/mobile/skin/member/basic/memo_view.skin.php b/mobile/skin/member/basic/memo_view.skin.php index 2d4e7d50f..fe5d83c93 100644 --- a/mobile/skin/member/basic/memo_view.skin.php +++ b/mobile/skin/member/basic/memo_view.skin.php @@ -14,7 +14,8 @@ else {
                    -

                    +

                    +
                    • 받은쪽지
                    • 보낸쪽지
                    • diff --git a/mobile/skin/member/basic/password_lost.skin.php b/mobile/skin/member/basic/password_lost.skin.php index 9c81a47cd..0acf03398 100644 --- a/mobile/skin/member/basic/password_lost.skin.php +++ b/mobile/skin/member/basic/password_lost.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
                      -

                      아이디/패스워드 찾기

                      +

                      아이디/패스워드 찾기

                      diff --git a/mobile/skin/member/basic/profile.skin.php b/mobile/skin/member/basic/profile.skin.php index 4ff00f9d2..e37955e96 100644 --- a/mobile/skin/member/basic/profile.skin.php +++ b/mobile/skin/member/basic/profile.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
                      -

                      님의 프로필

                      +

                      님의 프로필

                      diff --git a/mobile/skin/member/basic/scrap.skin.php b/mobile/skin/member/basic/scrap.skin.php index c0515b6ff..ba281252f 100644 --- a/mobile/skin/member/basic/scrap.skin.php +++ b/mobile/skin/member/basic/scrap.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
                      -

                      +

                      diff --git a/mobile/skin/member/basic/scrap_popin.skin.php b/mobile/skin/member/basic/scrap_popin.skin.php index 7684a4e01..c9993d67a 100644 --- a/mobile/skin/member/basic/scrap_popin.skin.php +++ b/mobile/skin/member/basic/scrap_popin.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
                      -

                      스크랩하기

                      +

                      스크랩하기

                      diff --git a/mobile/skin/member/basic/style.css b/mobile/skin/member/basic/style.css index b7ab89407..495cb4b9b 100644 --- a/mobile/skin/member/basic/style.css +++ b/mobile/skin/member/basic/style.css @@ -24,6 +24,7 @@ /* 기본테이블 */ .mbskin .basic_tbl {margin-bottom:1em;width:100%;border-collapse:collapse;border-spacing:0} +.new_win .basic_tbl {width:90%} .mbskin .basic_tbl caption {padding:0 0 1em;color:#777;text-align:left} .mbskin .basic_tbl thead th {padding:0.5em 0;background:#565e60;color:#fff} .mbskin .basic_tbl thead a {color:#fff} @@ -38,6 +39,7 @@ /* 폼 테이블 */ .mbskin .frm_tbl {margin-bottom:1.5em;width:100%;border-collapse:collapse;border-spacing:0} +.new_win .frm_tbl {width:90%} .mbskin .frm_tbl caption {padding:1em;color:#4b8b99;font-weight:bold;text-align:left} .mbskin .frm_tbl th {padding:0.4em;width:110px;border:1px solid #e9e9e9;border-left:0;vertical-align:top;text-align:left} .mbskin .frm_tbl td {padding:0.4em 0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent} diff --git a/mobile/skin/member/basic/zip.skin.php b/mobile/skin/member/basic/zip.skin.php index 51e0dc518..c479e7ec6 100644 --- a/mobile/skin/member/basic/zip.skin.php +++ b/mobile/skin/member/basic/zip.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
                      -

                      +

                      @@ -25,7 +25,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 document.fzip.addr1.focus(); - 0) { ?>
                      건 가나다순 정렬
                      diff --git a/mobile/skin/outlogin/basic/outlogin.skin.2.php b/mobile/skin/outlogin/basic/outlogin.skin.2.php index 594c26bfd..f3b98ec11 100644 --- a/mobile/skin/outlogin/basic/outlogin.skin.2.php +++ b/mobile/skin/outlogin/basic/outlogin.skin.2.php @@ -13,19 +13,19 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
                      diff --git a/skin/board/gallery/list.skin.php b/skin/board/gallery/list.skin.php index 74d6b5322..51500f48f 100644 --- a/skin/board/gallery/list.skin.php +++ b/skin/board/gallery/list.skin.php @@ -44,7 +44,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); -
                        +
                          0 && ($i % $bo_gallery_cols == 0)) $style = 'clear:both;'; @@ -54,7 +54,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); $k += 1; if ($k % $bo_gallery_cols == 0) $style .= "margin:0 !important;"; ?> -
                        • +
                        • @@ -67,8 +67,8 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); echo $list[$i]['num']; ?> -
                            -
                          • +
                          • From a31d0d996115435c13b8d252c499536f18c7df54 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 2 Oct 2013 10:22:16 +0900 Subject: [PATCH 05/11] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20=EC=83=88?= =?UTF-8?q?=EC=B0=BD=20=ED=85=8C=EC=9D=B4=EB=B8=94=20=EC=8A=A4=ED=83=80?= =?UTF-8?q?=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile.css | 2 +- mobile/skin/member/basic/style.css | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index 75229d602..8f0d99279 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -176,7 +176,7 @@ li.empty_list {padding:5em 0;text-align:center} /* 새창 기본 스타일 */ .new_win {} #new_win_title {margin-bottom:1.5em;padding:0 1.5em;height:3em;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;font-size:1.2em;line-height:3.5em} -.new_win table {margin:0 auto 1.5em;width:90%} +.new_win .basic_tbl {margin:0 auto 1.5em;width:90%} .new_win caption {padding:1em} .new_win_ul {margin:-1.8em 0 1.5em 0;padding:0 0 0 1.5em;border-bottom:1px solid #455255;background:#484848;list-style:none} .new_win_ul:after {display:block;visibility:hidden;clear:both;content:""} diff --git a/mobile/skin/member/basic/style.css b/mobile/skin/member/basic/style.css index 495cb4b9b..b7ab89407 100644 --- a/mobile/skin/member/basic/style.css +++ b/mobile/skin/member/basic/style.css @@ -24,7 +24,6 @@ /* 기본테이블 */ .mbskin .basic_tbl {margin-bottom:1em;width:100%;border-collapse:collapse;border-spacing:0} -.new_win .basic_tbl {width:90%} .mbskin .basic_tbl caption {padding:0 0 1em;color:#777;text-align:left} .mbskin .basic_tbl thead th {padding:0.5em 0;background:#565e60;color:#fff} .mbskin .basic_tbl thead a {color:#fff} @@ -39,7 +38,6 @@ /* 폼 테이블 */ .mbskin .frm_tbl {margin-bottom:1.5em;width:100%;border-collapse:collapse;border-spacing:0} -.new_win .frm_tbl {width:90%} .mbskin .frm_tbl caption {padding:1em;color:#4b8b99;font-weight:bold;text-align:left} .mbskin .frm_tbl th {padding:0.4em;width:110px;border:1px solid #e9e9e9;border-left:0;vertical-align:top;text-align:left} .mbskin .frm_tbl td {padding:0.4em 0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent} From a6051aa758e243fb7183aceefb9f6f0625e35a29 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 2 Oct 2013 11:24:27 +0900 Subject: [PATCH 06/11] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EA=B0=A4?= =?UTF-8?q?=EB=9F=AC=EB=A6=AC=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=A0=95?= =?UTF-8?q?=EB=A0=AC=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=EB=B0=8F=20view=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EB=A6=AC=EC=82=AC=EC=9D=B4=EC=A6=88=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_copy_update.php | 1 - adm/board_form.php | 16 +---- adm/board_form_update.php | 3 - install/gnuboard5.sql | 1 - js/jquery.fancylist.js | 62 +++++++++++++++++++ js/viewimageresize.js | 43 +++++++++++++ mobile/skin/board/basic/view.skin.php | 4 ++ mobile/skin/board/gallery/list.skin.php | 14 ++--- mobile/skin/board/gallery/style.css | 2 +- mobile/skin/board/gallery/view.skin.php | 4 ++ skin/board/basic/view.skin.php | 80 +++---------------------- skin/board/gallery/view.skin.php | 80 +++---------------------- 12 files changed, 136 insertions(+), 174 deletions(-) create mode 100644 js/jquery.fancylist.js create mode 100644 js/viewimageresize.js diff --git a/adm/board_copy_update.php b/adm/board_copy_update.php index 016767115..4eaab6076 100644 --- a/adm/board_copy_update.php +++ b/adm/board_copy_update.php @@ -84,7 +84,6 @@ $sql = " insert into {$g5['board_table']} bo_gallery_cols = '{$board[bo_gallery_cols]}', bo_gallery_width = '{$board[bo_gallery_width]}', bo_gallery_height = '{$board[bo_gallery_height]}', - bo_mobile_gallery_cols = '{$board[bo_mobile_gallery_cols]}', bo_mobile_gallery_width = '{$board[bo_mobile_gallery_width]}', bo_mobile_gallery_height = '{$board[bo_mobile_gallery_height]}', bo_upload_size = '{$board[bo_upload_size]}', diff --git a/adm/board_form.php b/adm/board_form.php index 86f4cd5f2..39c9c93a8 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -30,7 +30,7 @@ if (!isset($board['bo_mobile_skin'])) { } if (!isset($board['bo_gallery_width'])) { - sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_gallery_width` INT NOT NULL AFTER `bo_gallery_cols`, ADD `bo_gallery_height` INT NOT NULL DEFAULT '0' AFTER `bo_gallery_width`, ADD `bo_mobile_gallery_cols` INT NOT NULL DEFAULT '0' AFTER `bo_gallery_height`, ADD `bo_mobile_gallery_width` INT NOT NULL DEFAULT '0' AFTER `bo_mobile_gallery_cols`, ADD `bo_mobile_gallery_height` INT NOT NULL DEFAULT '0' AFTER `bo_mobile_gallery_width` ", false); + sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_gallery_width` INT NOT NULL AFTER `bo_gallery_cols`, ADD `bo_gallery_height` INT NOT NULL DEFAULT '0' AFTER `bo_gallery_width`, ADD `bo_mobile_gallery_width` INT NOT NULL DEFAULT '0' AFTER `bo_gallery_height`, ADD `bo_mobile_gallery_height` INT NOT NULL DEFAULT '0' AFTER `bo_mobile_gallery_width` ", false); } if (!isset($board['bo_mobile_subject_len'])) { @@ -101,7 +101,6 @@ if ($w == '') { $board['bo_gallery_cols'] = 4; $board['bo_gallery_width'] = 174; $board['bo_gallery_height'] = 124; - $board['bo_mobile_gallery_cols'] = 3; $board['bo_mobile_gallery_width'] = 125; $board['bo_mobile_gallery_height'] = 100; $board['bo_table_width'] = 100; @@ -988,19 +987,6 @@ $pg_anchor = '
                              -
                      - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                      스크랩 목록
                      - - - - - - - -
                      diff --git a/adm/board_form_update.php b/adm/board_form_update.php index 7e55c0759..bcb674469 100644 --- a/adm/board_form_update.php +++ b/adm/board_form_update.php @@ -100,7 +100,6 @@ $sql_common = " gr_id = '{$_POST['gr_id']}', bo_gallery_cols = '{$_POST['bo_gallery_cols']}', bo_gallery_width = '{$_POST['bo_gallery_width']}', bo_gallery_height = '{$_POST['bo_gallery_height']}', - bo_mobile_gallery_cols = '{$_POST['bo_mobile_gallery_cols']}', bo_mobile_gallery_width = '{$_POST['bo_mobile_gallery_width']}', bo_mobile_gallery_height= '{$_POST['bo_mobile_gallery_height']}', bo_upload_count = '{$_POST['bo_upload_count']}', @@ -264,7 +263,6 @@ if (is_checked('chk_grp_mobile_skin')) $grp_fields .= " , bo_mobile_ski if (is_checked('chk_grp_gallery_cols')) $grp_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' "; if (is_checked('chk_grp_gallery_width')) $grp_fields .= " , bo_gallery_width = '{$bo_gallery_width}' "; if (is_checked('chk_grp_gallery_height')) $grp_fields .= " , bo_gallery_height = '{$bo_gallery_height}' "; -if (is_checked('chk_grp_mobile_gallery_cols')) $grp_fields .= " , bo_mobile_gallery_cols = '{$bo_mobile_gallery_cols}' "; if (is_checked('chk_grp_mobile_gallery_width')) $grp_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' "; if (is_checked('chk_grp_mobile_gallery_height'))$grp_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' "; if (is_checked('chk_grp_table_width')) $grp_fields .= " , bo_table_width = '{$bo_table_width}' "; @@ -349,7 +347,6 @@ if (is_checked('chk_all_mobile_skin')) $all_fields .= " , bo_mobile_ski if (is_checked('chk_all_gallery_cols')) $all_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' "; if (is_checked('chk_all_gallery_width')) $all_fields .= " , bo_gallery_width = '{$bo_gallery_width}' "; if (is_checked('chk_all_gallery_height')) $all_fields .= " , bo_gallery_height = '{$bo_gallery_height}' "; -if (is_checked('chk_all_mobile_gallery_cols')) $all_fields .= " , bo_mobile_gallery_cols = '{$bo_mobile_gallery_cols}' "; if (is_checked('chk_all_mobile_gallery_width')) $all_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' "; if (is_checked('chk_all_mobile_gallery_height'))$all_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' "; if (is_checked('chk_all_table_width')) $all_fields .= " , bo_table_width = '{$bo_table_width}' "; diff --git a/install/gnuboard5.sql b/install/gnuboard5.sql index cc1a03e0d..8b6cf0eda 100644 --- a/install/gnuboard5.sql +++ b/install/gnuboard5.sql @@ -81,7 +81,6 @@ CREATE TABLE IF NOT EXISTS `g5_board` ( `bo_gallery_cols` int(11) NOT NULL DEFAULT '0', `bo_gallery_width` int(11) NOT NULL DEFAULT '0', `bo_gallery_height` int(11) NOT NULL DEFAULT '0', - `bo_mobile_gallery_cols` int(11) NOT NULL DEFAULT '0', `bo_mobile_gallery_width` int(11) NOT NULL DEFAULT '0', `bo_mobile_gallery_height` int(11) NOT NULL DEFAULT '0', `bo_upload_size` int(11) NOT NULL DEFAULT '0', diff --git a/js/jquery.fancylist.js b/js/jquery.fancylist.js new file mode 100644 index 000000000..19149bc6f --- /dev/null +++ b/js/jquery.fancylist.js @@ -0,0 +1,62 @@ +(function($) { + $.fn.fancyList = function(element, clear) + { + var cfg = { + element: "li", + clear: "clear" + }; + + if(typeof element == "object") + cfg = $.extend( cfg, element ); + else { + if(element) + cfg = $.extend( cfg, { element: element } ); + if(clear) + cfg = $.extend( cfg, { clear: clear } ); + } + + var $element = this.find(cfg.element); + var $this = this; + + function item_arrange() + { + var $el = $element.filter(":first"); + var padding = 0; + if($el.data("padding-right") == undefined) { + padding = parseInt($el.css("padding-right")); + $el.data("padding-right", padding); + } + else + padding = $el.data("padding-right"); + + $element.css("padding-left", 0).css("padding-right", padding); + $element.filter("."+cfg.clear).removeClass(cfg.clear); + + var wrap_width = parseInt($this.width()); + var item_width = parseInt($el.outerWidth()); + var line_count = parseInt((wrap_width + padding) / item_width); + + if(line_count == 0) + return; + + var space = parseInt(wrap_width % item_width); + + if((space + padding) < item_width) { + space = wrap_width - ((item_width - padding) * line_count); + var new_padding = parseInt(space / (line_count * 2)); + + if(new_padding > padding) + $element.css("padding-left", new_padding+"px").css("padding-right", new_padding); + } + + $element.filter(":nth-child("+line_count+"n)").css("padding-right", 0); + $element.filter(":nth-child("+line_count+"n+1)").addClass(cfg.clear); + } + + item_arrange(); + + $(window).resize(function() { + item_arrange(); + }); + } +}(jQuery)); \ No newline at end of file diff --git a/js/viewimageresize.js b/js/viewimageresize.js new file mode 100644 index 000000000..b3c4ed65b --- /dev/null +++ b/js/viewimageresize.js @@ -0,0 +1,43 @@ +(function($) { + $.fn.viewimageresize = function(selector) + { + var cfg = { + selector: "img" + }; + + if(typeof selector == "object") { + cfg = $.extend(cfg, selector); + } else { + if(selector) { + cfg = $.extend({ selector: selector }); + } + } + + var $img = this.find(cfg.selector); + var width = this.width(); + + function image_resize() + { + $img.each(function() { + $(this).removeAttr("width") + .removeAttr("height") + .css("width",""); + + if($(this).data("width") == undefined) + $(this).data("width", $(this).width()); + + if($(this).data("width") > width) { + $(this).css("width", "100%"); + } + }); + } + + $(window).on("load", function() { + image_resize(); + }); + + $(window).on("resize", function() { + image_resize(); + }); + } +}(jQuery)); \ No newline at end of file diff --git a/mobile/skin/board/basic/view.skin.php b/mobile/skin/board/basic/view.skin.php index 1b2f044a9..3d87b7366 100644 --- a/mobile/skin/board/basic/view.skin.php +++ b/mobile/skin/board/basic/view.skin.php @@ -4,6 +4,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); ?> +
                      @@ -226,6 +227,9 @@ $(function() { excute_good(this.href, $(this), $tx); return false; }); + + // 이미지 리사이즈 + $("#bo_v_atc").viewimageresize(); }); function excute_good(href, $el, $tx) diff --git a/mobile/skin/board/gallery/list.skin.php b/mobile/skin/board/gallery/list.skin.php index 83bf88a1b..038237083 100644 --- a/mobile/skin/board/gallery/list.skin.php +++ b/mobile/skin/board/gallery/list.skin.php @@ -4,6 +4,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); ?> +

                      @@ -48,13 +49,6 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');
                        0 && ($i % $board['bo_mobile_gallery_cols'] == 0)) - $style = 'clear:both;'; - else - $style = ''; - if ($i == 0) $k = 0; - $k += 1; - if ($k % $board['bo_mobile_gallery_cols'] == 0) $style .= "margin:0 !important;"; ?>
                      • @@ -145,6 +139,12 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); + +
                      class="frm_input " maxlength="20">
                      옵션
                      + +
                      +
                      + + + + +
                      + 임시 저장된 글 목록 +
                      +
                        +
                        +
                        + +
                        +
                        + + +

                        이 게시판은 최소 글자 이상, 최대 글자 이하까지 글을 쓰실 수 있습니다.

                        + + + + +
                        글자
                        + +
                        " id="wr_link" class="frm_input" size="50">
                        파일 # + + + + + + + +
                        자동등록방지 + +
                        + +
                        +

                        + 작성하신 내용을 제출하시려면 글쓰기 버튼을, 작성을 취소하고 목록으로 돌아가시려면 취소 링크를 누르세요. +

                        + + 취소 +
                        + + + + \ No newline at end of file From fa6c798f06d4f51c1d39ead58069af6fb132be04 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 2 Oct 2013 11:56:45 +0900 Subject: [PATCH 09/11] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=8D=B8?= =?UTF-8?q?=EB=84=A4=EC=9D=BC=20=EC=83=9D=EC=84=B1=EC=8B=9C=20width=20?= =?UTF-8?q?=EA=B3=84=EC=82=B0=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/thumbnail.lib.php | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/lib/thumbnail.lib.php b/lib/thumbnail.lib.php index e6f7b05ff..337b92d42 100644 --- a/lib/thumbnail.lib.php +++ b/lib/thumbnail.lib.php @@ -80,27 +80,8 @@ function get_view_thumbnail($contents, $thumb_width=0) { global $board, $config; - if (!$thumb_width) { - $dvc_width = intval($_COOKIE['device_width']); - if(G5_IS_MOBILE && $dvc_width) { - // 썸네일 width 설정 - $thumb_width = 320; - - if($dvc_width > $board['bo_image_width']) { - $thumb_width = $board['bo_image_width']; - } else { - if($dvc_width >= 1000) { - $thumb_width = 1000; - } else if($dvc_width >= 760 && $dvc_width < 1000) { - $thumb_width = 760; - } else if($dvc_width >= 480 && $dvc_width < 760) { - $thumb_width = 480; - } - } - } else { - $thumb_width = $board['bo_image_width']; - } - } + if (!$thumb_width) + $thumb_width = $board['bo_image_width']; // $contents 중 img 태그 추출 $matchs = get_editor_image($contents); From c2fcdfc2c78be3484592d6f386b73fbd3695f991 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 2 Oct 2013 11:58:59 +0900 Subject: [PATCH 10/11] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=EC=9E=91=EB=8F=99=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/head.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mobile/head.php b/mobile/head.php index aa323232d..0f4481fb3 100644 --- a/mobile/head.php +++ b/mobile/head.php @@ -107,7 +107,8 @@ include_once(G5_LIB_PATH.'/popular.lib.php');

                        - - - + + + +
                        \ No newline at end of file From a1a70086acb6290df810266f232808a0304aaf05 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 2 Oct 2013 12:54:42 +0900 Subject: [PATCH 11/11] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4=ED=81=AC=EA=B8=B0=20=EC=BF=A0=ED=82=A4=EC=A0=80?= =?UTF-8?q?=EC=9E=A5=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- head.sub.php | 1 - 1 file changed, 1 deletion(-) diff --git a/head.sub.php b/head.sub.php index 50917e9f7..7609d275b 100644 --- a/head.sub.php +++ b/head.sub.php @@ -81,7 +81,6 @@ if ($is_admin) { set_cookie("device_width", $(window).width(), 6, g5_cookie_domain); '.PHP_EOL; echo ''.PHP_EOL; // overflow scroll 감지 } //if(!defined('G5_IS_ADMIN'))