Plugin Directory

Changeset 1498240


Ignore:
Timestamp:
09/19/2016 03:44:46 PM (10 years ago)
Author:
oternet
Message:

bug_fix

Location:
idea-board/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • idea-board/trunk/assets/css/idea-board.css

    r1497916 r1498240  
    22    width: 100%;
    33    display: block;
    4     font-size: .9rem;
     4    font-size: 12px;
    55    overflow: hidden;
    66    font-family: "Malgun Gothic", "Dotum", "Arial", serif;
     7}
     8
     9#idea-board * {
     10    box-shadow: none;
     11    text-shadow: none;
     12    line-height: inherit;
    713}
    814
     
    5056    border-radius: 0;
    5157    line-height: 1;
     58    text-shadow: none;
     59    border: none;
    5260}
    5361
     
    6573    box-shadow: none;
    6674    border-radius: 0;
     75    border: none;
    6776}
    6877
     
    7382#idea-board .idea-board-button,
    7483#idea-board input[type="submit"] {
     84    box-shadow: none;
    7585    display: inline-block;
    7686    padding: 8px 12px;
     
    95105    line-height: 1;
    96106    font-weight: bold;
    97     font-size: .9rem;
     107    text-shadow: none;
     108    font-size: 12px;
     109    font-family: Malgun Gothic, Arial, serif;
    98110}
    99111
     
    532544
    533545#idea-board #idea-board-comments {
    534     font-size: .8rem;
     546    font-size: 11px;
    535547    overflow: hidden;
    536548    width: 100%;
     
    538550
    539551#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;
    541556}
    542557
     
    554569    width: 100%;
    555570    clear: both;
    556     margin-bottom: 5px;
     571    margin: 0 0 5px;
    557572    line-height: normal;
     573    padding: 0;
     574    float: none;
    558575}
    559576
     
    577594#idea-board #idea-board-comments .idea-board-comment-list li.idea-board-comment-body a {
    578595    float: right;
    579     margin-left: 5px;
     596    margin: 0 0 0 5px;
    580597    text-decoration: none;
    581598    background: #fff;
     
    622639    margin: 10px 0;
    623640    padding: 10px 0;
     641    display: block;
     642    float: none;
     643    line-height: inherit;
     644    width: 100%;
     645    font-size: 15px;
    624646}
    625647
  • idea-board/trunk/idea-board.php

    r1498215 r1498240  
    44Plugin URI: http://www.ideapeople.co.kr
    55Description: This plugin helps you to add simply a forum for WordPress
    6 Version: 0.3.1
     6Version: 0.3.1.1
    77Author: ideapeople
    88Author URI: http://www.ideapeople.co.kr
  • idea-board/trunk/views/skin/board/basic/comments.php

    r1498093 r1498240  
    77 * @param $depth
    88 */
    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>
     9if ( ! 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>
    2122
    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    }
     36endif;
    3537
    3638?>
Note: See TracChangeset for help on using the changeset viewer.