From 3704838436cccf14978a98ba1b50091e765c52ba Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 27 May 2019 19:07:02 +0200 Subject: [PATCH] remove button view for draft pages --- bl-kernel/admin/views/content.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index 575dbac7..22189c1f 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -125,7 +125,9 @@ function table($type) { } echo ''.PHP_EOL; + if ($type=='published' || $type=='static' || $type=='sticky') { echo ''.$L->g('View').''.PHP_EOL; + } echo ''.$L->g('Edit').''.PHP_EOL; echo ''.$L->g('Delete').''.PHP_EOL; echo ''; @@ -160,7 +162,9 @@ function table($type) { } echo ''.PHP_EOL; + if ($type=='published' || $type=='static' || $type=='sticky') { echo ''.$L->g('View').''.PHP_EOL; + } echo ''.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { echo ''.$L->g('Delete').''.PHP_EOL;