From 6e7d436d88dc371bd97fde6ef5bfa821c6dfcf7a Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 20 Feb 2013 13:30:21 +0900 Subject: [PATCH 1/4] =?UTF-8?q?#282=20=EC=97=90=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC:=20required=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?js=EB=A5=BC=20css=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/adm.css | 6 +++++- css/default.css | 6 +++++- js/wrest.js | 19 ------------------- skin/outlogin/basic/outlogin.skin.1.php | 4 ++-- 4 files changed, 12 insertions(+), 23 deletions(-) diff --git a/css/adm.css b/css/adm.css index b68ace414..06949a92e 100644 --- a/css/adm.css +++ b/css/adm.css @@ -130,11 +130,15 @@ fieldset .btn_submit:focus {height:21px;background:#555;line-height:1.7em} #btn_add {margin-bottom:10px;text-align:right} #btn_add a {display:inline-block;padding:0 15px;height:30px;border:0;background:#ff3061;color:#fff;text-decoration:none;line-height:2.5em;vertical-align:middle} +/* 필수입력 */ +.required {background:url('../img/wrest.gif') #f7f7f7 top right no-repeat !important} + /* 폼 */ label {vertical-align:middle} textarea, .frm_input {padding:2px;border:1px solid #ced9de;background:#f6f9fa;vertical-align:middle} textarea:focus, -.frm_input:focus {border-color:#000;background:#434f54;color:#fff} +.frm_input:focus, +.required:focus {border-color:#000;background:#434f54 !important;color:#fff} textarea {width:90%} select {border:1px solid #ced9de} button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer} diff --git a/css/default.css b/css/default.css index 88ab46744..90b03ee01 100644 --- a/css/default.css +++ b/css/default.css @@ -122,6 +122,9 @@ a:active {color:#000;text-decoration:underline} .bo_sideview td {padding:6px 4px} /* 사이드뷰 사용하는 테이블 셀 패딩값 */ td.empty_table {padding:85px 0;text-align:center} +/* 필수입력 */ +.required {background:url('../img/wrest.gif') #f7f7f7 top right no-repeat !important} + /* 폼 테이블 */ .frm_tbl {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0} .frm_tbl caption {padding:10px 0;color:#4b8b99;font-weight:bold;text-align:left} @@ -130,7 +133,8 @@ td.empty_table {padding:85px 0;text-align:center} .frm_tbl textarea, .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle} .frm_tbl textarea:focus, -.frm_input:focus {padding:3px 3px 4px;border:0;background:#21272e;color:#fff} +.frm_input:focus, +.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important;color:#fff} .frm_tbl textarea {width:90%;height:150px} .frm_address {display:block;margin-top:5px} .frm_file {display:block;margin-bottom:5px} diff --git a/js/wrest.js b/js/wrest.js index 7dc5c807d..a57dc06c0 100644 --- a/js/wrest.js +++ b/js/wrest.js @@ -1,7 +1,5 @@ var wrestMsg = ""; var wrestFld = null; -var wrestFldDefaultColor = ""; -var wrestFldBackColor = "#ff3061"; // subject 속성값을 얻어 return, 없으면 tag의 name을 넘김 function wrestItemname(fld) @@ -284,8 +282,6 @@ function wrestSubmit() var array_css = el.className.split(" "); // class 를 공백으로 나눔 - el.style.backgroundColor = wrestFldDefaultColor; - // 배열의 길이만큼 돌려라 for (var k=0; k - + - +
회원가입 From 4c0b729ee143f9a0489386631d5dc6afcb1806ce Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 20 Feb 2013 14:59:42 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20=EC=97=AC?= =?UTF-8?q?=EB=B6=84=ED=95=84=EB=93=9C=EC=97=90=EC=84=9C=20=EC=97=AC?= =?UTF-8?q?=EB=B6=84=ED=95=84=EB=93=9C=20=EB=82=B4=EC=9A=A9=EC=9D=84=20?= =?UTF-8?q?=EC=97=AC=EB=B6=84=ED=95=84=EB=93=9C=20=EA=B0=92=EC=9D=B4?= =?UTF-8?q?=EB=9D=BC=EA=B3=A0=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_form.php | 6 +++--- adm/config_form.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adm/board_form.php b/adm/board_form.php index a63b8e2d2..289f53218 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -594,7 +594,7 @@ $pg_anchor = "
    - + @@ -604,7 +604,7 @@ $pg_anchor = "
      - + @@ -825,7 +825,7 @@ $pg_anchor = "
        - + diff --git a/adm/config_form.php b/adm/config_form.php index 9d740cf4c..9e940196f 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -544,7 +544,7 @@ $pg_anchor = " - + From 2887bd27a65850c2b89f93bd5b70cfdd4004f0eb Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 20 Feb 2013 15:01:04 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20=ED=9A=8C?= =?UTF-8?q?=EC=9B=90=EA=B4=80=EB=A6=AC=20=EC=8A=A4=ED=83=80=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/adm.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/adm.css b/css/adm.css index 06949a92e..9678a8847 100644 --- a/css/adm.css +++ b/css/adm.css @@ -255,7 +255,7 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9 .td_boolean {width:50px;text-align:center} .td_pt {text-align:right !important} -.txt_true {color:#2a6bc4} +.txt_true {color:#e8180c} .txt_false {color:#ccc} /* 관리권한설정 */ From 7870d22b1fc8bd39fb037048796ae32efaf6dcc2 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 20 Feb 2013 15:41:03 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=95=20#291=20?= =?UTF-8?q?=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EC=B2=98=EB=A6=AC=20=EC=9D=B4?= =?UTF-8?q?=EC=A0=84=EA=B2=80=EC=83=89=20=EB=8B=A4=EC=9D=8C=EA=B2=80?= =?UTF-8?q?=EC=83=89=20=EC=8A=A4=ED=83=80=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs/list.php b/bbs/list.php index d2f4b02bf..09e84a3b9 100644 --- a/bbs/list.php +++ b/bbs/list.php @@ -149,13 +149,13 @@ if ($sca || $stx) { $prev_spt = $spt - $config['cf_search_part']; if (isset($min_spt) && $prev_spt >= $min_spt) { $prev_part_href = './board.php?bo_table='.$bo_table.$qstr.'&spt='.$prev_spt.'&page=1'; - $write_pages = page_insertbefore($write_pages, '이전검색'); + $write_pages = page_insertbefore($write_pages, '이전검색'); } $next_spt = $spt + $config['cf_search_part']; if ($next_spt < 0) { $next_part_href = './board.php?bo_table='.$bo_table.$qstr.'&spt='.$next_spt.'&page=1'; - $write_pages = page_insertafter($write_pages, '다음검색'); + $write_pages = page_insertafter($write_pages, '다음검색'); } }