| [ Index ] |
WordPress Source Cross Reference |
[Summary view] [Print] [Text view]
1 <?php 2 require_once ('admin.php'); 3 4 $title = __('Add Bookmark'); 5 $this_file = 'link-manager.php'; 6 $parent_file = 'link-manager.php'; 7 8 9 wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image', 10 'description', 'visible', 'target', 'category', 'link_id', 11 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 12 'notes', 'linkcheck[]')); 13 14 wp_enqueue_script( array('xfn', 'dbx-admin-key?pagenow=link.php') ); 15 if ( current_user_can( 'manage_categories' ) ) 16 wp_enqueue_script( 'ajaxcat' ); 17 require ('admin-header.php'); 18 ?> 19 20 <?php if ($_GET['added']) : ?> 21 <div id="message" class="updated fade"><p><?php _e('Link added.'); ?></p></div> 22 <?php endif; ?> 23 24 <?php 25 $link = get_default_link_to_edit(); 26 include ('edit-link-form.php'); 27 ?> 28 29 <div class="wrap"> 30 <?php printf(__('<p>You can drag <a href="%s" title="Link add bookmarklet">Link This</a> 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 bookmarks! Right now this only works on Mozilla or Netscape, but we’re working on it.</p>'), "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();") ?> 31 </div> 32 33 <?php 34 require ('admin-footer.php'); 35 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Sat Jul 15 11:57:04 2006 | Courtesy of Taragana |