- Cambio en BP para que no mande los correos como noreply@asong2u.com
- Tarea #1045 => Errores en los textos de la invitación a un grupo git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@146 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
947dc114a9
commit
03a7fc3a45
@ -270,7 +270,7 @@ function invite_anyone_setup_nav() {
|
||||
|
||||
/* Add 'Send Invites' to the main user profile navigation */
|
||||
bp_core_new_nav_item( array(
|
||||
'name' => __( 'Send Invites', 'buddypress' ),
|
||||
'name' => __( 'Send invitations', 'buddypress' ),
|
||||
'slug' => $bp->invite_anyone->slug,
|
||||
'position' => 80,
|
||||
'screen_function' => 'invite_anyone_screen_one',
|
||||
@ -612,7 +612,7 @@ function invite_anyone_screen_one_content() {
|
||||
<li>
|
||||
<input type="checkbox" name="invite_anyone_groups[]" id="invite_anyone_groups-<?php bp_group_id() ?>" value="<?php bp_group_id() ?>" <?php if ( $from_group == bp_get_group_id() || array_search( bp_get_group_id(), $returned_groups) ) : ?>checked<?php endif; ?> />
|
||||
|
||||
<label for="invite_anyone_groups-<?php bp_group_id() ?>" class="invite-anyone-group-name"><?php bp_group_avatar_mini() ?> <span><?php bp_group_name() ?></span></label>
|
||||
<label for="invite_anyone_groups-<?php bp_group_id() ?>" class="invite-anyone-group-name"><?php echo bp_get_group_avatar( 'type=full&width=100&height=100' ) ?> <span><?php bp_group_name() ?></span></label>
|
||||
|
||||
</li>
|
||||
<?php endwhile; ?>
|
||||
@ -628,7 +628,7 @@ function invite_anyone_screen_one_content() {
|
||||
</ol>
|
||||
|
||||
<div class="submit">
|
||||
<input type="submit" name="invite-anyone-submit" id="invite-anyone-submit" value="<?php _e( 'Send Invites', 'buddypress' ) ?> " />
|
||||
<input type="submit" name="invite-anyone-submit" id="invite-anyone-submit" value="<?php _e( 'Send invitations', 'buddypress' ) ?> " />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@ -792,4 +792,15 @@ function gp_get_total_unread_dedications() {
|
||||
else return 0;
|
||||
}
|
||||
|
||||
function set_from_email($email) {
|
||||
/*$new_email = $email;
|
||||
if ($email == 'noreply@asong2u.com') :*/
|
||||
$new_email = 'asong2u@asong2u.com';
|
||||
//endif;
|
||||
return $new_email;
|
||||
}
|
||||
add_filter('wp_mail_from', 'set_from_email');
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user