Ignore:
Timestamp:
Mar 17, 2010, 5:44:07 PM (14 years ago)
Author:
Eric
Message:

[nbc_HistoryIPExcluder]

  • Removing "NBC" references
  • Display the good plugin's name
  • Database upgrade process for next version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/nbc_HistoryIPExcluder/trunk/admin/HIPE_admin.php

    r5121 r5162  
    2121  $v = str_replace( ",,", ",", $v );
    2222
    23   $conf['nbc_HistoryIPExcluder'] = stripslashes($v);
     23  $conf['HistoryIPExcluder'] = stripslashes($v);
    2424
    2525  $query = '
    2626    UPDATE '.CONFIG_TABLE.'
    27     SET value="'.$conf['nbc_HistoryIPExcluder'].'"
    28     WHERE param="nbc_HistoryIPExcluder"
     27    SET value="'.$conf['HistoryIPExcluder'].'"
     28    WHERE param="HistoryIPExcluder"
    2929    LIMIT 1';
    3030  pwg_query($query);
     
    3535elseif ( isset($_POST['CleanHist']) )
    3636{
    37   $conf_HIPE = explode("," , $conf['nbc_HistoryIPExcluder']);
     37  $conf_HIPE = explode("," , $conf['HistoryIPExcluder']);
    3838
    3939  foreach ( $conf_HIPE as $Exclusion )
     
    197197}
    198198
    199 $conf_HIPE = explode("," , $conf['nbc_HistoryIPExcluder']);
     199$conf_HIPE = explode("," , $conf['HistoryIPExcluder']);
    200200
    201201$template->assign(
    202202  array(
    203     'HIPE_F_ACTION' => PHPWG_ROOT_PATH.'admin.php?page=plugin&section=nbc_HistoryIPExcluder%2Fadmin%2FHIPE_admin.php',
     203    'HIPE_F_ACTION' => PHPWG_ROOT_PATH.'admin.php?page=plugin&section=HistoryIPExcluder%2Fadmin%2FHIPE_admin.php',
    204204    'IPs_EXCLUDED' => implode("\n", $conf_HIPE),
    205205  )
Note: See TracChangeset for help on using the changeset viewer.