사용자,모바일: #367 에 따른 갤러리게시판스킨 no image 스타일 보완
This commit is contained in:
@ -509,7 +509,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
.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:10em}
|
||||
.bo_img_href span {display: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}
|
||||
|
||||
@ -447,7 +447,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
|
||||
.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:10em}
|
||||
.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}
|
||||
|
||||
@ -84,7 +84,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<a href="<?=$list[$i]['href']?>">
|
||||
<?
|
||||
if ($list[$i]['is_notice']) { // 공지사항 ?>
|
||||
<strong>공지</strong>
|
||||
<strong style="width:<?=$board['bo_mobile_gallery_width']?>px;height:<?=$board['bo_mobile_gallery_height']?>px">공지</strong>
|
||||
<?
|
||||
} else {
|
||||
$file = get_list_file($bo_table, $list[$i]['wr_id']);
|
||||
@ -95,7 +95,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
$imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
|
||||
$img_content = '<img src="'.$imgsrc.'" alt="'.$file['bf_content'].'" width="'.$board['bo_mobile_gallery_width'].'" height="'.$board['bo_mobile_gallery_height'].'">';
|
||||
} else {
|
||||
$img_content = '<span class="">no image</span>';
|
||||
$img_content = '<span style="width:'.$board['bo_mobile_gallery_width'].'px;height:'.$board['bo_mobile_gallery_height'].'px">no image</span>';
|
||||
}
|
||||
|
||||
echo $img_content;
|
||||
|
||||
@ -83,7 +83,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<a href="<?=$list[$i]['href']?>">
|
||||
<?
|
||||
if ($list[$i]['is_notice']) { // 공지사항 ?>
|
||||
<strong>공지</strong>
|
||||
<strong style="width:<?=$board['bo_gallery_width']?>px;height:<?=$board['bo_gallery_height']?>px">공지</strong>
|
||||
<?
|
||||
} else {
|
||||
$file = get_list_file($bo_table, $list[$i]['wr_id']);
|
||||
@ -94,7 +94,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
$imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
|
||||
$img_content = '<img src="'.$imgsrc.'" alt="'.$file['bf_content'].'" width="'.$board['bo_gallery_width'].'" height="'.$board['bo_gallery_height'].'">';
|
||||
} else {
|
||||
$img_content = '<span>no image</span>';
|
||||
$img_content = '<span style="width:'.$board['bo_gallery_width'].'px;height:'.$board['bo_gallery_height'].'px">no image</span>';
|
||||
}
|
||||
|
||||
echo $img_content;
|
||||
|
||||
Reference in New Issue
Block a user