Changeset 2198:e9f1e3b6a3ad for plugins/widgets
- Timestamp:
- 10/02/13 09:43:49 (12 years ago)
- Branch:
- default
- Location:
- plugins/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/_default_widgets.php
r1610 r2198 50 50 $__widgets->categories->setting('title',__('Title:'),__('Categories')); 51 51 $__widgets->categories->setting('postcount',__('With entries counts'),0,'check'); 52 $__widgets->categories->setting('subcatscount', __('Include sub cats in count'), false, 'check'); 52 53 $__widgets->categories->setting('with_empty',__('Include empty categories'),0,'check'); 53 54 $__widgets->categories->setting('homeonly',__('Display on:'),0,'combo', -
plugins/widgets/_widgets_functions.php
r1610 r2198 108 108 '<a href="'.$core->blog->url.$core->url->getURLFor('category', $rs->cat_url).'">'. 109 109 html::escapeHTML($rs->cat_title).'</a>'. 110 ($w->postcount ? ' <span>('. $rs->nb_post.')</span>' : '');110 ($w->postcount ? ' <span>('.($w->subcatscount ? $rs->nb_total : $rs->nb_post).')</span>' : ''); 111 111 112 112
Note: See TracChangeset
for help on using the changeset viewer.