Dotclear

Changeset 3334


Ignore:
Timestamp:
01/20/15 16:43:59 (8 years ago)
Author:
brol
Message:

voir changelog

Location:
plugins/myBlogNumbers
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/myBlogNumbers/CHANGELOG

    r3254 r3334  
     1myBlogNumbers 2015.01.20 - Pierre Van Glabeke 
     2=========================================================== 
     3 * Ajout hors ligne dans widget (dc2.7) 
     4 * Corrections typo 
     5 
    16myBlogNumbers 2013.11.12 
    27=========================================================== 
  • plugins/myBlogNumbers/_define.php

    r3254 r3334  
    2020$this->registerModule( 
    2121     /* Name */ 
    22      "My blog numbers", 
     22     "myBlogNumbers", 
    2323     /* Description*/ 
    2424     "Show some figures of your blog", 
    2525     /* Author */ 
    26      "Jean-Christian Denis", 
     26     "Jean-Christian Denis, Pierre Van Glabeke", 
    2727     /* Version */ 
    28      '2013.11.12', 
     28     '2015.01.20', 
    2929     array( 
    3030          'permissions' => 'usage,contentadmin', 
    3131          'type' => 'plugin', 
    32           'dc_min' => '2.6', 
    33           'support' => 'http://jcd.lv/q=myBlogNumbers', 
     32          'dc_min' => '2.7', 
     33          'support' => 'http://lab.dotclear.org/wiki/plugin/myBlogNumbers', 
    3434          'details' => 'http://plugins.dotaddict.org/dc2/details/myBlogNumbers' 
    3535     ) 
  • plugins/myBlogNumbers/_public.php

    r3254 r3334  
    2727     $s_line = '<li>%s%s</li>'; 
    2828     $s_title = '<strong>%s</strong> '; 
     29 
     30          if ($w->offline) 
     31               return; 
    2932 
    3033     # Home only 
     
    145148 
    146149     # Display 
    147      return  
    148      ($w->content_only ? '' : '<div class="myblognumbers'. 
    149      ($w->class ? ' '.html::escapeHTML($w->class) : '').'"">'). 
    150      ($w->title ? '<h2>'.html::escapeHTML($w->title).'</h2>' : ''). 
    151      '<ul>'.$content.$addons.'</ul>'. 
    152      ($w->content_only ? '' : '</div>'); 
     150          $res = 
     151          ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : ''). 
     152          '<ul>'.$content.$addons.'</ul>'; 
     153 
     154          return $w->renderDiv($w->content_only,'myblognumbers '.$w->class,'',$res); 
    153155} 
  • plugins/myBlogNumbers/_widgets.php

    r3254 r3334  
    152152          '' 
    153153     ); 
     154          $w->myblognumbers->setting('offline',__('Offline'),0,'check'); 
    154155} 
  • plugins/myBlogNumbers/locales/fr/main.po

    r3254 r3334  
    1 # Language: Français 
    2 # Module: myBlogNumbers - 2013.06.29 
    3 # Date: 2013-06-29 01:52:45 
    4 # Translated with translater 2013.05.11 
    5  
    61msgid "" 
    72msgstr "" 
     
    1611 
    1712msgid "Show some figures of your blog" 
    18 msgstr "Afficher quelques chiffres de vote blog" 
     13msgstr "Afficher quelques chiffres de votre blog" 
    1914 
    2015#: _public.php:41 
     
    6055#: _public.php:153 
    6156msgid "no tags" 
    62 msgstr "aucun mot clé" 
     57msgstr "aucun mot-clé" 
    6358 
    6459#: _public.php:157 
    6560msgid "one tag" 
    6661msgid_plural "%s tags" 
    67 msgstr[0] "un mot clé" 
    68 msgstr[1] "%s mots clés" 
     62msgstr[0] "un mot-clé" 
     63msgstr[1] "%s mots-clés" 
    6964 
    7065#: _public.php:177 
     
    133128#: _widgets.php:49 
    134129msgid "Show tags count" 
    135 msgstr "Afficher le nombre de tags" 
     130msgstr "Afficher le nombre de mots-clés" 
    136131 
    137132#: _widgets.php:50 
    138133msgid "Title for tags count:" 
    139 msgstr "Titre pour le nombre de tags :" 
     134msgstr "Titre pour le nombre de mots-clés :" 
     135 
     136msgid "Tags:" 
     137msgstr "Mots-clés :" 
    140138 
    141139#: _widgets.php:55 
Note: See TracChangeset for help on using the changeset viewer.

Sites map