Changeset 457:e2c2754452b1 for plugins/userPref
- Timestamp:
- 06/30/11 19:38:28 (14 years ago)
- Branch:
- formfilters
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/userPref/index.php
r220 r457 72 72 return 73 73 '<tr>'. 74 '<t d><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'.74 '<th scope="row"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></th>'. 75 75 '<td>'.$field.'</td>'. 76 76 '<td>'.$s['type'].'</td>'. … … 84 84 <?php echo dcPage::jsPageTabs($part); ?> 85 85 <style type="text/css"> 86 . ns-name { background: #ccc; color: #000; padding-top: 0.3em; padding-bottom: 0.3em; font-size: 1.1em; }86 .ws-name { background: #ccc; color: #000; padding-top: 0.3em; padding-bottom: 0.3em; font-size: 1.1em; } 87 87 </style> 88 88 </head> … … 103 103 <form action="plugin.php" method="post"> 104 104 <table> 105 <caption><?php echo __('Local user preferences list'); ?></caption> 106 <thead> 105 107 <tr> 106 <th class="nowrap">Pref ID</th>107 <th ><?php echo __('Value'); ?></th>108 <th ><?php echo __('Type'); ?></th>109 <th class="maximal"><?php echo __('Description'); ?></th>108 <th scope="col" class="nowrap">Pref ID</th> 109 <th scope="col"><?php echo __('Value'); ?></th> 110 <th scope="col"><?php echo __('Type'); ?></th> 111 <th scope="col" class="maximal"><?php echo __('Description'); ?></th> 110 112 </tr> 113 </thead> 114 <tbody> 111 115 <?php 112 116 $prefs = array(); … … 123 127 { 124 128 ksort($s); 125 echo '<tr><t d colspan="4" class="ws-name">workspace: <strong>'.$ws.'</strong></td></tr>';129 echo '<tr><th scope="row" colspan="4" class="ws-name">workspace: <strong>'.$ws.'</strong></th></tr>'; 126 130 127 131 foreach ($s as $k => $v) … … 131 135 } 132 136 ?> 137 </tbody> 133 138 </table> 134 139 <p><input type="submit" value="<?php echo __('Save'); ?>" /> … … 141 146 <form action="plugin.php" method="post"> 142 147 <table> 148 <caption><?php echo __('Global user preferences list'); ?></caption> 149 <thead> 143 150 <tr> 144 <th class="nowrap">Pref ID</th>145 <th ><?php echo __('Value'); ?></th>146 <th ><?php echo __('Type'); ?></th>147 <th class="maximal"><?php echo __('Description'); ?></th>151 <th scope="col" class="nowrap">Pref ID</th> 152 <th scope="col"><?php echo __('Value'); ?></th> 153 <th scope="col"><?php echo __('Type'); ?></th> 154 <th scope="col" class="maximal"><?php echo __('Description'); ?></th> 148 155 </tr> 156 </thead> 157 <tbody> 149 158 <?php 150 159 $prefs = array(); … … 161 170 { 162 171 ksort($s); 163 echo '<tr><t d colspan="4" class="ws-name">workspace: <strong>'.$ws.'</strong></td></tr>';172 echo '<tr><th scope="row" colspan="4" class="ws-name">workspace: <strong>'.$ws.'</strong></th></tr>'; 164 173 165 174 foreach ($s as $k => $v) … … 169 178 } 170 179 ?> 180 </tbody> 171 181 </table> 172 182 <p><input type="submit" value="<?php echo __('Save'); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.