Bookmarklet consistency patch by foolswisdom. fixes #3168
git-svn-id: http://svn.automattic.com/wordpress/trunk@4429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0b0c6b3f52
commit
bc0594c5cb
|
@ -26,8 +26,10 @@ require('admin-header.php');
|
||||||
include('edit-link-form.php');
|
include('edit-link-form.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div id="wp-link-bookmarklet" 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();") ?>
|
<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>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -55,7 +55,7 @@ include('edit-form-advanced.php');
|
||||||
|
|
||||||
<?php if ( $is_NS4 || $is_gecko || $is_winIE ) { ?>
|
<?php if ( $is_NS4 || $is_gecko || $is_winIE ) { ?>
|
||||||
<div id="wp-bookmarklet" class="wrap">
|
<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><?php _e('Right click on the following link and choose "Add to favorites" to create a posting shortcut.'); ?></p>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue