Dotclear


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

Fixed tables in admin pages - step 2, closes #1068,#1069

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/aboutConfig/index.php

    r220 r457  
    7777     '<tr>'. 
    7878     '<td><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
    79      '<td>'.$field.'</td>'. 
     79     '<th scope="row">'.$field.'</th>'. 
    8080     '<td>'.$s['type'].'</td>'. 
    8181     '<td>'.html::escapeHTML($s['label']).'</td>'. 
     
    107107<form action="plugin.php" method="post"> 
    108108<table> 
     109<caption><?php echo __('Local blog settings list'); ?></caption> 
     110<thead> 
    109111<tr> 
    110   <th class="nowrap">Setting ID</th> 
    111   <th><?php echo __('Value'); ?></th> 
    112   <th><?php echo __('Type'); ?></th> 
    113   <th class="maximal"><?php echo __('Description'); ?></th> 
     112  <th scope="col" class="nowrap">Setting ID</th> 
     113  <th scope="col"><?php echo __('Value'); ?></th> 
     114  <th scope="col"><?php echo __('Type'); ?></th> 
     115  <th scope="col" class="maximal"><?php echo __('Description'); ?></th> 
    114116</tr> 
     117</thead> 
     118<tbody> 
    115119<?php 
    116120$settings = array(); 
     
    127131{ 
    128132     ksort($s); 
    129      echo '<tr><td colspan="4" class="ns-name">namespace: <strong>'.$ns.'</strong></td></tr>'; 
     133     echo '<tr><th scope="row" colspan="4" class="ns-name">namespace: <strong>'.$ns.'</strong></th></tr>'; 
    130134      
    131135     foreach ($s as $k => $v) 
     
    135139} 
    136140?> 
     141</tbody> 
    137142</table> 
    138143<p><input type="submit" value="<?php echo __('Save'); ?>" /> 
     
    145150<form action="plugin.php" method="post"> 
    146151<table> 
     152<caption><?php echo __('Global blog settings list'); ?></caption> 
     153<thead> 
    147154<tr> 
    148   <th class="nowrap">Setting ID</th> 
    149   <th><?php echo __('Value'); ?></th> 
    150   <th><?php echo __('Type'); ?></th> 
    151   <th class="maximal"><?php echo __('Description'); ?></th> 
     155  <th scope="col" class="nowrap">Setting ID</th> 
     156  <th scope="col"><?php echo __('Value'); ?></th> 
     157  <th scope="col"><?php echo __('Type'); ?></th> 
     158  <th scope="col" class="maximal"><?php echo __('Description'); ?></th> 
    152159</tr> 
     160</thead> 
     161<tbody> 
    153162<?php 
    154163$settings = array(); 
     
    165174{ 
    166175     ksort($s); 
    167      echo '<tr><td colspan="4" class="ns-name">namespace: <strong>'.$ns.'</strong></td></tr>'; 
     176     echo '<tr><th scope="row" colspan="4" class="ns-name">namespace: <strong>'.$ns.'</strong></th></tr>'; 
    168177      
    169178     foreach ($s as $k => $v) 
     
    173182} 
    174183?> 
     184</tbody> 
    175185</table> 
    176186<p><input type="submit" value="<?php echo __('Save'); ?>" /> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map