Dotclear

Changeset 2605:323bbdec481d


Ignore:
Timestamp:
12/08/13 14:56:27 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switch all templates to HTML5, step 4, add roles on some widgets and for simpleMenu

Location:
plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/simpleMenu/_public.php

    r2576 r2605  
    127127               // Final rendering 
    128128               if ($ret) { 
    129                     $ret = '<ul '.($id ? 'id="'.$id.'"' : '').' class="simple-menu'.($class ? ' '.$class : '').'">'."\n".$ret."\n".'</ul>'; 
     129                    $ret = '<ul '.($id ? 'id="'.$id.'"' : '').' class="simple-menu'.($class ? ' '.$class : '').'" role="navigation">'."\n".$ret."\n".'</ul>'; 
    130130               } 
    131131          } 
  • plugins/widgets/_widgets_functions.php

    r2565 r2605  
    2929          ($w->content_only ? '' : '<div id="search"'.($w->class ? ' class="'.html::escapeHTML($w->class).'"' : '').'>'). 
    3030          ($w->title ? '<h2><label for="q">'.html::escapeHTML($w->title).'</label></h2>' : ''). 
    31           '<form action="'.$core->blog->url.'" method="get">'. 
     31          '<form action="'.$core->blog->url.'" method="get" role="search">'. 
    3232          '<fieldset>'. 
    3333          '<p><input type="text" size="10" maxlength="255" id="q" name="q" value="'.$value.'" /> '. 
     
    5050          ($w->content_only ? '' : '<div id="topnav"'.($w->class ? ' class="'.html::escapeHTML($w->class).'"' : '').'>'). 
    5151          ($w->title ? '<h2>'.html::escapeHTML($w->title).'</h2>' : ''). 
    52           '<ul>'; 
     52          '<ul role="navigation">'; 
    5353 
    5454          if ($core->url->type != 'default') { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map