Ignore:
Timestamp:
Sep 12, 2007, 6:01:54 AM (17 years ago)
Author:
rvelices
Message:

merge -r2088 from branch-1_7 to trunk

  • urls used in http redirections must not be html escaped (eg. should use & instead of &)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/notification_by_mail.php

    r2059 r2089  
    8585      $must_repost = true;
    8686      array_push($page['errors'],
    87         l10n_dec('nbm_background_treatment_redirect_second', 
     87        l10n_dec('nbm_background_treatment_redirect_second',
    8888                 'nbm_background_treatment_redirect_seconds',
    8989                  $time_refresh));
     
    165165      array_push
    166166      (
    167         $inserts, 
     167        $inserts,
    168168        array
    169169        (
     
    176176      array_push
    177177      (
    178         $page['infos'], 
     178        $page['infos'],
    179179        sprintf(
    180           l10n('nbm_user_x_added'), 
    181           $nbm_user['username'], 
     180          l10n('nbm_user_x_added'),
     181          $nbm_user['username'],
    182182          get_email_address_as_display_text($nbm_user['mail_address'])
    183183        )
     
    204204        $result = pwg_query($query);
    205205
    206         redirect($base_url.get_query_string_diff(array()), l10n('nbm_redirect_msg'));
     206        redirect($base_url.get_query_string_diff(array(), false), l10n('nbm_redirect_msg'));
    207207      }
    208208    }
     
    219219  global $conf, $page, $user, $lang_info, $lang, $env_nbm;
    220220  $return_list = array();
    221  
     221
    222222  if (in_array($action, array('list_to_send', 'send')))
    223223  {
     
    314314                  array
    315315                  (
    316                     'DATE_BETWEEN_1' => $nbm_user['last_send'], 
     316                    'DATE_BETWEEN_1' => $nbm_user['last_send'],
    317317                    'DATE_BETWEEN_2' => $dbnow,
    318318                    'END_PUNCT' => $end_punct
     
    422422            }
    423423          }
    424          
     424
    425425          // unset env nbm user
    426426          unset_user_on_env_nbm();
     
    520520        }
    521521      }
    522    
     522
    523523      array_push($page['infos'],
    524524        l10n_dec('nbm_updated_param_count', 'nbm_updated_params_count',
     
    587587     (
    588588      'caption' => l10n('nbm_param_mode'),
    589       'url' => add_url_params($base_url.get_query_string_diff(array('mode', 'select')), 
     589      'url' => add_url_params($base_url.get_query_string_diff(array('mode', 'select')),
    590590        array('mode' => 'param'))
    591591     ),
     
    627627  $template->assign_block_vars
    628628  (
    629     'repost', 
     629    'repost',
    630630      array
    631631      (
Note: See TracChangeset for help on using the changeset viewer.