From 7ae2d9749cc4f3da11bbcffb19906adf144476c4 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Fri, 11 Aug 2017 21:22:26 +0200 Subject: [PATCH] External Cover Image --- bl-kernel/admin/controllers/new-page.php | 5 ++--- bl-kernel/admin/views/edit-page.php | 18 +++++++++++++++++- bl-kernel/admin/views/new-page.php | 9 +++++++++ bl-kernel/functions.php | 20 ++++++++++++++++---- bl-kernel/page.class.php | 12 +++++++++--- 5 files changed, 53 insertions(+), 11 deletions(-) diff --git a/bl-kernel/admin/controllers/new-page.php b/bl-kernel/admin/controllers/new-page.php index 528372cc..e5395b93 100644 --- a/bl-kernel/admin/controllers/new-page.php +++ b/bl-kernel/admin/controllers/new-page.php @@ -16,9 +16,8 @@ // POST Method // ============================================================================ -if( $_SERVER['REQUEST_METHOD'] == 'POST' ) -{ - if( createPage($_POST)!==false ) { +if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { + if (createPage($_POST)!==false) { Alert::set( $Language->g('Page added successfully') ); } diff --git a/bl-kernel/admin/views/edit-page.php b/bl-kernel/admin/views/edit-page.php index bae9afa1..a8aa4ae9 100644 --- a/bl-kernel/admin/views/edit-page.php +++ b/bl-kernel/admin/views/edit-page.php @@ -94,7 +94,14 @@ echo '
'; echo '