wp/wp-admin/edit-link-form.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    64 	array(
    64 	array(
    65 		'id'      => 'overview',
    65 		'id'      => 'overview',
    66 		'title'   => __( 'Overview' ),
    66 		'title'   => __( 'Overview' ),
    67 		'content' =>
    67 		'content' =>
    68 		'<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link&#8217;s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' .
    68 		'<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link&#8217;s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' .
    69 		'<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don&#8217;t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' .
    69 		'<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you do not use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' .
    70 		'<p>' . __( 'XFN stands for <a href="https://gmpg.org/xfn/">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>',
    70 		'<p>' . __( 'XFN stands for <a href="https://gmpg.org/xfn/">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>',
    71 	)
    71 	)
    72 );
    72 );
    73 
    73 
    74 get_current_screen()->set_help_sidebar(
    74 get_current_screen()->set_help_sidebar(
   120 
   120 
   121 <div id="addressdiv" class="postbox">
   121 <div id="addressdiv" class="postbox">
   122 <h2 class="postbox-header"><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; do not forget the <code>https://</code>' ); ?></p>
   126 </div>
   126 </div>
   127 </div>
   127 </div>
   128 
   128 
   129 <div id="descriptiondiv" class="postbox">
   129 <div id="descriptiondiv" class="postbox">
   130 <h2 class="postbox-header"><label for="link_description"><?php _e( 'Description' ); ?></label></h2>
   130 <h2 class="postbox-header"><label for="link_description"><?php _e( 'Description' ); ?></label></h2>