Bookmarklet consistency patch by foolswisdom. fixes #3168
git-svn-id: https://develop.svn.wordpress.org/trunk@4429 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d1d4eab47c
commit
c4fbd0aae3
@ -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
|
||||
|
@ -55,7 +55,7 @@ include('edit-form-advanced.php');
|
||||
|
||||
<?php if ( $is_NS4 || $is_gecko || $is_winIE ) { ?>
|
||||
<div id="wp-bookmarklet" class="wrap">
|
||||
<h3><?php _e('WordPress bookmarklet'); ?></h3>
|
||||
<h3><?php _e('WordPress Bookmarklet'); ?></h3>
|
||||
<p><?php _e('Right click on the following link and choose "Add to favorites" to create a posting shortcut.'); ?></p>
|
||||
<p>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user