Changeset 4298 for trunk/bp-themes/bp-default/forums/index.php
- Timestamp:
- 04/25/2011 09:22:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/forums/index.php
r4270 r4298 90 90 <?php if ( is_user_logged_in() ) : ?> 91 91 92 <?php if ( bp_ has_groups( 'user_id=' . bp_loggedin_user_id() . '&type=alphabetical&max=100&per_page=100' ) ) : ?>92 <?php if ( bp_is_active( 'groups' ) && bp_has_groups( 'user_id=' . bp_loggedin_user_id() . '&type=alphabetical&max=100&per_page=100' ) ) : ?> 93 93 94 94 <form action="" method="post" id="forum-topic-form" class="standard-form"> … … 138 138 </form><!-- #forum-topic-form --> 139 139 140 <?php else : ?>140 <?php elseif ( bp_is_active( 'groups' ) ) : ?> 141 141 142 142 <div id="message" class="info"> 143 143 144 <p><?php printf( __( "You are not a member of any groups so you don't have any group forums you can post in. To start posting, first find a group that matches the topic subject you'd like to start. If this group does not exist, why not <a href='%s'>create a new group</a>? Once you have joined or created the group you can post your topic in that group's forum.", 'buddypress' ), site_url( BP_GROUPS_SLUG. '/create/' ) ) ?></p>144 <p><?php printf( __( "You are not a member of any groups so you don't have any group forums you can post in. To start posting, first find a group that matches the topic subject you'd like to start. If this group does not exist, why not <a href='%s'>create a new group</a>? Once you have joined or created the group you can post your topic in that group's forum.", 'buddypress' ), site_url( bp_get_groups_root_slug() . '/create/' ) ) ?></p> 145 145 146 146 </div>
Note: See TracChangeset
for help on using the changeset viewer.