Ignore:
Timestamp:
11/26/13 21:54:07 (6 years ago)
Author:
mistic100
Message:

remove is_adviser() and get_email_address_as_display_text()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/notification_by_mail.php

    r25360 r25729  
    170170        'User %s [%s] added.', 
    171171        stripslashes($nbm_user['username']), 
    172         get_email_address_as_display_text($nbm_user['mail_address']) 
     172        $nbm_user['mail_address'] 
    173173        ); 
    174174    } 
     
    647647      if (get_boolean($nbm_user['enabled'])) 
    648648      { 
    649         $opt_true[ $nbm_user['check_key'] ] = stripslashes($nbm_user['username']).'['.get_email_address_as_display_text($nbm_user['mail_address']).']'; 
     649        $opt_true[ $nbm_user['check_key'] ] = stripslashes($nbm_user['username']).'['.$nbm_user['mail_address'].']'; 
    650650        if ((isset($_POST['falsify']) and isset($_POST['cat_true']) and in_array($nbm_user['check_key'], $_POST['cat_true']))) 
    651651        { 
     
    655655      else 
    656656      { 
    657         $opt_false[ $nbm_user['check_key'] ] = stripslashes($nbm_user['username']).'['.get_email_address_as_display_text($nbm_user['mail_address']).']'; 
     657        $opt_false[ $nbm_user['check_key'] ] = stripslashes($nbm_user['username']).'['.$nbm_user['mail_address'].']'; 
    658658        if (isset($_POST['trueify']) and isset($_POST['cat_false']) and in_array($nbm_user['check_key'], $_POST['cat_false'])) 
    659659        { 
     
    701701                            )   ? '' : 'checked="checked"', 
    702702              'USERNAME'=> stripslashes($nbm_user['username']), 
    703               'EMAIL' => get_email_address_as_display_text($nbm_user['mail_address']), 
     703              'EMAIL' => $nbm_user['mail_address'], 
    704704              'LAST_SEND'=> $nbm_user['last_send'] 
    705705              ); 
Note: See TracChangeset for help on using the changeset viewer.