2003-12-23 21:47:03 +00:00
|
|
|
<?php
|
2008-08-14 06:30:38 +00:00
|
|
|
/**
|
|
|
|
* Add Link Administration Panel.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** Load WordPress Administration Bootstrap */
|
2004-10-19 03:03:06 +00:00
|
|
|
require_once('admin.php');
|
2003-12-23 21:47:03 +00:00
|
|
|
|
2008-10-17 20:02:03 +00:00
|
|
|
$title = __('Add New Link');
|
2008-09-25 19:33:53 +00:00
|
|
|
$parent_file = 'link-manager.php';
|
2005-01-06 09:46:52 +00:00
|
|
|
|
2006-07-03 19:03:37 +00:00
|
|
|
wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',
|
2006-11-19 07:56:05 +00:00
|
|
|
'description', 'visible', 'target', 'category', 'link_id',
|
|
|
|
'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel',
|
|
|
|
'notes', 'linkcheck[]'));
|
2004-04-28 05:34:50 +00:00
|
|
|
|
2008-01-31 20:04:54 +00:00
|
|
|
wp_enqueue_script('link');
|
2008-03-10 05:44:56 +00:00
|
|
|
wp_enqueue_script('xfn');
|
2008-01-31 20:04:54 +00:00
|
|
|
|
2008-02-25 06:30:38 +00:00
|
|
|
$link = get_default_link_to_edit();
|
|
|
|
include('edit-link-form.php');
|
2003-12-23 21:47:03 +00:00
|
|
|
|
|
|
|
require('admin-footer.php');
|
2008-02-25 06:30:38 +00:00
|
|
|
?>
|