Changeset 1498240
- Timestamp:
- 09/19/2016 03:44:46 PM (10 years ago)
- Location:
- idea-board/trunk
- Files:
-
- 3 edited
-
assets/css/idea-board.css (modified) (10 diffs)
-
idea-board.php (modified) (1 diff)
-
views/skin/board/basic/comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
idea-board/trunk/assets/css/idea-board.css
r1497916 r1498240 2 2 width: 100%; 3 3 display: block; 4 font-size: .9rem;4 font-size: 12px; 5 5 overflow: hidden; 6 6 font-family: "Malgun Gothic", "Dotum", "Arial", serif; 7 } 8 9 #idea-board * { 10 box-shadow: none; 11 text-shadow: none; 12 line-height: inherit; 7 13 } 8 14 … … 50 56 border-radius: 0; 51 57 line-height: 1; 58 text-shadow: none; 59 border: none; 52 60 } 53 61 … … 65 73 box-shadow: none; 66 74 border-radius: 0; 75 border: none; 67 76 } 68 77 … … 73 82 #idea-board .idea-board-button, 74 83 #idea-board input[type="submit"] { 84 box-shadow: none; 75 85 display: inline-block; 76 86 padding: 8px 12px; … … 95 105 line-height: 1; 96 106 font-weight: bold; 97 font-size: .9rem; 107 text-shadow: none; 108 font-size: 12px; 109 font-family: Malgun Gothic, Arial, serif; 98 110 } 99 111 … … 532 544 533 545 #idea-board #idea-board-comments { 534 font-size: .8rem;546 font-size: 11px; 535 547 overflow: hidden; 536 548 width: 100%; … … 538 550 539 551 #idea-board #idea-board-comments .idea-board-comments-title { 540 font-size: 1rem; 552 font-size: 12px; 553 line-height: inherit; 554 margin: 10px 0; 555 padding: 0; 541 556 } 542 557 … … 554 569 width: 100%; 555 570 clear: both; 556 margin -bottom:5px;571 margin: 0 0 5px; 557 572 line-height: normal; 573 padding: 0; 574 float: none; 558 575 } 559 576 … … 577 594 #idea-board #idea-board-comments .idea-board-comment-list li.idea-board-comment-body a { 578 595 float: right; 579 margin -left:5px;596 margin: 0 0 0 5px; 580 597 text-decoration: none; 581 598 background: #fff; … … 622 639 margin: 10px 0; 623 640 padding: 10px 0; 641 display: block; 642 float: none; 643 line-height: inherit; 644 width: 100%; 645 font-size: 15px; 624 646 } 625 647 -
idea-board/trunk/idea-board.php
r1498215 r1498240 4 4 Plugin URI: http://www.ideapeople.co.kr 5 5 Description: This plugin helps you to add simply a forum for WordPress 6 Version: 0.3.1 6 Version: 0.3.1.1 7 7 Author: ideapeople 8 8 Author URI: http://www.ideapeople.co.kr -
idea-board/trunk/views/skin/board/basic/comments.php
r1498093 r1498240 7 7 * @param $depth 8 8 */ 9 function idea_board_comment_list( $comment, $args, $depth ) { 10 $comment_ID = $comment->comment_ID; ?> 11 <li class="idea-board-comment-body" id="comment-<?php comment_ID() ?>"> 12 <?php if ( '0' == $comment->comment_approved ) : ?> 13 <p class="idea-board-comment-awaiting-moderation"><?php _e_idea_board( 'Comments awaiting approval' ); ?></p> 14 <?php endif; ?> 15 <div class="idea-board-comment-user-avatar"> 16 <?php echo get_avatar( $comment->comment_author_email, 30 ); ?> 17 </div> 18 <div class="idea-board-comment-author"><?php comment_author( $comment_ID ); ?></div> 19 <div class="idea-board-comment-date"><?php comment_date( 'Y-m-d' ); ?></div> 20 <div class="idea-board-comment-content"><?php comment_text( $comment_ID ); ?></div> 9 if ( ! function_exists( 'idea_board_comment_list' ) ): 10 function idea_board_comment_list( $comment, $args, $depth ) { 11 $comment_ID = $comment->comment_ID; ?> 12 <li class="idea-board-comment-body" id="comment-<?php comment_ID() ?>"> 13 <?php if ( '0' == $comment->comment_approved ) : ?> 14 <p class="idea-board-comment-awaiting-moderation"><?php _e_idea_board( 'Comments awaiting approval' ); ?></p> 15 <?php endif; ?> 16 <div class="idea-board-comment-user-avatar"> 17 <?php echo get_avatar( $comment->comment_author_email, 30 ); ?> 18 </div> 19 <div class="idea-board-comment-author"><?php comment_author( $comment_ID ); ?></div> 20 <div class="idea-board-comment-date"><?php comment_date( 'Y-m-d' ); ?></div> 21 <div class="idea-board-comment-content"><?php comment_text( $comment_ID ); ?></div> 21 22 22 <div class="idea-board-comment-buttons"> 23 <?php echo Button::comment_delete_button( $comment_ID ) ?> 24 <?php echo Button::comment_edit_button( $comment_ID ) ?> 25 <?php 26 comment_reply_link( array_merge( $args, array( 27 'depth' => $depth, 28 'max_depth' => $args[ 'max_depth' ] 29 ) ) ); 30 ?> 31 </div> 32 </li> 33 <?php 34 } 23 <div class="idea-board-comment-buttons"> 24 <?php echo Button::comment_delete_button( $comment_ID ) ?> 25 <?php echo Button::comment_edit_button( $comment_ID ) ?> 26 <?php 27 comment_reply_link( array_merge( $args, array( 28 'depth' => $depth, 29 'max_depth' => $args['max_depth'] 30 ) ) ); 31 ?> 32 </div> 33 </li> 34 <?php 35 } 36 endif; 35 37 36 38 ?>
Note: See TracChangeset
for help on using the changeset viewer.