Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/28/2011 07:37:22 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Audit the bbp-twentyten theme's actions, HTML, and CSS. See #1702.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-single-reply.php

    r3634 r3651  
    1010?>
    1111
    12     <div class="bbp-reply-header">
    13    
    14         <div class="bbp-meta">
     12<div class="bbp-reply-header">
    1513
    16             <?php printf( __( '%1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?>
     14    <div class="bbp-meta">
    1715
    18             <a href="<?php bbp_reply_url(); ?>" title="<?php bbp_reply_title(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
     16        <?php printf( __( '%1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?>
    1917
    20             <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
     18        <a href="<?php bbp_reply_url(); ?>" title="<?php bbp_reply_title(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
    2119
    22             <?php bbp_reply_admin_links(); ?>
     20        <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
    2321
    24             <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
     22        <?php bbp_reply_admin_links(); ?>
    2523
    26         </div><!-- .bbp-meta -->
    27        
    28     </div><!-- .bbp-reply-header -->
     24        <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
    2925
    30     <div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
     26    </div><!-- .bbp-meta -->
    3127
    32         <div class="bbp-reply-author">
     28</div><!-- .bbp-reply-header -->
    3329
    34             <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
     30<div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
    3531
    36             <?php bbp_reply_author_link( array( 'sep' => '<br />' ) ); ?>
     32    <div class="bbp-reply-author">
    3733
    38             <?php if ( is_super_admin() ) : ?>
     34        <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    3935
    40                 <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
     36        <?php bbp_reply_author_link( array( 'sep' => '<br />' ) ); ?>
    4137
    42                 <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
     38        <?php if ( is_super_admin() ) : ?>
    4339
    44                 <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
     40            <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
    4541
    46             <?php endif; ?>
     42            <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
    4743
    48             <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
     44            <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
    4945
    50         </div><!-- .bbp-reply-author -->
     46        <?php endif; ?>
    5147
    52         <div class="bbp-reply-content">
     48        <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
    5349
    54             <?php do_action( 'bbp_theme_after_reply_content' ); ?>
     50    </div><!-- .bbp-reply-author -->
    5551
    56             <?php bbp_reply_content(); ?>
     52    <div class="bbp-reply-content">
    5753
    58             <?php do_action( 'bbp_theme_before_reply_content' ); ?>
     54        <?php do_action( 'bbp_theme_after_reply_content' ); ?>
    5955
    60         </div><!-- .bbp-reply-content -->
     56        <?php bbp_reply_content(); ?>
    6157
    62     </div><!-- #post-<?php bbp_topic_id(); ?> -->
     58        <?php do_action( 'bbp_theme_before_reply_content' ); ?>
     59
     60    </div><!-- .bbp-reply-content -->
     61
     62</div><!-- #post-<?php bbp_topic_id(); ?> -->
Note: See TracChangeset for help on using the changeset viewer.