Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
그누보드4 가져오기 코드에 게시판 모바일 설정 추가 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Dec 7, 2017
1 parent 65eefaf commit 3f37a08
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions g4_import_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,41 @@ function fsearchbox_submit(f)
$comma = '';
$sql_common = '';

// 모바일 스킨 디렉토리
if( ! isset($row['bo_mobile_skin']) ){
$row['bo_mobile_skin'] = 'basic';
}

// 모바일 제목 길이
if( ! isset($row['bo_mobile_subject_len']) ){
$row['bo_mobile_subject_len'] = '30';
}

// 모바일 페이지당 목록 수
if( ! isset($row['bo_mobile_page_rows']) ){
$row['bo_mobile_page_rows'] = '15';
}

// 갤러리 이미지 폭 ( 리스트 )
if( ! isset($row['bo_gallery_width']) ){
$row['bo_gallery_width'] = '174';
}

// 갤러리 이미지 높이 ( 리스트 )
if( ! isset($row['bo_gallery_height']) ){
$row['bo_gallery_height'] = '124';
}

// 모바일 갤러리 이미지 폭 ( 리스트 )
if( ! isset($row['bo_mobile_gallery_width']) ){
$row['bo_mobile_gallery_width'] = '125';
}

// 모바일 갤러리 이미지 높이 ( 리스트 )
if( ! isset($row['bo_mobile_gallery_height']) ){
$row['bo_mobile_gallery_height'] = '100';
}

foreach($row as $key=>$val) {
if(!in_array($key, $columns))
continue;
Expand Down

0 comments on commit 3f37a08

Please sign in to comment.