Changeset 3158
- Timestamp:
- 08/04/13 17:29:04 (10 years ago)
- Location:
- plugins/shortArchives
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/shortArchives/_define.php
r3150 r3158 17 17 /* Description*/ "Display complete archives of your blog displayed in an accordion", 18 18 /* Author */ "annso, Pierre Van Glabeke", 19 /* Version */ '1. 3',19 /* Version */ '1.4', 20 20 /* Permissions */ 'usage,contentadmin' 21 21 ); -
plugins/shortArchives/_public.php
r3150 r3158 56 56 'nbpost' => $rs->nb_post); 57 57 } 58 59 $res = 60 '<div class="shortArchives">'. 58 59 $res = ($w->content_only ? '' : '<div class="shortArchives'.($w->class ? ' '.html::escapeHTML($w->class) : '').'">'). 61 60 ($w->title ? '<h2>'.html::escapeHTML($w->title).'</h2>' : ''). 62 61 '<ul>'; … … 71 70 $res .= '</ul></li>'; 72 71 } 73 $res .= '</ul></div>'; 72 $res .= '</ul>'. 73 ($w->content_only ? '' : '</div>'); 74 74 75 75 return $res; -
plugins/shortArchives/_widgets.php
r3150 r3158 28 28 ) 29 29 ); 30 $w->shortArchives->setting('content_only',__('Content only'),0,'check'); 31 $w->shortArchives->setting('class',__('CSS class:'),''); 30 32 } 31 33 }
Note: See TracChangeset
for help on using the changeset viewer.