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

    r1358 r1399  
    227227     '<p>'.sprintf(__('You can download and install a additional language directly from Dotclear.net. '. 
    228228     'Proposed languages are based on your version: %s.'),'<strong>'.DC_VERSION.'</strong>').'</p>'. 
    229      '<p class="field"><label for="pkg_url" class="classic">'.__('Language:').' '. 
    230      form::combo(array('pkg_url'),$dc_langs_combo).'</label></p>'. 
    231      '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '. 
    232      form::password(array('your_pwd','your_pwd1'),20,255).'</label></p>'. 
    233      '<input type="submit" value="'.__('Install language').'" />'. 
     229     '<p class="field"><label for="pkg_url" class="classic">'.__('Language:').'</label> '. 
     230     form::combo(array('pkg_url'),$dc_langs_combo).'</p>'. 
     231     '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 
     232     form::password(array('your_pwd','your_pwd1'),20,255).'</p>'. 
     233     '<p><input type="submit" value="'.__('Install language').'" />'. 
    234234     $core->formNonce(). 
    235      '</fieldset>'. 
     235     '</p></fieldset>'. 
    236236     '</form>'; 
    237237} 
     
    245245     '<legend>'.__('Upload a zip file').'</legend>'. 
    246246     '<p>'.__('You can install languages by uploading zip files.').'</p>'. 
    247      '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Language zip file:').' '. 
    248      '<input type="file" id="pkg_file" name="pkg_file" /></label></p>'. 
    249      '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '. 
    250      form::password(array('your_pwd','your_pwd2'),20,255).'</label></p>'. 
    251      '<input type="submit" name="upload_pkg" value="'.__('Upload language').'" />'. 
     247     '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Language zip file:').'</label> '. 
     248     '<input type="file" id="pkg_file" name="pkg_file" /></p>'. 
     249     '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 
     250     form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 
     251     '<p><input type="submit" name="upload_pkg" value="'.__('Upload language').'" />'. 
    252252     $core->formNonce(). 
    253      '</fieldset>'. 
     253     '</p></fieldset>'. 
    254254     '</form>'; 
    255255} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map