모바일: 검색란 스타일 제거
This commit is contained in:
@ -29,6 +29,9 @@ if (!isset($board['bo_mobile_skin'])) {
|
|||||||
sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_mobile_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `bo_skin` ", false);
|
sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_mobile_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `bo_skin` ", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($board['bo_mobile_gallery_cols'])) {
|
||||||
|
sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_mobile_gallery_cols` INT NOT NULL AFTER `bo_gallery_cols` ", false);
|
||||||
|
}
|
||||||
|
|
||||||
if ($w == '') {
|
if ($w == '') {
|
||||||
|
|
||||||
@ -701,6 +704,17 @@ $pg_anchor = "<ul class=\"anchor\">
|
|||||||
<label for="chk_gallery_cols">동일그룹 모두 적용</label>
|
<label for="chk_gallery_cols">동일그룹 모두 적용</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row"><label for="bo_mobile_gallery_cols">모바일<br>가로 이미지수<strong class="sound_only">필수</strong></label></th>
|
||||||
|
<td>
|
||||||
|
<?=help('모바일 접속시 갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여줄것인지를 설정하는 값')?>
|
||||||
|
<input type="text" id="bo_mobile_gallery_cols" name="bo_mobile_gallery_cols" class="required numeric frm_input" required value="<?=$board['bo_mobile_gallery_cols']?>" size="4">
|
||||||
|
</td>
|
||||||
|
<td class="group_setting">
|
||||||
|
<input type="checkbox" id="chk_mobile_gallery_cols" name="chk_mobile_gallery_cols" value="1">
|
||||||
|
<label for="chk_mobile_gallery_cols">동일그룹 모두 적용</label>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="bo_table_width">게시판 테이블 폭<strong class="sound_only">필수</strong></label></th>
|
<th scope="row"><label for="bo_table_width">게시판 테이블 폭<strong class="sound_only">필수</strong></label></th>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@ -99,6 +99,7 @@ $sql_common = " gr_id = '{$_POST['gr_id']}',
|
|||||||
bo_content_tail = '{$_POST['bo_content_tail']}',
|
bo_content_tail = '{$_POST['bo_content_tail']}',
|
||||||
bo_insert_content = '{$_POST['bo_insert_content']}',
|
bo_insert_content = '{$_POST['bo_insert_content']}',
|
||||||
bo_gallery_cols = '{$_POST['bo_gallery_cols']}',
|
bo_gallery_cols = '{$_POST['bo_gallery_cols']}',
|
||||||
|
bo_mobile_gallery_cols='{$_POST['bo_mobile_gallery_cols']}',
|
||||||
bo_upload_count = '{$_POST['bo_upload_count']}',
|
bo_upload_count = '{$_POST['bo_upload_count']}',
|
||||||
bo_upload_size = '{$_POST['bo_upload_size']}',
|
bo_upload_size = '{$_POST['bo_upload_size']}',
|
||||||
bo_reply_order = '{$_POST['bo_reply_order']}',
|
bo_reply_order = '{$_POST['bo_reply_order']}',
|
||||||
@ -247,6 +248,7 @@ if (is_checked('chk_use_email')) $fields .= " , bo_use_email = '{$bo_use_
|
|||||||
if (is_checked('chk_skin')) $fields .= " , bo_skin = '{$bo_skin}' ";
|
if (is_checked('chk_skin')) $fields .= " , bo_skin = '{$bo_skin}' ";
|
||||||
if (is_checked('chk_mobile_skin')) $fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
|
if (is_checked('chk_mobile_skin')) $fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
|
||||||
if (is_checked('chk_gallery_cols')) $fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
|
if (is_checked('chk_gallery_cols')) $fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
|
||||||
|
if (is_checked('chk_mobile_gallery_cols'))$fields.=" , bo_mobile_gallery_cols = '{$bo_mobile_gallery_cols}' ";
|
||||||
if (is_checked('chk_table_width')) $fields .= " , bo_table_width = '{$bo_table_width}' ";
|
if (is_checked('chk_table_width')) $fields .= " , bo_table_width = '{$bo_table_width}' ";
|
||||||
if (is_checked('chk_page_rows')) $fields .= " , bo_page_rows = '{$bo_page_rows}' ";
|
if (is_checked('chk_page_rows')) $fields .= " , bo_page_rows = '{$bo_page_rows}' ";
|
||||||
if (is_checked('chk_subject_len')) $fields .= " , bo_subject_len = '{$bo_subject_len}' ";
|
if (is_checked('chk_subject_len')) $fields .= " , bo_subject_len = '{$bo_subject_len}' ";
|
||||||
|
|||||||
@ -140,8 +140,8 @@ if ($is_nogood) $colspan++;
|
|||||||
<option value="wr_name,1"<?=get_selected($sfl, 'wr_name,1');?>>글쓴이</option>
|
<option value="wr_name,1"<?=get_selected($sfl, 'wr_name,1');?>>글쓴이</option>
|
||||||
<option value="wr_name,0"<?=get_selected($sfl, 'wr_name,0');?>>글쓴이(코)</option>
|
<option value="wr_name,0"<?=get_selected($sfl, 'wr_name,0');?>>글쓴이(코)</option>
|
||||||
</select>
|
</select>
|
||||||
<input name="stx" class="fs_input required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어(필수)">
|
<input name="stx" class="required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어(필수)">
|
||||||
<input type="submit" class="fs_submit" value="검색">
|
<input type="submit" value="검색">
|
||||||
</form>
|
</form>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|||||||
@ -60,13 +60,13 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
|
|
||||||
<ul id="bo_img_list">
|
<ul id="bo_img_list">
|
||||||
<? for ($i=0; $i<count($list); $i++) {
|
<? for ($i=0; $i<count($list); $i++) {
|
||||||
if($i>0 && ($i % $board['bo_gallery_cols'] == 0))
|
if($i>0 && ($i % $board['bo_mobile_gallery_cols'] == 0))
|
||||||
$style = 'clear:both;';
|
$style = 'clear:both;';
|
||||||
else
|
else
|
||||||
$style = '';
|
$style = '';
|
||||||
if ($i == 0) $k = 0;
|
if ($i == 0) $k = 0;
|
||||||
$k += 1;
|
$k += 1;
|
||||||
if ($k % $board['bo_gallery_cols'] == 0) $style .= "margin:0 !important;";
|
if ($k % $board['bo_mobile_gallery_cols'] == 0) $style .= "margin:0 !important;";
|
||||||
?>
|
?>
|
||||||
<li class="bo_img_list_li <? if ($wr_id == $list[$i]['wr_id']) { ?>bo_img_now<? } ?>" style="<?=$style?>">
|
<li class="bo_img_list_li <? if ($wr_id == $list[$i]['wr_id']) { ?>bo_img_now<? } ?>" style="<?=$style?>">
|
||||||
<? if ($is_checkbox) { ?><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="<?=$list[$i]['subject']?> 선택"><? } ?>
|
<? if ($is_checkbox) { ?><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="<?=$list[$i]['subject']?> 선택"><? } ?>
|
||||||
@ -179,8 +179,8 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
<option value="wr_name,1"<?=get_selected($sfl, "wr_name,1");?>>글쓴이</option>
|
<option value="wr_name,1"<?=get_selected($sfl, "wr_name,1");?>>글쓴이</option>
|
||||||
<option value="wr_name,0"<?=get_selected($sfl, "wr_name,0");?>>글쓴이(코)</option>
|
<option value="wr_name,0"<?=get_selected($sfl, "wr_name,0");?>>글쓴이(코)</option>
|
||||||
</select>
|
</select>
|
||||||
<input name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="fs_input required" size="15" maxlength="15">
|
<input name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="required" size="15" maxlength="15">
|
||||||
<input type="submit" class="fs_submit" value="검색">
|
<input type="submit" value="검색">
|
||||||
</form>
|
</form>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
회원아이디
|
회원아이디
|
||||||
<span id="mb_confirm_id"><?=$member[mb_id]?></span>
|
<span id="mb_confirm_id"><?=$member[mb_id]?></span>
|
||||||
<input type="password" id="mb_confirm_pw" name="mb_password" class="fs_input" maxLength="20" size="15" required placeholder="패스워드(필수)" title="패스워드(필수)">
|
<input type="password" id="mb_confirm_pw" name="mb_password" class="frm_input" maxLength="20" size="15" required placeholder="패스워드(필수)" title="패스워드(필수)">
|
||||||
<input type="submit" id="btn_submit" class="btn_submit" value="확인">
|
<input type="submit" id="btn_submit" class="btn_submit" value="확인">
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|||||||
@ -12,8 +12,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
<option value="w">원글만
|
<option value="w">원글만
|
||||||
<option value="c">코멘트만
|
<option value="c">코멘트만
|
||||||
</select>
|
</select>
|
||||||
<input type="text" id="mb_id" name="mb_id" class="fs_input" value="<?=$mb_id?>" title="검색어(필수)">
|
<input type="text" id="mb_id" name="mb_id" class="required" required value="<?=$mb_id?>" title="검색어(필수)">
|
||||||
<input type="submit" class="fs_submit" value="검색">
|
<input type="submit" value="검색">
|
||||||
</form>
|
</form>
|
||||||
<script>
|
<script>
|
||||||
function select_change()
|
function select_change()
|
||||||
|
|||||||
Reference in New Issue
Block a user