Validation fixes. Props idansof. fixes #1590

git-svn-id: http://svn.automattic.com/wordpress/trunk@2796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-08-20 01:49:24 +00:00
parent e93dd02321
commit 7d8e168532
1 changed files with 4 additions and 4 deletions

View File

@ -229,7 +229,7 @@ default:
<tr> <tr>
<th colspan="8" align="left"> <th colspan="8" align="left">
<h3><?php echo $wp_roles->role_names[$role]; ?></h3> <h3><?php echo $wp_roles->role_names[$role]; ?></h3>
</th> </th></tr>
<tr> <tr>
<th><?php _e('ID') ?></th> <th><?php _e('ID') ?></th>
@ -288,10 +288,10 @@ foreach($wp_roles->role_names as $role => $name) {
$role_select .= '</select>'; $role_select .= '</select>';
?> ?>
<ul style="list-style:none;"> <ul style="list-style:none;">
<li><input type="radio" name="action" id="action0" value="delete"> <label for="action0"><?php _e('Delete checked users.'); ?></label></li> <li><input type="radio" name="action" id="action0" value="delete" /> <label for="action0"><?php _e('Delete checked users.'); ?></label></li>
<li><input type="radio" name="action" id="action1" value="promote"> <?php echo sprintf(__('<label for="action1">Set the Role of checked users to:</label> %s'), $role_select); ?></li> <li><input type="radio" name="action" id="action1" value="promote" /> <?php echo sprintf(__('<label for="action1">Set the Role of checked users to:</label> %s'), $role_select); ?></li>
</ul> </ul>
<p class="submit"><input type="submit" value="<?php _e('Update &raquo;'); ?>"></p> <p class="submit"><input type="submit" value="<?php _e('Update &raquo;'); ?>" /></p>
</div> </div>
</form> </form>