Ticket #2574: 2574.2.diff
| File 2574.2.diff, 1.0 KB (added by , 12 years ago) |
|---|
-
src/templates/default/bbpress/form-topic.php
224 224 225 225 <?php elseif ( bbp_is_forum_closed() ) : ?> 226 226 227 <div id=" no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic">227 <div id="forum-closed-<?php bbp_forum_id(); ?>" class="bbp-forum-closed"> 228 228 <div class="bbp-template-notice"> 229 229 <p><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title() ); ?></p> 230 230 </div> … … 232 232 233 233 <?php else : ?> 234 234 235 <div id="no-topic-<?php bbp_ topic_id(); ?>" class="bbp-no-topic">235 <div id="no-topic-<?php bbp_forum_id(); ?>" class="bbp-no-topic"> 236 236 <div class="bbp-template-notice"> 237 237 <p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p> 238 238 </div>