Changeset 2256:d3c3fa1723ab for admin/comment.php
- Timestamp:
- 10/04/13 15:00:41 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comment.php
r2166 r2256 57 57 $core->callBehavior('adminAfterCommentCreate',$cur,$comment_id); 58 58 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'); 60 61 } catch (Exception $e) { 61 62 $core->error->add($e->getMessage()); … … 131 132 $core->callBehavior('adminAfterCommentUpdate',$cur,$comment_id); 132 133 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); 134 136 } 135 137 catch (Exception $e) … … 146 148 147 149 $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); 149 153 } catch (Exception $e) { 150 154 $core->error->add($e->getMessage());
Note: See TracChangeset
for help on using the changeset viewer.