Dotclear

Changeset 3308


Ignore:
Timestamp:
12/14/14 15:35:06 (8 years ago)
Author:
brol
Message:

v1.5 cf changelog

Location:
plugins/bloganniv
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • plugins/bloganniv/CHANGELOG.txt

    r3291 r3308  
    2121- Modifs affichage pour le widget (remplacement paragraphe par une liste) 
    2222 
    23 == Version 1.4.1 ================================================================ 
     23== Version 1.4.1 : Pierre Van Glabeke ========================================= 
    2424- Ajustements settings 
    2525- Fin de ligne unix 
    2626- complément _define.php 
     27 
     28== Version 1.5 : Pierre Van Glabeke ========================================= 
     29- compatibilité dc2.7 
  • plugins/bloganniv/_define.php

    r3291 r3308  
    1616     /* Description*/         "Décompte du nombre de jours avant et après la date anniversaire du blog", 
    1717     /* Author */             "Fran6t, Pierre Van Glabeke", 
    18      /* Version */            '1.4.1', 
     18     /* Version */            '1.5', 
    1919     /* Properties */ 
    2020     array( 
    2121          'permissions' => 'blogAnniv', 
    2222          'type' => 'plugin', 
    23           'dc_min' => '2.6', 
     23          'dc_min' => '2.7', 
    2424          'support' => 'http://www.myouaibe.com/index.php/post/2007/08/23/Plugin-BlogAnniv-pour-DOTCLEAR-2', 
    2525          'details' => 'http://plugins.dotaddict.org/dc2/details/bloganniv' 
  • plugins/bloganniv/_public.php

    r3291 r3308  
    3838     { 
    3939          global $core; 
     40 
     41          if ($w->offline) 
     42               return; 
    4043           
    4144          // Si nous sommes pas en page accueil et que c'est coché page accueil uniquement on fait rien 
     
    120123      '</li>'; 
    121124          } 
    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>'. 
    125129          $dispyearborn. 
    126130          $dispyear. 
    127131          '<li>'.__('Birthday in'). 
    128132    ' <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 
    131137     } 
    132138} 
  • plugins/bloganniv/_widgets.php

    r3291 r3308  
    3434    $w->blogAnniv->setting('content_only',__('Content only'),0,'check'); 
    3535    $w->blogAnniv->setting('class',__('CSS class:'),''); 
     36          $w->blogAnniv->setting('offline',__('Offline'),0,'check'); 
    3637     } 
    3738} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map