Dotclear


Ignore:
Timestamp:
10/04/13 15:00:41 (12 years ago)
Author:
Dsls
Branch:
default
Message:

updated most of notices to new format, should fix #1710 (maintenance and daInstaller still to be updated)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/index.php

    r2166 r2256  
    4343 
    4444          dcAntispam::delAllSpam($core,$ts); 
    45           http::redirect($p_url.'&del=1'); 
     45 
     46          dcPage::addSuccessNotice(__('Spam comments have been successfully deleted.')); 
     47          http::redirect($p_url); 
    4648     } 
    4749 
     
    8991 
    9092          dcAntispam::$filters->saveFilterOpts($filters_opt); 
    91           http::redirect($p_url.'&upd=1'); 
     93 
     94          dcPage::addSuccessNotice(__('Filters configuration has been successfully saved.')); 
     95          http::redirect($p_url); 
    9296     } 
    9397} 
     
    128132               $page_name => $p_url, 
    129133               sprintf(__('%s filter configuration'),$filter->name) => '' 
    130           )); 
     134          )). 
     135          dcPage::notices(); 
    131136 
    132137     echo '<p><a href="plugin.php?p=antispam" class="back">'.__('Back to filters list').'</a></p>'; 
     
    140145               __('Plugins') => '', 
    141146               $page_name => '' 
    142           )); 
     147          )). 
     148          dcPage::notices(); 
    143149 
    144150     # Information 
     
    150156     '<form action="'.$p_url.'" method="post" class="fieldset">'. 
    151157     '<h3>'.__('Information').'</h3>'; 
    152  
    153      if (!empty($_GET['del'])) { 
    154           dcPage::success(__('Spam comments have been successfully deleted.')); 
    155      } 
    156158 
    157159     echo 
Note: See TracChangeset for help on using the changeset viewer.

Sites map