From 13d59a0c91143fdb557cdf064508ca251717e1ed Mon Sep 17 00:00:00 2001 From: brol Date: Sat, 2 Nov 2013 12:43:11 +0100 Subject: [PATCH] =?UTF-8?q?D=C3=A9bugage,=20test=C3=A9=20sur=20dc2.5=20et?= =?UTF-8?q?=202.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ConstCategoriesPage.php | 18 +++++++++--------- README.md | 6 +++--- _public.php | 2 +- _widgets.php | 6 +++--- default-templates/categories.html | 6 +++--- locales/fr/main.po | 3 --- 6 files changed, 19 insertions(+), 22 deletions(-) diff --git a/ConstCategoriesPage.php b/ConstCategoriesPage.php index e33edff..f843470 100644 --- a/ConstCategoriesPage.php +++ b/ConstCategoriesPage.php @@ -1,14 +1,14 @@ tpl; diff --git a/_widgets.php b/_widgets.php index 85cf503..70a78f8 100644 --- a/_widgets.php +++ b/_widgets.php @@ -42,7 +42,7 @@ class widgetsCategoriesPage { if ($widget->class) { $class = html::escapeHTML($widget->class); } - if ( $widget->content_only) { + if ( !$widget->content_only) { $divB = '
'; $divE = '
'; } @@ -50,7 +50,7 @@ class widgetsCategoriesPage { $title = '

' . html::escapeHTML($widget->title) . '

'; } - return $divB . + return $divB . $title . '