添加评论回复

This commit is contained in:
fen 2013-10-16 11:31:16 +08:00
parent 1dfcba6188
commit 85b6b48db4
2 changed files with 13 additions and 4 deletions

View File

@ -959,9 +959,12 @@ margin-top: 25px;
.typecho-option-tabs a {
display: block;
margin-right: -1px;
border: 1px solid #D9D9D6;
padding: 0 15px;
height: 30px;
line-height: 30px;
height: 24px;
line-height: 24px;
color: #666;
}
.typecho-option-tabs a:hover {
background-color: #E9E9E6;
@ -978,8 +981,7 @@ margin-top: 25px;
}
.typecho-option-tabs li.current a {
background-color: #467B96;
color: #FFF;
background-color: #E9E9E6;
}
.typecho-option-tabs li:hover, .typecho-option-tabs li.current {
@ -1155,10 +1157,13 @@ a.operate-reply {
/**
* 评论管理
*/
.comment-content {
margin: -0.5em 0;
}
.comment-meta span,
.comment-date {
font-size: .92857em;
color: #999;
}

View File

@ -121,6 +121,10 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
<div class="comment-content">
<?php $comments->content(); ?>
</div>
<form action="post" class="comment-reply">
<p><textarea name="" id="" class="w-90" rows="3"></textarea></p>
<p><button type="submit" class="btn-s">提交回复</button></p>
</form>
<div class="comment-action hidden-by-mouse">
<?php if('approved' == $comments->status): ?>
<span class="weak"><?php _e('通过'); ?></span>