Dotclear


Ignore:
Timestamp:
08/16/13 14:16:11 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Semantic xhtml and a11y. Let labels to be labels. Step One: admin. Plugins and Themes will come later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/popup_posts.php

    r1179 r1399  
    5353 
    5454echo '<form action="popup_posts.php" method="post">'. 
    55      '<p><label for"type" class="classic">'.__('Entry type:').' '.form::combo('type',$type_combo,$type).'</label></p>'. 
    56      $core->formNonce(). 
     55     '<p><label for"type" class="classic">'.__('Entry type:').'</label> '.form::combo('type',$type_combo,$type).''. 
     56     $core->formNonce().'</p>'. 
    5757     '<noscript><div><input type="submit" value="'.__('Ok').'" /></div></noscript>'. 
    5858     '</form>'; 
    5959 
    6060echo '<form action="popup_posts.php" method="get">'. 
    61      '<p><label for="q" class="classic">'.__('Search entry:').' '.form::field('q',30,255,html::escapeHTML($q)).'</label> '. 
    62      ' <input type="submit" value="'.__('Search').'" /></p>'. 
     61     '<p><label for="q" class="classic">'.__('Search entry:').'</label> '.form::field('q',30,255,html::escapeHTML($q)). 
     62     ' <input type="submit" value="'.__('Search').'" />'. 
    6363     form::hidden('type',html::escapeHTML($type)). 
    64      '</form>'; 
     64     '</p></form>'; 
    6565 
    6666try { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map