diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-07 12:37:04 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-07 12:37:04 +0000 |
| commit | d510632e9f07cec9ac3de3b5dafc56bd58c81b8a (patch) | |
| tree | b4944ea6ceed3a73977f9edeae40f8174a4bab29 /wp-admin/link-add.php | |
| parent | 74e848ef222ada441de10e1db012988d1904b3ca (diff) | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@804 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/link-add.php')
| -rw-r--r-- | wp-admin/link-add.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/wp-admin/link-add.php b/wp-admin/link-add.php index 087fc45..22dcc64 100644 --- a/wp-admin/link-add.php +++ b/wp-admin/link-add.php @@ -17,7 +17,7 @@ if ( current_user_can( 'manage_categories' ) ) require('admin-header.php'); ?> -<?php if ($_GET['added']) : ?> +<?php if ($_GET['added'] && '' != $_POST['link_name']) : ?> <div id="message" class="updated fade"><p><?php _e('Link added.'); ?></p></div> <?php endif; ?> @@ -26,8 +26,10 @@ require('admin-header.php'); include('edit-link-form.php'); ?> -<div class="wrap"> -<?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_option('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();") ?> +<div id="wp-link-bookmarklet" class="wrap"> +<h3><?php _e('Add Link Bookmarklet'); ?></h3> +<p><?php _e('Right click on the following link and choose "Bookmark This Link..." to create an add link shortcut. Right now this only works on Mozilla or Netscape, but we’re working on it.'); ?></p> +<?php printf(__('<p><a href="%s" title="Link add bookmarklet">Link This</a></p>'), "javascript:void(linkmanpopup=window.open('" . get_option('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();") ?> </div> <?php |
