Dotclear

Changeset 3401 for plugins/topWriter


Ignore:
Timestamp:
10/23/16 20:54:52 (7 years ago)
Author:
JcDenis
Message:

topWriter 0.7 - 2016-10-24

  • Mixed svn and hg releases
  • Updated year and links
Location:
plugins/topWriter
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/topWriter/CHANGELOG

    r3336 r3401  
    22=========================================================== 
    33 * literal rank of writer depending of num of com 
     4 
     5topWriter 0.7 - 2016-10-24 
     6=========================================================== 
     7 * Mixed svn and hg releases 
     8 * Updated year and links 
    49 
    510topWriter 0.6 - 23-01-2015 - Pierre Van Glabeke 
  • plugins/topWriter/_admin.php

    r3332 r3401  
    44# This file is part of topWriter, a plugin for Dotclear 2. 
    55#  
    6 # Copyright (c) 2009-2013 Jean-Christian Denis and contributors 
    7 # contact@jcdenis.fr http://jcd.lv 
     6# Copyright (c) 2009-2016 Jean-Christian Denis and contributors 
     7# contact@jcdenis.fr http://jcdenis.net 
    88#  
    99# Licensed under the GPL version 2.0 license. 
  • plugins/topWriter/_define.php

    r3336 r3401  
    44# This file is part of topWriter, a plugin for Dotclear 2. 
    55#  
    6 # Copyright (c) 2009-2013 Jean-Christian Denis and contributors 
    7 # contact@jcdenis.fr http://jcd.lv 
     6# Copyright (c) 2009-2016 Jean-Christian Denis and contributors 
     7# contact@jcdenis.fr http://jcdenis.net 
    88#  
    99# Licensed under the GPL version 2.0 license. 
     
    2626     "Jean-Christian Denis, Pierre Van Glabeke", 
    2727     /* Version */ 
    28      '0.6', 
     28     '0.7', 
    2929     array( 
    3030          'permissions' => 'admin', 
    3131          'type' => 'plugin', 
    32           'dc_min' => '2.6', 
     32          'dc_min' => '2.10', 
    3333          'support' => 'http://lab.dotclear.org/wiki/plugin/topWriter', 
    3434          'details' => 'http://plugins.dotaddict.org/dc2/details/topWriter' 
  • plugins/topWriter/_public.php

    r3332 r3401  
    44# This file is part of topWriter, a plugin for Dotclear 2. 
    55#  
    6 # Copyright (c) 2009-2013 Jean-Christian Denis and contributors 
    7 # contact@jcdenis.fr http://jcd.lv 
     6# Copyright (c) 2009-2016 Jean-Christian Denis and contributors 
     7# contact@jcdenis.fr http://jcdenis.net 
    88#  
    99# Licensed under the GPL version 2.0 license. 
  • plugins/topWriter/_widgets.php

    r3336 r3401  
    44# This file is part of topWriter, a plugin for Dotclear 2. 
    55#  
    6 # Copyright (c) 2009-2013 Jean-Christian Denis and contributors 
    7 # contact@jcdenis.fr http://jcd.lv 
     6# Copyright (c) 2009-2016 Jean-Christian Denis and contributors 
     7# contact@jcdenis.fr http://jcdenis.net 
    88#  
    99# Licensed under the GPL version 2.0 license. 
     
    9090               ) 
    9191          ); 
    92     $w->topcom->setting('content_only',__('Content only'),0,'check'); 
    93     $w->topcom->setting('class',__('CSS class:'),''); 
    94           $w->topcom->setting('offline',__('Offline'),0,'check'); 
     92          $w->topcom->setting( 
     93               'content_only', 
     94               __('Content only'), 
     95               0, 
     96               'check' 
     97          ); 
     98          $w->topcom->setting( 
     99               'class', 
     100               __('CSS class:'), 
     101               '' 
     102          ); 
     103          $w->topcom->setting( 
     104               'offline', 
     105               __('Offline'), 
     106               0, 
     107               'check' 
     108          ); 
    95109 
    96110    #Top entries widget 
     
    153167               ) 
    154168          ); 
    155     $w->toppost->setting('content_only',__('Content only'),0,'check'); 
    156     $w->toppost->setting('class',__('CSS class:'),''); 
    157           $w->toppost->setting('offline',__('Offline'),0,'check'); 
     169          $w->toppost->setting( 
     170               'content_only', 
     171               __('Content only'), 
     172               0, 
     173               'check' 
     174          ); 
     175          $w->toppost->setting( 
     176               'class', 
     177               __('CSS class:'), 
     178               '' 
     179          ); 
     180          $w->toppost->setting( 
     181               'offline', 
     182               __('Offline'), 
     183               0, 
     184               'check' 
     185          ); 
    158186     } 
    159187 
     
    249277          '<ul>'.$content.'</ul>'; 
    250278 
    251           return $w->renderDiv($w->content_only,'topcomments '.$w->class,'',$res); 
     279          return $w->renderDiv( 
     280               $w->content_only, 
     281               'topcomments '.$w->class, 
     282               '', 
     283               $res 
     284          ); 
    252285     } 
    253       
     286 
    254287     public static function topPost($w) 
    255288     { 
     
    333366          '<ul>'.$content.'</ul>'; 
    334367 
    335           return $w->renderDiv($w->content_only,'topentries '.$w->class,'',$res); 
     368          return $w->renderDiv( 
     369               $w->content_only, 
     370               'topentries '.$w->class, 
     371               '', 
     372               $res 
     373          ); 
    336374     } 
    337375 
Note: See TracChangeset for help on using the changeset viewer.

Sites map