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/install/index.php

    r1280 r1399  
    320320     '<form action="index.php" method="post">'. 
    321321     '<fieldset><legend>'.__('User information').'</legend>'. 
    322      '<p><label for="u_firstname">'.__('First Name:').' '. 
    323      form::field('u_firstname',30,255,html::escapeHTML($u_firstname)).'</label></p>'. 
    324      '<p><label for="u_name">'.__('Last Name:').' '. 
    325      form::field('u_name',30,255,html::escapeHTML($u_name)).'</label></p>'. 
    326      '<p><label for="u_email">'.__('Email:').' '. 
    327      form::field('u_email',30,255,html::escapeHTML($u_email)).'</label></p>'. 
     322     '<p><label for="u_firstname">'.__('First Name:').'</label> '. 
     323     form::field('u_firstname',30,255,html::escapeHTML($u_firstname)).'</p>'. 
     324     '<p><label for="u_name">'.__('Last Name:').'</label> '. 
     325     form::field('u_name',30,255,html::escapeHTML($u_name)).'</p>'. 
     326     '<p><label for="u_email">'.__('Email:').'</label> '. 
     327     form::field('u_email',30,255,html::escapeHTML($u_email)).'</p>'. 
    328328     '</fieldset>'. 
    329329      
    330330     '<fieldset><legend>'.__('Username and password').'</legend>'. 
    331      '<p><label for="u_login" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').' '. 
    332      form::field('u_login',30,32,html::escapeHTML($u_login)).'</label></p>'. 
    333      '<p><label for="u_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Password:').' '. 
    334      form::password('u_pwd',30,255).'</label></p>'. 
    335      '<p><label for="u_pwd2" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Confirm password:').' '. 
    336      form::password('u_pwd2',30,255).'</label></p>'. 
     331     '<p><label for="u_login" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').'</label> '. 
     332     form::field('u_login',30,32,html::escapeHTML($u_login)).'</p>'. 
     333     '<p><label for="u_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Password:').'</label> '. 
     334     form::password('u_pwd',30,255).'</p>'. 
     335     '<p><label for="u_pwd2" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Confirm password:').'</label> '. 
     336     form::password('u_pwd2',30,255).'</p>'. 
    337337     '</fieldset>'. 
    338338      
Note: See TracChangeset for help on using the changeset viewer.

Sites map