Ignore:
Timestamp:
Apr 20, 2006, 12:16:08 AM (19 years ago)
Author:
rub
Message:

Issue ID 330/337:

o Fix last bugs
o Change class "errors" to class "infos"

Merge BSF r1213:1214 into branch-1_6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/admin/notification_by_mail.php

    r1178 r1215  
    8383      }
    8484      $_POST[$post_keyname] = array_diff($_POST[$post_keyname], $check_key_treated);
    85      
     85
    8686      $must_repost = true;
    8787      array_push($page['errors'], sprintf(l10n('nbm_background_treatment_redirect'), $time_refresh));
     
    228228
    229229    // Check if exist news to list user or send mails
    230     if ((!$is_list_all_without_test == false) or ($is_action_send))
     230    if ((!$is_list_all_without_test) or ($is_action_send))
    231231    {
    232232      if (count($data_users) > 0)
     
    606606
    607607      foreach ($data_users as $num => $nbm_user)
     608      {
     609        if (
     610            (!$must_repost) or // Not timeout, normal treatment
     611            (($must_repost) and in_array($nbm_user['check_key'], $_POST['send_selection']))  // Must be repost, show only user to send
     612            )
     613        {
    608614          $template->assign_block_vars(
    609615            $page['mode'].'.send_data.user_send_mail',
     
    619625              'LAST_SEND'=> $nbm_user['last_send']
    620626              ));
     627        }
     628      }
    621629    }
    622630
Note: See TracChangeset for help on using the changeset viewer.