Changeset 2343 for trunk/bp-groups/bp-groups-templatetags.php
- Timestamp:
- 01/18/2010 08:00:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r2339 r2343 711 711 } 712 712 713 function bp_group_show_wire_setting( $group = false ) {714 global $groups_template;715 716 if ( !$group )717 $group =& $groups_template->group;718 719 if ( $group->enable_wire )720 echo ' checked="checked"';721 }722 723 function bp_group_is_wire_enabled( $group = false ) {724 global $groups_template;725 726 if ( !$group )727 $group =& $groups_template->group;728 729 if ( $group->enable_wire )730 return true;731 732 return false;733 }734 735 713 function bp_group_forum_permalink( $deprecated = false ) { 736 714 echo bp_get_group_forum_permalink(); … … 1613 1591 global $bp; 1614 1592 return apply_filters( 'bp_get_new_group_news', $bp->groups->current_group->news ); 1615 }1616 1617 function bp_new_group_enable_wire() {1618 echo bp_get_new_group_enable_wire();1619 }1620 function bp_get_new_group_enable_wire() {1621 global $bp;1622 return (int) apply_filters( 'bp_get_new_group_enable_wire', $bp->groups->current_group->enable_wire );1623 1593 } 1624 1594
Note: See TracChangeset
for help on using the changeset viewer.