X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..refs/tags/wordpress-2.6.2:/wp-admin/link-add.php?ds=sidebyside diff --git a/wp-admin/link-add.php b/wp-admin/link-add.php index 8a6553a2..4b6493b5 100644 --- a/wp-admin/link-add.php +++ b/wp-admin/link-add.php @@ -3,45 +3,27 @@ require_once('admin.php'); $title = __('Add Link'); $this_file = 'link-manager.php'; -$parent_file = 'link-manager.php'; - - -$wpvarstoreset = array('action', 'cat_id', 'linkurl', 'name', 'image', - 'description', 'visible', 'target', 'category', 'link_id', - 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', - 'notes', 'linkcheck[]'); -for ($i=0; $i - +

- -
-You can drag Link This to your toolbar and when you click it a window will pop up that will allow you to add whatever site you’re on to your links! Right now this only works on Mozilla or Netscape, but we’re working on it.

'), "javascript:void(linkmanpopup=window.open('" . get_settings('siteurl') . "/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?> -
+$link = get_default_link_to_edit(); +include('edit-link-form.php'); - +?> \ No newline at end of file