WordPress.org

Make WordPress Core

Changeset 10995


Ignore:
Timestamp:
04/18/09 06:47:56 (5 years ago)
Author:
azaozz
Message:

Add "code" class to more URL input fields, props johnbillion, fixes #8383

Location:
trunk/wp-admin
Files:
6 edited

Legend:

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

    r10943 r10995  
    385385 */ 
    386386function post_trackback_meta_box($post) { 
    387     $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />'; 
     387    $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" class="code" tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />'; 
    388388    if ('' != $post->pinged) { 
    389389        $pings = '<p>'. __('Already pinged:') . '</p><ul>'; 
  • trunk/wp-admin/edit-form-comment.php

    r10865 r10995  
    114114            _e( 'URL:' ); 
    115115        } ?></td> 
    116     <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo $url; ?>" tabindex="3" /></td> 
     116    <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo $url; ?>" tabindex="3" /></td> 
    117117</tr> 
    118118</tbody> 
  • trunk/wp-admin/edit-link-form.php

    r10865 r10995  
    306306    <tr class="form-field"> 
    307307        <th valign="top"  scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th> 
    308         <td><input type="text" name="link_image" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? $link->link_image : ''); ?>" style="width: 95%" /></td> 
     308        <td><input type="text" name="link_image" class="code" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? $link->link_image : ''); ?>" style="width: 95%" /></td> 
    309309    </tr> 
    310310    <tr class="form-field"> 
    311311        <th valign="top"  scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th> 
    312         <td><input name="link_rss" type="text" id="rss_uri" value="<?php echo  ( isset( $link->link_rss ) ? $link->link_rss : ''); ?>" size="50" style="width: 95%" /></td> 
     312        <td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo  ( isset( $link->link_rss ) ? $link->link_rss : ''); ?>" size="50" style="width: 95%" /></td> 
    313313    </tr> 
    314314    <tr class="form-field"> 
     
    383383<h3><label for="link_url"><?php _e('Web Address') ?></label></h3> 
    384384<div class="inside"> 
    385     <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /> 
     385    <input type="text" name="link_url" size="30" class="code" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /> 
    386386    <p><?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?></p> 
    387387</div> 
  • trunk/wp-admin/import/opml.php

    r10611 r10995  
    4343<div style="width: 48%;" class="alignleft"> 
    4444<h3><label for="opml_url"><?php _e('Specify an OPML URL:'); ?></label></h3> 
    45 <input type="text" name="opml_url" id="opml_url" size="50" style="width: 90%;" value="http://" /> 
     45<input type="text" name="opml_url" id="opml_url" size="50" class="code" style="width: 90%;" value="http://" /> 
    4646</div> 
    4747 
  • trunk/wp-admin/user-edit.php

    r10935 r10995  
    314314<tr> 
    315315    <th><label for="url"><?php _e('Website') ?></label></th> 
    316     <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" class="regular-text" /></td> 
     316    <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" class="regular-text code" /></td> 
    317317</tr> 
    318318 
  • trunk/wp-admin/user-new.php

    r10348 r10995  
    108108    <tr class="form-field"> 
    109109        <th scope="row"><label for="url"><?php _e('Website') ?></label></th> 
    110         <td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td> 
     110        <td><input name="url" type="text" id="url" class="code" value="<?php echo $new_user_uri; ?>" /></td> 
    111111    </tr> 
    112112 
Note: See TracChangeset for help on using the changeset viewer.