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 .= '