From bf061d6fffec758fd0d3d0dd1e8a3e9fed858c49 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 28 Jan 2019 20:30:52 +0100 Subject: [PATCH] Bug fix when select the type of the page --- bl-kernel/admin/views/content.php | 6 +++--- bl-kernel/admin/views/edit-content.php | 23 +++++++---------------- bl-kernel/admin/views/new-content.php | 23 +++++++---------------- bl-kernel/functions.php | 15 --------------- bl-kernel/pages.class.php | 6 +++--- 5 files changed, 20 insertions(+), 53 deletions(-) diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index 58642985..2e69283f 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -85,7 +85,7 @@ function table($type) { $friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$page->key() : '/'.$url->filters('page').'/'.$page->key(); echo ''.$friendlyURL.''; - echo ''.PHP_EOL; + echo ''.PHP_EOL; echo ' '.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { echo ''.PHP_EOL; @@ -111,7 +111,7 @@ function table($type) { $friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$child->key() : '/'.$url->filters('page').'/'.$child->key(); echo ''.$friendlyURL.''; - echo ''.PHP_EOL; + echo ''.PHP_EOL; echo ' '.$L->g('Edit').''.PHP_EOL; echo ''.PHP_EOL; echo ''; @@ -143,7 +143,7 @@ function table($type) { $friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$page->key() : '/'.$url->filters('page').'/'.$page->key(); echo ''.$friendlyURL.''; - echo ''.PHP_EOL; + echo ''.PHP_EOL; echo ' '.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { echo ''.PHP_EOL; diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index 74310383..bfbbbd3a 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -83,14 +83,6 @@ echo Bootstrap::formOpen(array(