Dotclear


Ignore:
Timestamp:
06/30/11 14:58:00 (14 years ago)
Author:
Tomtom33 <tbouron@…>
Branch:
formfilters
Message:

Fixed tables in admin pages - step 1, addresses #1068,#1069

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/langs.php

    r66 r456  
    173173{ 
    174174     echo 
    175      '<table class="clear plugins"><tr>'. 
    176      '<th>'.__('Language').'</th>'. 
    177      '<th class="nowrap">'.__('Action').'</th>'. 
    178      '</tr>'; 
     175     '<table class="clear plugins">'. 
     176     '<thead><tr>'. 
     177     '<th scope="col">'.__('Language').'</th>'. 
     178     '<th scope="col" class="nowrap">'.__('Action').'</th>'. 
     179     '</tr></thead>'. 
     180     '<tbody>'; 
    179181      
    180182     foreach ($locales_content as $k => $v) 
     
    184186          echo 
    185187          '<tr class="line wide">'. 
    186           '<td class="maximal nowrap">('.$k.') '. 
    187           '<strong>'.html::escapeHTML($iso_codes[$k]).'</strong></td>'. 
     188          '<th scope="row" class="maximal nowrap">('.$k.') '. 
     189          '<strong>'.html::escapeHTML($iso_codes[$k]).'</strong></th>'. 
    188190          '<td class="nowrap action">'; 
    189191           
     
    202204          echo '</td></tr>'; 
    203205     } 
    204      echo '</table>'; 
     206     echo 
     207     '</tbody>'. 
     208     '</table>'; 
    205209} 
    206210 
     
    228232     'Proposed languages are based on your version: %s.'),'<strong>'.DC_VERSION.'</strong>').'</p>'. 
    229233     '<p class="field"><label for="pkg_url" class="classic">'.__('Language:').' '. 
    230      form::combo(array('pkg_url'),$dc_langs_combo).'</label></p>'. 
     234     form::combo('pkg_url',$dc_langs_combo).'</label></p>'. 
    231235     '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '. 
    232236     form::password(array('your_pwd','your_pwd1'),20,255).'</label></p>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map