사용자: 회원가입스킨, 게시판스킨 읽기

This commit is contained in:
whitedot
2013-01-10 14:16:47 +09:00
parent 9889fbdebf
commit f6dd02944c
3 changed files with 24 additions and 32 deletions

View File

@ -79,18 +79,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<aside id="bo_v_top">
<h2>게시물 상단 링크</h2>
<!-- 링크 버튼 -->
<? if ($update_href || $delete_href) {?>
<ul id="bo_v_my">
<? if ($update_href) { ?><li><a href="<?=$update_href?>" class="btn02">수정</a></li><? } ?>
<? if ($delete_href) { ?><li><a href="<?=$delete_href?>" class="btn02">삭제</a></li><? } ?>
</ul>
<? } ?>
<?
ob_start();
?>
<ul class="bo_v_com">
<? if ($update_href) { ?><li><a href="<?=$update_href?>" class="btn02">수정</a></li><? } ?>
<? if ($delete_href) { ?><li><a href="<?=$delete_href?>" class="btn02">삭제</a></li><? } ?>
<? if ($copy_href) { ?><li><a href="<?=$copy_href?>" class="btn03">복사</a></li><? } ?>
<? if ($move_href) { ?><li><a href="<?=$move_href?>" class="btn03">이동</a></li><? } ?>
<? if ($search_href) { ?><li><a href="<?=$search_href?>" class="btn02">검색</a></li><? } ?>
@ -166,10 +160,10 @@ function file_download(link, file) {
<script>
// 이미지 등비율 리사이징
$(document).ready(function(){
var img = $('article img');
var img = $('#bo_v_article img');
var img_org_width = img.width();
$(window).resize(function(){
var wrapper_width = $('#wrapper').width();
var wrapper_width = $('#bo_v_article').width();
img.each(function() {
var img_width = $(this).width();
if (img_width > wrapper_width) {