Changeset 526
- Timestamp:
- 11/10/2008 10:31:41 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
bp-core/bp-core-admin.php (modified) (1 diff)
-
bp-wire/bp-wire-templatetags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-admin.php
r516 r526 27 27 <td> 28 28 <input type="radio" name="bp-admin[show-loggedout-adminbar]"<?php if ( (int)get_site_option( 'show-loggedout-adminbar' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-show-loggedout-adminbar-yes" value="1" /> Yes 29 <input type="radio" name="bp-admin[show-loggedout-adminbar]"<?php if ( !(int)get_site_option( 'show-loggedout-adminbar' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-show-loggedout-adminbar- yes" value="0" /> No29 <input type="radio" name="bp-admin[show-loggedout-adminbar]"<?php if ( !(int)get_site_option( 'show-loggedout-adminbar' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-show-loggedout-adminbar-no" value="0" /> No 30 30 </td> 31 31 </tr> 32 <?php if ( function_exists('bp_wire_install') ) { ?> 33 <tr> 34 <th scope="row"><?php _e('Allow non-friends to post on profile wires', 'buddypress') ?>:</th> 35 <td> 36 <input type="radio" name="bp-admin[non-friend-wire-posting]"<?php if ( (int)get_site_option( 'non-friend-wire-posting' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-non-friend-wire-post" value="1" /> Yes 37 <input type="radio" name="bp-admin[non-friend-wire-posting]"<?php if ( !(int)get_site_option( 'non-friend-wire-posting' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-non-friend-wire-post" value="0" /> No 38 </td> 39 </tr> 40 <?php } ?> 32 41 </tbody> 33 42 </table> -
trunk/bp-wire/bp-wire-templatetags.php
r487 r526 42 42 $this->wire_post_count = count($this->wire_posts); 43 43 44 $this->can_post = $can_post; 44 if ( (int)get_site_option('non-friend-wire-posting') && ( $bp['current_component'] == $bp['profile']['slug'] || $bp['current_component'] == $bp['wire']['slug'] ) ) 45 $this->can_post = 1; 46 else 47 $this->can_post = $can_post; 45 48 46 49 $this->pag_links = paginate_links( array(
Note:
See TracChangeset
for help on using the changeset viewer.