Dotclear


Ignore:
Timestamp:
10/24/12 15:54:49 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add class attribute (applied to encapsulated div) for standard widgets - Fixes #1230

Location:
plugins/tags
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/tags/_define.php

    r897 r904  
    1616     /* Description*/         "Tags for posts", 
    1717     /* Author */             "Olivier Meunier", 
    18      /* Version */            '1.2', 
     18     /* Version */            '1.3', 
    1919     array( 
    2020          'permissions' =>    'usage,contentadmin' 
  • plugins/tags/_public.php

    r863 r904  
    227227           
    228228          $res = 
    229           '<div class="tags">'. 
     229          '<div class="tags'.($w->class ? ' '.html::escapeHTML($w->class) : '').'">'. 
    230230          ($w->title ? '<h2>'.html::escapeHTML($w->title).'</h2>' : ''). 
    231231          '<ul>'; 
  • plugins/tags/_widgets.php

    r270 r904  
    2929          ); 
    3030          $w->tags->setting('alltagslinktitle',__('Link to all tags:'),__('All tags')); 
     31          $w->tags->setting('class',__('CSS class:'),''); 
    3132     } 
    3233      
Note: See TracChangeset for help on using the changeset viewer.

Sites map