wp/wp-admin/edit-link-form.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
   108 
   108 
   109 <div id="poststuff">
   109 <div id="poststuff">
   110 
   110 
   111 <div id="post-body" class="metabox-holder columns-<?php echo ( 1 === get_current_screen()->get_columns() ) ? '1' : '2'; ?>">
   111 <div id="post-body" class="metabox-holder columns-<?php echo ( 1 === get_current_screen()->get_columns() ) ? '1' : '2'; ?>">
   112 <div id="post-body-content">
   112 <div id="post-body-content">
   113 <div id="namediv" class="stuffbox">
   113 <div id="namediv" class="postbox">
   114 <h2><label for="link_name"><?php _ex( 'Name', 'link name' ); ?></label></h2>
   114 <h2 class="postbox-header"><label for="link_name"><?php _ex( 'Name', 'link name' ); ?></label></h2>
   115 <div class="inside">
   115 <div class="inside">
   116 	<input type="text" name="link_name" size="30" maxlength="255" value="<?php echo esc_attr( $link->link_name ); ?>" id="link_name" />
   116 	<input type="text" name="link_name" size="30" maxlength="255" value="<?php echo esc_attr( $link->link_name ); ?>" id="link_name" />
   117 	<p><?php _e( 'Example: Nifty blogging software' ); ?></p>
   117 	<p><?php _e( 'Example: Nifty blogging software' ); ?></p>
   118 </div>
   118 </div>
   119 </div>
   119 </div>
   120 
   120 
   121 <div id="addressdiv" class="stuffbox">
   121 <div id="addressdiv" class="postbox">
   122 <h2><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
   122 <h2 class="postbox-header"><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
   123 <div class="inside">
   123 <div class="inside">
   124 	<input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr( $link->link_url ); ?>" id="link_url" />
   124 	<input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr( $link->link_url ); ?>" id="link_url" />
   125 	<p><?php _e( 'Example: <code>https://wordpress.org/</code> &#8212; don&#8217;t forget the <code>https://</code>' ); ?></p>
   125 	<p><?php _e( 'Example: <code>https://wordpress.org/</code> &#8212; don&#8217;t forget the <code>https://</code>' ); ?></p>
   126 </div>
   126 </div>
   127 </div>
   127 </div>
   128 
   128 
   129 <div id="descriptiondiv" class="stuffbox">
   129 <div id="descriptiondiv" class="postbox">
   130 <h2><label for="link_description"><?php _e( 'Description' ); ?></label></h2>
   130 <h2 class="postbox-header"><label for="link_description"><?php _e( 'Description' ); ?></label></h2>
   131 <div class="inside">
   131 <div class="inside">
   132 	<input type="text" name="link_description" size="30" maxlength="255" value="<?php echo isset( $link->link_description ) ? esc_attr( $link->link_description ) : ''; ?>" id="link_description" />
   132 	<input type="text" name="link_description" size="30" maxlength="255" value="<?php echo isset( $link->link_description ) ? esc_attr( $link->link_description ) : ''; ?>" id="link_description" />
   133 	<p><?php _e( 'This will be shown when someone hovers over the link in the blogroll, or optionally below the link.' ); ?></p>
   133 	<p><?php _e( 'This will be shown when someone hovers over the link in the blogroll, or optionally below the link.' ); ?></p>
   134 </div>
   134 </div>
   135 </div>
   135 </div>