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/aboutConfig/index.php

    r2253 r2256  
    3737               $core->blog->triggerBlog(); 
    3838          } 
    39            
    40           http::redirect($p_url.'&upd=1'); 
     39 
     40          dcPage::addSuccessNotice(__('Configuration successfully updated')); 
     41          http::redirect($p_url); 
    4142     } 
    4243     catch (Exception $e) 
     
    6263          } 
    6364           
    64           http::redirect($p_url.'&upd=1&part=global'); 
     65          dcPage::addSuccessNotice(__('Configuration successfully updated')); 
     66          http::redirect($p_url.'&part=global'); 
    6567     } 
    6668     catch (Exception $e) 
     
    120122          html::escapeHTML($core->blog->name) => '', 
    121123          __('about:config') => '' 
    122      )); 
    123 if (!empty($_GET['upd'])) { 
    124      dcPage::success(__('Configuration successfully updated')); 
    125 } 
    126  
    127 if (!empty($_GET['upda'])) { 
    128      dcPage::success(__('Settings definition successfully updated')); 
    129 } 
     124     )). 
     125     dcPage::notices(); 
    130126?> 
    131127 
Note: See TracChangeset for help on using the changeset viewer.

Sites map