Changeset 3308
- Timestamp:
- 12/14/14 15:35:06 (8 years ago)
- Location:
- plugins/bloganniv
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/bloganniv/CHANGELOG.txt
r3291 r3308 21 21 - Modifs affichage pour le widget (remplacement paragraphe par une liste) 22 22 23 == Version 1.4.1 ================================================================23 == Version 1.4.1 : Pierre Van Glabeke ========================================= 24 24 - Ajustements settings 25 25 - Fin de ligne unix 26 26 - complément _define.php 27 28 == Version 1.5 : Pierre Van Glabeke ========================================= 29 - compatibilité dc2.7 -
plugins/bloganniv/_define.php
r3291 r3308 16 16 /* Description*/ "Décompte du nombre de jours avant et après la date anniversaire du blog", 17 17 /* Author */ "Fran6t, Pierre Van Glabeke", 18 /* Version */ '1. 4.1',18 /* Version */ '1.5', 19 19 /* Properties */ 20 20 array( 21 21 'permissions' => 'blogAnniv', 22 22 'type' => 'plugin', 23 'dc_min' => '2. 6',23 'dc_min' => '2.7', 24 24 'support' => 'http://www.myouaibe.com/index.php/post/2007/08/23/Plugin-BlogAnniv-pour-DOTCLEAR-2', 25 25 'details' => 'http://plugins.dotaddict.org/dc2/details/bloganniv' -
plugins/bloganniv/_public.php
r3291 r3308 38 38 { 39 39 global $core; 40 41 if ($w->offline) 42 return; 40 43 41 44 // Si nous sommes pas en page accueil et que c'est coché page accueil uniquement on fait rien … … 120 123 '</li>'; 121 124 } 122 return 123 $res = ($w->content_only ? '' : '<div class="bloganniv'.($w->class ? ' '.html::escapeHTML($w->class) : '').'">'). 124 '<h2>'.$title.'</h2>'.'<ul>'. 125 126 $res = 127 ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : ''). 128 '<ul>'. 125 129 $dispyearborn. 126 130 $dispyear. 127 131 '<li>'.__('Birthday in'). 128 132 ' <span class="annivjrs">'.$nbrejours.'</span> '. 129 __('day(s)').'</li></ul>'. 130 ($w->content_only ? '' : '</div>'); 133 __('day(s)').'</li></ul>'; 134 135 return $w->renderDiv($w->content_only,'bloganniv '.$w->class,'',$res); 136 131 137 } 132 138 } -
plugins/bloganniv/_widgets.php
r3291 r3308 34 34 $w->blogAnniv->setting('content_only',__('Content only'),0,'check'); 35 35 $w->blogAnniv->setting('class',__('CSS class:'),''); 36 $w->blogAnniv->setting('offline',__('Offline'),0,'check'); 36 37 } 37 38 }
Note: See TracChangeset
for help on using the changeset viewer.