Tarea #1021 -> Error al filtrar los grupos privados

git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@116 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-23 16:17:33 +00:00
parent b51292c83c
commit 7a68cefb5a
3 changed files with 6 additions and 8 deletions

View File

@ -86,7 +86,7 @@
<li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li>
</ul>
</label>
<?php if (0) : ?>
<label><input type="radio" name="group-status" value="private"<?php if ( 'private' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> />
<strong><?php _e( 'This is a private group', 'buddypress' ); ?></strong>
<ul>
@ -95,16 +95,15 @@
<li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
</ul>
</label>
<?php if (0) : ?>
<?php endif; ?>
<label><input type="radio" name="group-status" value="hidden"<?php if ( 'hidden' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> />
<strong><?php _e('This is a hidden group', 'buddypress'); ?></strong>
<strong><?php _e( 'This is a hidden group', 'buddypress' ) ?></strong>
<ul>
<li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li>
<li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li>
<li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
</ul>
</label>
<?php endif; ?>
</div>
<hr />

View File

@ -36,7 +36,6 @@
<ul id="groups-list" class="item-list" role="main">
<?php while ( bp_groups() ) : bp_the_group(); ?>
<li>
<div class="item-avatar">
<a href="<?php bp_group_permalink(); ?>"><?php bp_group_avatar( array('width'=>150, 'height'=>150) ); ?></a>

View File

@ -65,7 +65,7 @@
<li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ) ?></li>
</ul>
</label>
<?php if (0) : ?>
<label>
<input type="radio" name="group-status" value="private"<?php bp_group_show_status_setting( 'private' ) ?> />
<strong><?php _e( 'This is a private group', 'buddypress' ) ?></strong>
@ -75,7 +75,7 @@
<li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ) ?></li>
</ul>
</label>
<?php if (0) : ?>
<?php endif; ?>
<label>
<input type="radio" name="group-status" value="hidden"<?php bp_group_show_status_setting( 'hidden' ) ?> />
<strong><?php _e( 'This is a hidden group', 'buddypress' ) ?></strong>
@ -85,7 +85,7 @@
<li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ) ?></li>
</ul>
</label>
<?php endif; ?>
</div>
<hr />