Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/22/2011 02:51:12 PM (14 years ago)
Author:
djpaul
Message:

Fix logic when posting a topic from the forum directory, so that validation errors are shown. Show post form automatically if form validation failed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/forums/index.php

    r4009 r4232  
    8888            <?php do_action( 'bp_before_new_topic_form' ); ?>
    8989
    90             <div id="new-topic-post" style="display: none;">
     90            <div id="new-topic-post">
    9191
    9292                <?php if ( is_user_logged_in() ) : ?>
     
    100100                            <a name="post-new"></a>
    101101                            <h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5>
     102
     103                            <?php do_action( 'template_notices' ); ?>
    102104
    103105                            <label><?php _e( 'Title:', 'buddypress' ); ?></label>
Note: See TracChangeset for help on using the changeset viewer.