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/plugins.php

    r1358 r1399  
    357357     '<fieldset>'. 
    358358     '<legend>'.__('Upload a zip file').'</legend>'. 
    359      '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file:').' '. 
    360      '<input type="file" id="pkg_file" name="pkg_file" /></label></p>'. 
    361      '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '. 
    362      form::password(array('your_pwd','your_pwd1'),20,255).'</label></p>'. 
    363      '<input type="submit" name="upload_pkg" value="'.__('Upload plugin').'" />'. 
     359     '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file:').'</label> '. 
     360     '<input type="file" id="pkg_file" name="pkg_file" /></p>'. 
     361     '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 
     362     form::password(array('your_pwd','your_pwd1'),20,255).'</p>'. 
     363     '<p><input type="submit" name="upload_pkg" value="'.__('Upload plugin').'" />'. 
    364364     $core->formNonce(). 
    365      '</fieldset>'. 
     365     '</p></fieldset>'. 
    366366     '</form>'; 
    367367      
     
    371371     '<fieldset>'. 
    372372     '<legend>'.__('Download a zip file').'</legend>'. 
    373      '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file URL:').' '. 
    374      form::field(array('pkg_url','pkg_url'),40,255).'</label></p>'. 
    375      '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '. 
    376      form::password(array('your_pwd','your_pwd2'),20,255).'</label></p>'. 
     373     '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file URL:').'</label> '. 
     374     form::field(array('pkg_url','pkg_url'),40,255).'</p>'. 
     375     '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 
     376     form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 
    377377     '<input type="submit" name="fetch_pkg" value="'.__('Download plugin').'" />'. 
    378378     $core->formNonce(). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map