사용자,모바일: 게시판스킨 추천, 비추천 스타일 보완
This commit is contained in:
@ -591,7 +591,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
#bo_v_act span {display:inline-block;margin-right:5px;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:top}
|
||||
#bo_v_act strong {color:#000}
|
||||
#bo_v_act_good,
|
||||
#bo_v_act_nogood {display:none;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
#bo_v_act_nogood {position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#bo_v form {padding-top:20px}
|
||||
|
||||
|
||||
@ -534,7 +534,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
|
||||
#bo_v_act span {display:inline-block;margin-right:0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:top}
|
||||
#bo_v_act strong {color:#ff3061}
|
||||
#bo_v_act_good,
|
||||
#bo_v_act_nogood {display:none;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#bo_v form {padding-top:1.5em}
|
||||
|
||||
|
||||
@ -82,4 +82,11 @@ var g4_cookie_domain = "<?=G4_COOKIE_DOMAIN?>";
|
||||
<? if (!defined('G4_IS_ADMIN')) { echo $config['cf_add_script']; } ?>
|
||||
</head>
|
||||
<body>
|
||||
<? if ($is_member) { ?><div id="hd_login_msg"><?=$member['mb_nick']?>님 로그인 중</div><? } ?>
|
||||
<?
|
||||
if ($is_member) { // 회원이라면 로그인 중이라는 메세지를 출력해준다.
|
||||
if ($is_admin == 'super') $sr_admin_msg = "최고관리자 ";
|
||||
else if ($is_admin == 'group') $sr_admin_msg = "그룹관리자 ";
|
||||
else if ($is_admin == 'board') $sr_admin_msg = "게시판관리자 ";
|
||||
?>
|
||||
<div id="hd_login_msg"><?=$sr_admin_msg?><?=$member['mb_nick']?>님 로그인 중</div>
|
||||
<? } ?>
|
||||
|
||||
@ -250,9 +250,9 @@ function excute_good(href, $el, $tx)
|
||||
if(data.count) {
|
||||
$el.find("strong").text(number_format(String(data.count)));
|
||||
if($tx.attr("id").search("nogood") > -1) {
|
||||
$tx.text("이 글을 비추천하셨습니다.").css("display", "inline-block");
|
||||
$tx.text("이 글을 비추천하셨습니다.");
|
||||
} else {
|
||||
$tx.text("이 글을 추천하셨습니다.").css("display", "inline-block");
|
||||
$tx.text("이 글을 추천하셨습니다.");
|
||||
}
|
||||
}
|
||||
}, "json"
|
||||
|
||||
@ -250,9 +250,9 @@ function excute_good(href, $el, $tx)
|
||||
if(data.count) {
|
||||
$el.find("strong").text(number_format(String(data.count)));
|
||||
if($tx.attr("id").search("nogood") > -1) {
|
||||
$tx.text("이 글을 비추천하셨습니다.").css("display", "inline-block");
|
||||
$tx.text("이 글을 비추천하셨습니다.");
|
||||
} else {
|
||||
$tx.text("이 글을 추천하셨습니다.").css("display", "inline-block");
|
||||
$tx.text("이 글을 추천하셨습니다.");
|
||||
}
|
||||
}
|
||||
}, "json"
|
||||
|
||||
@ -252,9 +252,9 @@ function excute_good(href, $el, $tx)
|
||||
if(data.count) {
|
||||
$el.find("strong").text(number_format(String(data.count)));
|
||||
if($tx.attr("id").search("nogood") > -1) {
|
||||
$tx.text("이 글을 비추천하셨습니다.").css("display", "inline-block");
|
||||
$tx.text("이 글을 비추천하셨습니다.");
|
||||
} else {
|
||||
$tx.text("이 글을 추천하셨습니다.").css("display", "inline-block");
|
||||
$tx.text("이 글을 추천하셨습니다.");
|
||||
}
|
||||
}
|
||||
}, "json"
|
||||
|
||||
@ -250,9 +250,9 @@ function excute_good(href, $el, $tx)
|
||||
if(data.count) {
|
||||
$el.find("strong").text(number_format(String(data.count)));
|
||||
if($tx.attr("id").search("nogood") > -1) {
|
||||
$tx.text("이 글을 비추천하셨습니다.").css("display", "inline-block");
|
||||
$tx.text("이 글을 비추천하셨습니다.");
|
||||
} else {
|
||||
$tx.text("이 글을 추천하셨습니다.").css("display", "inline-block");
|
||||
$tx.text("이 글을 추천하셨습니다.");
|
||||
}
|
||||
}
|
||||
}, "json"
|
||||
|
||||
Reference in New Issue
Block a user