Changeset 2256:d3c3fa1723ab for plugins/antispam/index.php
- Timestamp:
- 10/04/13 15:00:41 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/index.php
r2166 r2256 43 43 44 44 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); 46 48 } 47 49 … … 89 91 90 92 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); 92 96 } 93 97 } … … 128 132 $page_name => $p_url, 129 133 sprintf(__('%s filter configuration'),$filter->name) => '' 130 )); 134 )). 135 dcPage::notices(); 131 136 132 137 echo '<p><a href="plugin.php?p=antispam" class="back">'.__('Back to filters list').'</a></p>'; … … 140 145 __('Plugins') => '', 141 146 $page_name => '' 142 )); 147 )). 148 dcPage::notices(); 143 149 144 150 # Information … … 150 156 '<form action="'.$p_url.'" method="post" class="fieldset">'. 151 157 '<h3>'.__('Information').'</h3>'; 152 153 if (!empty($_GET['del'])) {154 dcPage::success(__('Spam comments have been successfully deleted.'));155 }156 158 157 159 echo
Note: See TracChangeset
for help on using the changeset viewer.