Make WordPress Core

Changeset 5323


Ignore:
Timestamp:
04/27/2007 12:47:01 AM (15 years ago)
Author:
rob1n
Message:

Add id attribute where it's only name. fixes #3696

Location:
trunk/wp-admin
Files:
7 edited

Legend:

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

    r5257 r5323  
    195195    $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
    196196    if ( false != $uploading_iframe_src )
    197         echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
     197        echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
    198198}
    199199?>
  • trunk/wp-admin/edit-link-form.php

    r4990 r5323  
    8181<tr>
    8282<th scope="row" valign="top"><label for="link_name"><?php _e('Name:') ?></label></th>
    83 <td><input type="text" name="link_name" value="<?php echo $link->link_name; ?>" style="width: 95%" /></td>
     83<td><input type="text" name="link_name" id="link_name" value="<?php echo $link->link_name; ?>" style="width: 95%" /></td>
    8484</tr>
    8585<tr>
    8686<th width="20%" scope="row" valign="top"><label for="link_url"><?php _e('Address:') ?></label></th>
    87 <td width="80%"><input type="text" name="link_url" value="<?php echo $link->link_url; if ( empty( $link->link_url ) ) echo 'http://'; ?>" style="width: 95%" /></td>
     87<td width="80%"><input type="text" name="link_url" id="link_url" value="<?php echo $link->link_url; if ( empty( $link->link_url ) ) echo 'http://'; ?>" style="width: 95%" /></td>
    8888</tr>
    8989<tr>
    9090<th scope="row" valign="top"><label for="link_description"><?php _e('Description:') ?></label></th>
    91 <td><input type="text" name="link_description" value="<?php echo $link->link_description; ?>" style="width: 95%" /></td>
     91<td><input type="text" name="link_description" id="link_description" value="<?php echo $link->link_description; ?>" style="width: 95%" /></td>
    9292</tr>
    9393</table>
  • trunk/wp-admin/edit-page-form.php

    r5159 r5323  
    164164    $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
    165165    if ( false != $uploading_iframe_src )
    166         echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
     166        echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
    167167}
    168168?>
  • trunk/wp-admin/edit-pages.php

    r4913 r5323  
    1111<p><?php _e('Pages are like posts except they live outside of the normal blog chronology and can be hierarchical. You can use pages to organize and manage any amount of content.'); ?> <a href="page-new.php"><?php _e('Create a new page &raquo;'); ?></a></p>
    1212
    13 <form name="searchform" action="" method="get">
     13<form name="searchform" id="searchform" action="" method="get">
    1414    <fieldset>
    1515    <legend><?php _e('Search Pages&hellip;') ?></legend>
    16     <input type="text" name="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" />
     16    <input type="text" name="s" id="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" />
    1717    <input type="submit" name="submit" value="<?php _e('Search') ?>"  />
    1818    </fieldset>
  • trunk/wp-admin/edit.php

    r5094 r5323  
    7777  <fieldset>
    7878  <legend><?php _e('Search Posts&hellip;') ?></legend>
    79   <input type="text" name="s" value="<?php if (isset($s)) echo attribute_escape($s); ?>" size="17" />
     79  <input type="text" name="s" id="s" value="<?php if (isset($s)) echo attribute_escape($s); ?>" size="17" />
    8080  <input type="submit" name="submit" value="<?php _e('Search') ?>" class="button" />
    8181  </fieldset>
  • trunk/wp-admin/options-permalink.php

    r5150 r5323  
    167167<?php endif; ?>
    168168    <p>
    169   <?php _e('Category base'); ?>: <input name="category_base" type="text" class="code"  value="<?php echo attribute_escape($category_base); ?>" size="30" />
     169  <?php _e('Category base'); ?>: <input name="category_base" id="category_base" type="text" class="code"  value="<?php echo attribute_escape($category_base); ?>" size="30" />
    170170     </p>
    171171      <p>
    172       <?php _e('Tag base'); ?>: <input name="tag_base" type="text" class="code"  value="<?php echo attribute_escape($tag_base); ?>" size="30" />
     172      <?php _e('Tag base'); ?>: <input name="tag_base" id="tag_base" type="text" class="code"  value="<?php echo attribute_escape($tag_base); ?>" size="30" />
    173173     </p>
    174174    <p class="submit">
     
    180180<form action="options-permalink.php" method="post">
    181181<?php wp_nonce_field('update-permalink') ?>
    182    <p>
    183 <textarea rows="5" style="width: 98%;" name="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?>
    184 </textarea>
    185     </p>
     182    <p><textarea rows="5" style="width: 98%;" name="rules" id="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?></textarea></p>
    186183</form>
    187184<?php endif; ?>
  • trunk/wp-admin/profile.php

    r4495 r5323  
    4747
    4848<p><label><?php _e('First name:') ?><br />
    49 <input type="text" name="first_name" value="<?php echo $profileuser->first_name ?>" /></label></p>
     49<input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" /></label></p>
    5050
    5151<p><label><?php _e('Last name:') ?><br />
    52 <input type="text" name="last_name" value="<?php echo $profileuser->last_name ?>" /></label></p>
     52<input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" /></label></p>
    5353
    5454<p><label><?php _e('Nickname:') ?><br />
    55 <input type="text" name="nickname" value="<?php echo $profileuser->nickname ?>" /></label></p>
     55<input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" /></label></p>
    5656
    5757<p><label><?php _e('Display name publicly as:') ?> <br />
    58 <select name="display_name">
     58<select name="display_name" id="display_name">
    5959<option value="<?php echo $profileuser->display_name; ?>"><?php echo $profileuser->display_name; ?></option>
    6060<option value="<?php echo $profileuser->nickname ?>"><?php echo $profileuser->nickname ?></option>
     
    7777
    7878<p><label><?php _e('E-mail: (required)') ?><br />
    79 <input type="text" name="email" value="<?php echo $profileuser->user_email ?>" /></label></p>
     79<input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" /></label></p>
    8080
    8181<p><label><?php _e('Website:') ?><br />
    82 <input type="text" name="url" value="<?php echo $profileuser->user_url ?>" />
     82<input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" />
    8383</label></p>
    8484
    8585<p><label><?php _e('AIM:') ?><br />
    86 <input type="text" name="aim" value="<?php echo $profileuser->aim ?>" />
     86<input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" />
    8787</label></p>
    8888
    8989<p><label><?php _e('Yahoo IM:') ?><br />
    90 <input type="text" name="yim" value="<?php echo $profileuser->yim ?>" />
     90<input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" />
    9191</label></p>
    9292
    9393<p><label><?php _e('Jabber / Google Talk:') ?><br />
    94 <input type="text" name="jabber" value="<?php echo $profileuser->jabber ?>" /></label>
     94<input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" /></label>
    9595</p>
    9696</fieldset>
     
    9999<legend><?php _e('About Yourself'); ?></legend>
    100100<p class="desc"><?php _e('Share a little biographical information. '); ?></p>
    101 <p><textarea name="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p>
     101<p><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p>
    102102</fieldset>
    103103
     
    110110<p class="desc"><?php _e('If you would like to change your password type a new one twice below. Otherwise leave this blank.'); ?></p>
    111111<p><label><?php _e('New Password:'); ?><br />
    112 <input type="password" name="pass1" size="16" value="" />
     112<input type="password" name="pass1" id="pass1" size="16" value="" />
    113113</label></p>
    114114<p><label><?php _e('Type it one more time:'); ?><br />
    115 <input type="password" name="pass2" size="16" value="" />
     115<input type="password" name="pass2" id="pass2" size="16" value="" />
    116116</label></p>
    117117</fieldset>
Note: See TracChangeset for help on using the changeset viewer.