Dotclear

Changeset 3186


Ignore:
Timestamp:
09/18/13 19:04:07 (10 years ago)
Author:
brol
Message:

version 2.2 : compatibilité avec dc2.6 + modif bloc licence + ajout widget (ticket #623)

Location:
plugins/includesubcats
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • plugins/includesubcats/_admin.php

    r3070 r3186  
    44# This file is part of Dotclear 2 "Include subcats" plugin. 
    55# 
    6 # Copyright (c) 2003-2008 Olivier Meunier and contributors 
     6# Copyright (c) 2009-2013 Bruno Hondelatte and contributors 
    77# Licensed under the GPL version 2.0 license. 
    88# See LICENSE file or 
     
    1212if (!defined('DC_CONTEXT_ADMIN')) { exit; } 
    1313 
     14require dirname(__FILE__).'/_widgets.php'; 
     15      
    1416$core->addBehavior('adminBlogPreferencesForm',array('ISCBehaviors','adminBlogPreferencesForm')); 
    1517$core->addBehavior('adminBeforeBlogSettingsUpdate',array('ISCBehaviors','adminBeforeBlogSettingsUpdate')); 
     
    2123          $core->blog->settings->addNamespace('incsubcat'); 
    2224          echo 
    23           '<fieldset><legend>'.__('Sub-categories').'</legend>'. 
     25          '<div class="fieldset"><h4>'.__('Sub-categories').'</h4>'. 
    2426          '<p><label class="classic">'. 
    2527          form::checkbox('incsubcat_enabled','1',$settings->incsubcat->incsubcat_enabled). 
    2628          __('Include sub-categories in category page and category posts feed').'</label></p>'. 
    27           '</fieldset>'; 
     29          '</div>'; 
    2830     } 
    2931      
  • plugins/includesubcats/_define.php

    r3086 r3186  
    44# This file is part of Dotclear 2 "Include subcats" plugin. 
    55# 
    6 # Copyright (c) 2003-2008 Olivier Meunier and contributors 
     6# Copyright (c) 2009-2013 Bruno Hondelatte and contributors 
    77# Licensed under the GPL version 2.0 license. 
    88# See LICENSE file or 
     
    1515     /* Description*/         "Include subcategories in category.html and category feeds", 
    1616     /* Author */             "Bruno Hondelatte", 
    17      /* Version */            '2.1', 
     17     /* Version */            '2.2', 
    1818     /* Permissions */        'usage,contentadmin' 
    1919); 
  • plugins/includesubcats/_public.php

    r3086 r3186  
    44# This file is part of Dotclear 2 "Include subcats" plugin. 
    55# 
    6 # Copyright (c) 2003-2008 Olivier Meunier and contributors 
     6# Copyright (c) 2009-2013 Bruno Hondelatte and contributors 
    77# Licensed under the GPL version 2.0 license. 
    88# See LICENSE file or 
     
    1212if (!defined('DC_RC_PATH')) { return; } 
    1313 
     14require dirname(__FILE__).'/_widgets.php'; 
     15      
    1416$core->blog->settings->addNamespace('incsubcat'); 
    1517if ($core->blog->settings->incsubcat->incsubcat_enabled) { 
  • plugins/includesubcats/locales/fr/main.po

    r561 r3186  
    2121msgid "Include sub-categories in category page and category posts feed" 
    2222msgstr "Inclure les sous-catégories dans les pages de catégories et les flux de billets des catégories" 
     23 
     24#: _widgets.php:20 
     25msgid "SubCategories list" 
     26msgstr "Liste des sous-catégories" 
     27 
     28#: _widgets.php:21 
     29msgid "Title:" 
     30msgstr "" 
     31 
     32#: _widgets.php:22 
     33msgid "With entries counts" 
     34msgstr "Avec le nombre de billets" 
     35 
     36#: _widgets.php:23 
     37msgid "Include sub cats in count" 
     38msgstr "Inclure les billets des sous-catégories dans le nombre de billets" 
Note: See TracChangeset for help on using the changeset viewer.

Sites map