diff --git a/admin/controllers/edit-user.php b/admin/controllers/edit-user.php index f0705ba4..a3c500ac 100644 --- a/admin/controllers/edit-user.php +++ b/admin/controllers/edit-user.php @@ -14,7 +14,7 @@ function editUser($args) return $dbUsers->setPassword($args); } else { - Alert::set('Passwords are differents.'); + Alert::set('Passwords are differents'); return false; } } @@ -39,7 +39,7 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) } if( editUser($_POST) ) { - Alert::set('User saved successfuly.'); + Alert::set('User saved successfuly'); } } diff --git a/admin/controllers/new-page.php b/admin/controllers/new-page.php index e88da934..7f1084b6 100644 --- a/admin/controllers/new-page.php +++ b/admin/controllers/new-page.php @@ -15,12 +15,12 @@ function addPage($args) // Add the page. if( $dbPages->add($args) ) { - Alert::set('Page added successfuly.'); + Alert::set('Page added successfuly'); Redirect::page('admin', 'manage-pages'); } else { - Alert::set('Error occurred when trying to create the page.'); + Alert::set('Error occurred when trying to create the page'); } } diff --git a/admin/controllers/new-post.php b/admin/controllers/new-post.php index b8e5e2a7..4bfa7d3e 100644 --- a/admin/controllers/new-post.php +++ b/admin/controllers/new-post.php @@ -15,12 +15,12 @@ function addPost($args) // Add the page. if( $dbPosts->add($args) ) { - Alert::set('Post added successfuly.'); + Alert::set('Post added successfuly'); Redirect::page('admin', 'manage-posts'); } else { - Alert::set('Error occurred when trying to create the post.'); + Alert::set('Error occurred when trying to create the post'); } }