From efdd2d18453fa261989f179da2e33b4d5be51873 Mon Sep 17 00:00:00 2001 From: Hristo Dipchikov Date: Fri, 5 Aug 2016 11:19:05 +0300 Subject: [PATCH] test --- bl-plugins/latest_posts/plugin.php | 2 +- bl-plugins/pages/plugin.php | 15 ++++++++------- bl-plugins/tags/metadata.json | 8 ++++---- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/bl-plugins/latest_posts/plugin.php b/bl-plugins/latest_posts/plugin.php index d8dc1af5..64b51d46 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 324d5bda..d6738cfa 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'=>true, + 'homeLink'=>1, 'label'=>'Pages' ); } @@ -20,7 +20,8 @@ class pluginPages extends Plugin { $html .= ''; $html .= '
    '; - $html .= 'getDbField('homeLink')?'checked':'').'>'; + $html .= ''; + $html .= 'getDbField('homeLink')?'checked':'').'>'; $html .= ''; $html .= '
    '; @@ -38,15 +39,15 @@ class pluginPages extends Plugin { // Print the label if not empty. $label = $this->getDbField('label'); if( !empty($label) ) { - $html .= '

    '.$label.'

    '; + $html .= '

    '.$label.'

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