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

    r2254 r2256  
    3636          } 
    3737           
    38           http::redirect($p_url.'&upd=1'); 
     38          dcPage::addSuccessNotice(__('Preferences successfully updated')); 
     39          http::redirect($p_url); 
    3940     } 
    4041     catch (Exception $e) 
     
    5859          } 
    5960           
    60           http::redirect($p_url.'&upd=1&part=global'); 
     61          dcPage::addSuccessNotice(__('Preferences successfully updated')); 
     62          http::redirect($p_url.'&part=global'); 
    6163     } 
    6264     catch (Exception $e) 
     
    116118          html::escapeHTML($core->auth->userID()) => '', 
    117119          __('user:preferences') => '' 
    118      )); 
    119  
    120 if (!empty($_GET['upd'])) { 
    121      dcPage::success(__('Preferences successfully updated')); 
    122 } 
    123  
    124 if (!empty($_GET['upda'])) { 
    125      dcPage::success(__('Preferences definition successfully updated')); 
    126 } 
     120     )). 
     121     dcPage::notices(); 
     122 
    127123?> 
    128124 
Note: See TracChangeset for help on using the changeset viewer.

Sites map