Dotclear

Changeset 3381


Ignore:
Timestamp:
03/30/15 18:37:41 (8 years ago)
Author:
brol
Message:

1.9, cf changelog

Location:
plugins/multiToc/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • plugins/multiToc/trunk/_admin.php

    r3352 r3381  
    2121     preg_match('/plugin.php\?p=multiToc(&.*)?$/', 
    2222     $_SERVER['REQUEST_URI']), 
    23      $core->auth->isSuperAdmin() 
     23     $core->auth->check('admin',$core->blog->id) 
    2424); 
    2525 
  • plugins/multiToc/trunk/_define.php

    r3352 r3381  
    1414          /* Description*/         "Makes posts or content's tables of content", 
    1515          /* Author */             "Tomtom, Kozlika, Franck Paul, Pierre Van Glabeke", 
    16           /* Version */            '1.8', 
     16          /* Version */            '1.9', 
    1717     /* Properties */ 
    1818     array( 
  • plugins/multiToc/trunk/_widgets.php

    r3352 r3381  
    1818     public static function initWidgets($w) 
    1919     { 
    20           $w->create('multiToc',__('Table of content'),array('multiTocWidgets','widget')); 
     20          $w->create('multiToc',__('MultiToc: table of content'),array('multiTocWidgets','widget'), 
     21               null, 
     22               __('Contents by category, keyword and alphabetical order')); 
    2123          $w->multiToc->setting('title',__('Title:'),__('Table of content')); 
    2224          $w->multiToc->setting('homeonly',__('Display on:'),0,'combo', 
  • plugins/multiToc/trunk/changelog

    r3352 r3381  
     1v1.9 - 30-03-2015 - Pierre Van Glabeke 
     2* modif droits sur le plugin (superadmin -> admin) 
     3* modif identification widget + localisation 
     4 
    15v1.8 - 06-02-2015 - Pierre Van Glabeke 
    2 modifs bloc licence et divers 
     6* modifs bloc licence et divers 
    37 
    48v1.7 - 20-12-2014 - Pierre Van Glabeke : 
    5 dc2.7 requis 
    6 mise en compatibilité dc2.7 
    7 tickets 668 (http://lab.dotclear.org/ticket/668) et 761 (http://lab.dotclear.org/ticket/761) pris en compte 
    8 modifications icône, localisation, css 
    9 création aide intégrée 
     9* dc2.7 requis 
     10* mise en compatibilité dc2.7 
     11* tickets 668 (http://lab.dotclear.org/ticket/668) et 761 (http://lab.dotclear.org/ticket/761) pris en compte 
     12* modifications icône, localisation, css 
     13* création aide intégrée 
  • plugins/multiToc/trunk/css/multitoc.css

    r3352 r3381  
    3737     list-style: none; 
    3838     padding: 5px; 
     39     background:transparent; 
    3940} 
    4041span.toc-item-date { 
  • plugins/multiToc/trunk/default-templates/currywurst/multitoc.html

    r3315 r3381  
    1313 
    1414<tpl:Block name="head-linkrel"> 
    15      <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    1615     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
    1716      
     
    5251 
    5352<tpl:Block name="main-content"> 
    54                     <div id="content"> 
     53  <div id="content"> 
    5554 
    56                          <div id="content-info"> 
    57                               <tpl:MultiTocIf type="cat"> 
    58                                    <h2>{{tpl:lang Table of content by category}}</h2> 
    59                               </tpl:MultiTocIf> 
    60                               <tpl:MultiTocIf type="alpha"> 
    61                                    <h2>{{tpl:lang Table of content by alpha list}}</h2> 
    62                               </tpl:MultiTocIf> 
    63                               <tpl:MultiTocIf type="tag"> 
    64                                    <h2>{{tpl:lang Table of content by tag}}</h2> 
    65                               </tpl:MultiTocIf> 
    66                               <p class="note">{{tpl:lang Click on each group name to display or hide entries list}}</p> 
    67                          </div> 
     55          <div id="content-info"> 
     56               <tpl:MultiTocIf type="cat"> 
     57                    <h2>{{tpl:lang Table of content by category}}</h2> 
     58               </tpl:MultiTocIf> 
     59               <tpl:MultiTocIf type="alpha"> 
     60                    <h2>{{tpl:lang Table of content by alpha list}}</h2> 
     61               </tpl:MultiTocIf> 
     62               <tpl:MultiTocIf type="tag"> 
     63                    <h2>{{tpl:lang Table of content by tag}}</h2> 
     64               </tpl:MultiTocIf> 
     65               <p class="note">{{tpl:lang Click on each group name to display or hide entries list}}</p> 
     66          </div> 
    6867 
    69                          <div class="content-inner"> 
    70                               <dl id="multitoc"> 
    71                               <tpl:MultiTocGroup> 
    72                                    <dt>{{tpl:MultiTocGroupTitle}} {{tpl:MultiTocGroupCount}}</dt> 
    73                                    <dd> 
    74                                         <div class="toc-group-desc">{{tpl:MultiTocGroupDesc}}</div> 
    75                                         <ul> 
    76                                         <tpl:MultiTocItem> 
    77                                              <li> 
    78                                                   {{tpl:MultiTocItemDate}} 
    79                                                   <a href="{{tpl:MultiTocItemUrl}}">{{tpl:MultiTocItemTitle}}</a> 
    80                                                   {{tpl:MultiTocItemAuthor}} 
    81                                                   {{tpl:MultiTocItemCategory}} 
    82                                                   {{tpl:MultiTocItemNbComments}} 
    83                                                   {{tpl:MultiTocItemNbTrackbacks}} 
    84                                                   <tpl:MultiTocMetaData> 
    85                                                   <tpl:TagsHeader> - <ul class="post-tags-list"></tpl:TagsHeader> 
    86                                                   <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
    87                                                   <tpl:TagsFooter></ul></tpl:TagsFooter> 
    88                                                   </tpl:MultiTocMetaData> 
    89                                              </li> 
    90                                         </tpl:MultiTocItem> 
    91                                         </ul> 
    92                                    </dd> 
    93                               </tpl:MultiTocGroup> 
    94                               </dl> 
    95                          </div> 
     68          <div class="content-inner"> 
     69               <dl id="multitoc"> 
     70               <tpl:MultiTocGroup> 
     71                    <dt>{{tpl:MultiTocGroupTitle}} {{tpl:MultiTocGroupCount}}</dt> 
     72                    <dd> 
     73                         <div class="toc-group-desc">{{tpl:MultiTocGroupDesc}}</div> 
     74                         <ul> 
     75                         <tpl:MultiTocItem> 
     76                              <li> 
     77                              {{tpl:MultiTocItemDate}} 
     78                              <a href="{{tpl:MultiTocItemUrl}}">{{tpl:MultiTocItemTitle}}</a> 
     79                              {{tpl:MultiTocItemAuthor}} 
     80                              {{tpl:MultiTocItemCategory}} 
     81                              {{tpl:MultiTocItemNbComments}} 
     82                              {{tpl:MultiTocItemNbTrackbacks}} 
     83                              <tpl:MultiTocMetaData> 
     84                                <tpl:TagsHeader> - <ul class="post-tags-list"></tpl:TagsHeader> 
     85                                <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
     86                                <tpl:TagsFooter></ul></tpl:TagsFooter> 
     87                                </tpl:MultiTocMetaData> 
     88                              </li> 
     89                         </tpl:MultiTocItem> 
     90                         </ul> 
     91                         </dd> 
     92               </tpl:MultiTocGroup> 
     93               </dl> 
     94      </div> 
    9695 
    97                     </div> 
     96     </div> 
    9897</tpl:Block> 
  • plugins/multiToc/trunk/default-templates/mustek/multitoc.html

    r3315 r3381  
    1010  <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    1111   
    12   <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1312  <meta property="dc.title" content="{{tpl:MultiTocPageTitle}} - {{tpl:BlogName encode_html="1"}}" /> 
    1413  <meta property="dc.language" content="{{tpl:BlogLanguage}}" /> 
     
    2322  <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" /> 
    2423  </tpl:Categories> 
    25  
    26      <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    2724 
    2825  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
  • plugins/multiToc/trunk/locales/fr/main.po

    r3353 r3381  
    1111 
    1212msgid "Makes posts or content's tables of content" 
    13 msgstr "Créer des tables des matières pour une liste de billet ou le contenu d'un billet" 
     13msgstr "Créer des tables des matières pour une liste de billets ou le contenu d'un billet" 
    1414 
    1515#: _admin.php:19 
     
    1818msgid "Tables of content" 
    1919msgstr "Tables des matières" 
     20 
     21msgid "MultiToc: table of content" 
     22msgstr "MultiToc : table des matières" 
     23 
     24msgid "Contents by category, keyword and alphabetical order" 
     25msgstr "Table des matières par catégorie, mot-clé et ordre alphabétique" 
    2026 
    2127#: _prepend.php:45 
Note: See TracChangeset for help on using the changeset viewer.

Sites map