Links / Edit Link' ), 'link-manager.php' ); $submit_text = __('Update Link'); $form_name = 'editlink'; $nonce_action = 'update-bookmark_' . $link_id; } else { $heading = sprintf( __( 'Links / Add New Link' ), 'link-manager.php' ); $submit_text = __('Add Link'); $form_name = 'addlink'; $nonce_action = 'add-bookmark'; } require_once( ABSPATH . 'wp-admin/includes/meta-boxes.php' ); add_meta_box('linksubmitdiv', __('Save'), 'link_submit_meta_box', null, 'side', 'core'); add_meta_box('linkcategorydiv', __('Categories'), 'link_categories_meta_box', null, 'normal', 'core'); add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', null, 'normal', 'core'); add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', null, 'normal', 'core'); add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', null, 'normal', 'core'); /** This action is documented in wp-admin/includes/meta-boxes.php */ do_action( 'add_meta_boxes', 'link', $link ); /** * Fires when link-specific meta boxes are added. * * @since 3.0.0 * * @param object $link Link object. */ do_action( 'add_meta_boxes_link', $link ); /** This action is documented in wp-admin/includes/meta-boxes.php */ do_action( 'do_meta_boxes', 'link', 'normal', $link ); /** This action is documented in wp-admin/includes/meta-boxes.php */ do_action( 'do_meta_boxes', 'link', 'advanced', $link ); /** This action is documented in wp-admin/includes/meta-boxes.php */ do_action( 'do_meta_boxes', 'link', 'side', $link ); add_screen_option('layout_columns', array('max' => 2, 'default' => 2) ); get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __('Overview'), 'content' => '

' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields.' ) . '

' . '

' . __( '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’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '

' . '

' . __( 'XFN stands for XHTML Friends Network, 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.' ) . '

' ) ); get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . '

' . __( 'Documentation on Creating Links' ) . '

' . '

' . __( 'Support Forums' ) . '

' ); require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>


http://wordpress.org/ — don’t forget the http://'); ?>