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
  • admin/comment.php

    r2166 r2256  
    5757          $core->callBehavior('adminAfterCommentCreate',$cur,$comment_id); 
    5858           
    59           http::redirect($core->getPostAdminURL($rs->post_type,$rs->post_id,false).'&co=1&creaco=1'); 
     59          dcPage::addSuccessNotice(__('Comment has been successfully created.')); 
     60          http::redirect($core->getPostAdminURL($rs->post_type,$rs->post_id,false).'&co=1'); 
    6061     } catch (Exception $e) { 
    6162          $core->error->add($e->getMessage()); 
     
    131132               $core->callBehavior('adminAfterCommentUpdate',$cur,$comment_id); 
    132133                
    133                http::redirect('comment.php?id='.$comment_id.'&upd=1'); 
     134               dcPage::addSuccessNotice(__('Comment has been successfully updated.')); 
     135               http::redirect('comment.php?id='.$comment_id); 
    134136          } 
    135137          catch (Exception $e) 
     
    146148                
    147149               $core->blog->delComment($comment_id); 
    148                http::redirect($core->getPostAdminURL($rs->post_type,$rs->post_id).'&co=1#c'.$comment_id,false); 
     150                
     151               dcPage::addSuccessNotice(__('Comment has been successfully deleted.')); 
     152               http::redirect($core->getPostAdminURL($rs->post_type,$rs->post_id).'&co=1',false); 
    149153          } catch (Exception $e) { 
    150154               $core->error->add($e->getMessage()); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map