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/simpleMenu/_public.php

    r2662 r2667  
    5252          } 
    5353 
    54           return 
    55                ($w->content_only ? '' : '<div class="simple-menu'.($w->class ? ' '.html::escapeHTML($w->class) : '').'">'). 
    56                ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : '').$menu. 
    57                ($w->content_only ? '' : '</div>'); 
     54          return $w->renderDiv($w->content_only,'simple-menu '.$w->class,'', 
     55               ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : '').$menu); 
    5856     } 
    5957 
Note: See TracChangeset for help on using the changeset viewer.

Sites map