Dotclear

Changeset 905:ec417c52a4be for plugins


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

Oops, class, not id ! Fixes #1230

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/widgets/_widgets_functions.php

    r904 r905  
    2121           
    2222          return 
    23           '<div id="search'.($w->class ? ' '.html::escapeHTML($w->class) : '').'">'. 
     23          '<div id="search"'.($w->class ? ' class="'.html::escapeHTML($w->class).'"' : '').'>'. 
    2424          ($w->title ? '<h2><label for="q">'.html::escapeHTML($w->title).'</label></h2>' : ''). 
    2525          '<form action="'.$core->blog->url.'" method="get">'. 
     
    3737           
    3838          $res = 
    39           '<div id="topnav'.($w->class ? ' '.html::escapeHTML($w->class) : '').'">'. 
     39          '<div id="topnav"'.($w->class ? ' class="'.html::escapeHTML($w->class).'"' : '').'>'. 
    4040          ($w->title ? '<h2>'.html::escapeHTML($w->title).'</h2>' : ''). 
    4141          '<ul>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map