Dotclear


Ignore:
Timestamp:
02/22/14 10:04:16 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add widget class on every widget, fixes #1901

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/blogroll/_public.php

    r2662 r2667  
    145145          } 
    146146 
    147           $links = self::getList('<h3>%s</h3>','<ul>%s</ul>','<li%2$s>%1$s</li>',$w->category); 
     147          $links = self::getList($w->renderSubtitle('',false),'<ul>%s</ul>','<li%2$s>%1$s</li>',$w->category); 
    148148 
    149149          if (empty($links)) { 
     
    151151          } 
    152152 
    153           return 
    154           ($w->content_only ? '' : '<div class="links'.($w->class ? ' '.html::escapeHTML($w->class) : '').'">'). 
    155           ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : ''). 
    156           $links. 
    157           ($w->content_only ? '' : '</div>'); 
     153          return $w->renderDiv($w->content_only,'links '.$w->class,'', 
     154               ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : ''). 
     155               $links); 
    158156     } 
    159157} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map