From 5562c16a67295bb4042390d085bd593f644461d8 Mon Sep 17 00:00:00 2001 From: Hristo Dipchikov Date: Mon, 8 Aug 2016 09:13:31 +0300 Subject: [PATCH] Revert "test" This reverts commit efdd2d18453fa261989f179da2e33b4d5be51873. --- bl-plugins/latest_posts/plugin.php | 2 +- bl-plugins/pages/plugin.php | 15 +++++++-------- bl-plugins/tags/metadata.json | 8 ++++---- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/bl-plugins/latest_posts/plugin.php b/bl-plugins/latest_posts/plugin.php index 64b51d46..d8dc1af5 100644 --- a/bl-plugins/latest_posts/plugin.php +++ b/bl-plugins/latest_posts/plugin.php @@ -45,7 +45,7 @@ class pluginLatestPosts extends Plugin { foreach($posts as $Post) { - $html .= '
  • '; + $html .= '
  • '; $html .= ''.$Post->title().''; $html .= '
  • '; } diff --git a/bl-plugins/pages/plugin.php b/bl-plugins/pages/plugin.php index d6738cfa..324d5bda 100644 --- a/bl-plugins/pages/plugin.php +++ b/bl-plugins/pages/plugin.php @@ -5,7 +5,7 @@ class pluginPages extends Plugin { public function init() { $this->dbFields = array( - 'homeLink'=>1, + 'homeLink'=>true, 'label'=>'Pages' ); } @@ -20,8 +20,7 @@ class pluginPages extends Plugin { $html .= ''; $html .= '
    '; - $html .= ''; - $html .= 'getDbField('homeLink')?'checked':'').'>'; + $html .= 'getDbField('homeLink')?'checked':'').'>'; $html .= ''; $html .= '
    '; @@ -39,15 +38,15 @@ class pluginPages extends Plugin { // Print the label if not empty. $label = $this->getDbField('label'); if( !empty($label) ) { - $html .= '

    '.$label.'

    '; + $html .= '

    '.$label.'

    '; } $html .= '
    '; - $html .= '