mp-wp_genesis 1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * Add Link Administration Panel.
mp-wp_genesis 4 *
mp-wp_genesis 5 * @package WordPress
mp-wp_genesis 6 * @subpackage Administration
mp-wp_genesis 7 */
mp-wp_genesis 8
mp-wp_genesis 9 /** Load WordPress Administration Bootstrap */
mp-wp_genesis 10 require_once('admin.php');
mp-wp_genesis 11
mp-wp_genesis 12 $title = __('Add New Link');
mp-wp_genesis 13 $parent_file = 'link-manager.php';
mp-wp_genesis 14
mp-wp_genesis 15 wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',
mp-wp_genesis 16 'description', 'visible', 'target', 'category', 'link_id',
mp-wp_genesis 17 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel',
mp-wp_genesis 18 'notes', 'linkcheck[]'));
mp-wp_genesis 19
mp-wp_genesis 20 wp_enqueue_script('link');
mp-wp_genesis 21 wp_enqueue_script('xfn');
mp-wp_genesis 22
mp-wp_genesis 23 $link = get_default_link_to_edit();
mp-wp_genesis 24 include('edit-link-form.php');
mp-wp_genesis 25
mp-wp_genesis 26 require('admin-footer.php');
mp-wp_genesis 27 ?>