Make WordPress Core


Ignore:
Timestamp:
09/11/2007 07:08:26 PM (19 years ago)
Author:
westi
Message:

Fix tab order when edit comments. Props Nazgul fixes #4726

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r6026 r6078  
    3434        <legend><label for="newcomment_author_url"><?php _e('URL:') ?></label></legend>
    3535                <div>
    36                   <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="35" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="3" />
     36                  <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="35" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="2" />
    3737    </div>
    3838</fieldset>
    … …  
    5555        <tr>
    5656                <th scope="row" valign="top"><?php _e('Comment Status') ?>:</th>
    57                 <td><label for="comment_status_approved" class="selectit"><input id="comment_status_approved" name="comment_status" type="radio" value="1" <?php checked($comment->comment_approved, '1'); ?> /> <?php _e('Approved') ?></label> &nbsp;
    58                 <label for="comment_status_moderated" class="selectit"><input id="comment_status_moderated" name="comment_status" type="radio" value="0" <?php checked($comment->comment_approved, '0'); ?> /> <?php _e('Moderated') ?></label> &nbsp;
    59                 <label for="comment_status_spam" class="selectit"><input id="comment_status_spam" name="comment_status" type="radio" value="spam" <?php checked($comment->comment_approved, 'spam'); ?> /> <?php _e('Spam') ?></label></td>
     57                <td><label for="comment_status_approved" class="selectit"><input id="comment_status_approved" name="comment_status" type="radio" value="1" <?php checked($comment->comment_approved, '1'); ?> tabindex="4" /> <?php _e('Approved') ?></label> &nbsp;
     58                <label for="comment_status_moderated" class="selectit"><input id="comment_status_moderated" name="comment_status" type="radio" value="0" <?php checked($comment->comment_approved, '0'); ?> tabindex="4" /> <?php _e('Moderated') ?></label> &nbsp;
     59                <label for="comment_status_spam" class="selectit"><input id="comment_status_spam" name="comment_status" type="radio" value="spam" <?php checked($comment->comment_approved, 'spam'); ?> tabindex="4" /> <?php _e('Spam') ?></label></td>
    6060        </tr>
    6161
    … …  
    6363        <tr>
    6464                <th scope="row" valign="top"><?php _e('Edit time'); ?>:</th>
    65                 <td><?php touch_time(('editcomment' == $action), 0); ?> </td>
     65                <td><?php touch_time(('editcomment' == $action), 0, 5); ?> </td>
    6666        </tr>
    6767<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.