diff --git a/include/i18n/en_US/help/tips/emails.banlist.yaml b/include/i18n/en_US/help/tips/emails.banlist.yaml index d651d01718e0fda532347300b57e2779bc3ac0eb..64438563fa8f16e4d27fbcee6bd3b565443b2714 100644 --- a/include/i18n/en_US/help/tips/emails.banlist.yaml +++ b/include/i18n/en_US/help/tips/emails.banlist.yaml @@ -13,35 +13,8 @@ # must match the HTML #ids put into the page template. # --- -ban_new_email: - title: Ban New Email - content: > - -banned_email_addresses: +ban_list: title: Banned Email Addresses content: > - (Offer an intro to email address banning here.) - -query_search: - title: Query Search - content: > - -showing_: - title: Showing… - content: > - -email_address: - title: Email Address - content: > - -ban_status: - title: Ban Status - content: > - -date_added: - title: Date Added - content: > - -last_updated: - title: Last Updated - content: > + Emails received from banned email addresses listed in the ban list + will be automatically rejected. diff --git a/include/staff/banlist.inc.php b/include/staff/banlist.inc.php index 9fe6624d38c430ff62d43e841d2763f552ef4114..b059e329683c51456d3b56ec090c39ab902b03ba 100644 --- a/include/staff/banlist.inc.php +++ b/include/staff/banlist.inc.php @@ -46,7 +46,9 @@ $qstr.='&order='.($order=='DESC'?'ASC':'DESC'); $query="$select $from $where ORDER BY $order_by LIMIT ".$pageNav->getStart().",".$pageNav->getLimit(); //echo $query; ?> -<h2>Banned Email Addresses</h2> +<h2>Banned Email Addresses + <i class="help-tip icon-question-sign" href="#ban_list"></i> + </h2> <div style="width:600; float:left;padding-top:5px;"> <form action="banlist.php" method="GET" name="filter"> <input type="hidden" name="a" value="filter" > diff --git a/include/staff/banrule.inc.php b/include/staff/banrule.inc.php index 98771d7372517ef6f5385720ddfd7426e6179428..a1c48f2e3f502015d07206782d60e8954b63a1fa 100644 --- a/include/staff/banrule.inc.php +++ b/include/staff/banrule.inc.php @@ -24,7 +24,9 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); <input type="hidden" name="do" value="<?php echo $action; ?>"> <input type="hidden" name="a" value="<?php echo Format::htmlchars($_REQUEST['a']); ?>"> <input type="hidden" name="id" value="<?php echo $info['id']; ?>"> - <h2>Manage Email Ban List</h2> + <h2>Manage Email Ban Rule + <i class="help-tip icon-question-sign" href="#ban_list"></i> + </h2> <table class="form_table" width="940" border="0" cellspacing="0" cellpadding="2"> <thead> <tr> @@ -35,12 +37,6 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); </tr> </thead> <tbody> - <tr> - <td width="180" class="required"> - Filter Name: - </td> - <td><?php echo $filter->getName(); ?></td> - </tr> <tr> <td width="180" class="required"> Ban Status: diff --git a/include/staff/filters.inc.php b/include/staff/filters.inc.php index 190a15c5b7dec1b322c9d8849fb493581abd9c2b..5e90c32052bb001d00ecd4de6d4d3217ff1453f8 100644 --- a/include/staff/filters.inc.php +++ b/include/staff/filters.inc.php @@ -5,6 +5,7 @@ $qstr=''; $sql='SELECT filter.*,count(rule.id) as rules '. 'FROM '.FILTER_TABLE.' filter '. 'LEFT JOIN '.FILTER_RULE_TABLE.' rule ON(rule.filter_id=filter.id) '. + "WHERE filter.`name` <> 'SYSTEM BAN LIST' ". 'GROUP BY filter.id'; $sortOptions=array('name'=>'filter.name','status'=>'filter.isactive','order'=>'filter.execorder','rules'=>'rules', 'target'=>'filter.target', 'created'=>'filter.created','updated'=>'filter.updated'); diff --git a/scp/banlist.php b/scp/banlist.php index dc6f25fe2c163897fecf0c941881d8d544a5cd5c..4ef80f44d90d73c4dbc43b87f90061c2cfb63699 100644 --- a/scp/banlist.php +++ b/scp/banlist.php @@ -123,7 +123,6 @@ $page='banlist.inc.php'; $tip_namespace = 'emails.banlist'; if(!$filter || ($rule || ($_REQUEST['a'] && !strcasecmp($_REQUEST['a'],'add')))) { $page='banrule.inc.php'; - $tip_namespace = 'emails.manage_banlist'; } $nav->setTabActive('emails');