Make WordPress Core

Ticket #3168: 3168.patch.txt

File 3168.patch.txt, 2.2 KB (added by foolswisdom, 19 years ago)
Line 
1Index: post-new.php
2===================================================================
3--- post-new.php        (revision 4251)
4+++ post-new.php        (working copy)
5@@ -55,7 +55,7 @@
6 
7 <?php if ( $is_NS4 || $is_gecko || $is_winIE ) { ?>
8 <div id="wp-bookmarklet" class="wrap">
9-<h3><?php _e('WordPress bookmarklet'); ?></h3>
10+<h3><?php _e('WordPress Bookmarklet'); ?></h3>
11 <p><?php _e('Right click on the following link and choose "Add to favorites" to create a posting shortcut.'); ?></p>
12 <p>
13 
14@@ -93,4 +93,4 @@
15 </div>
16 <?php } ?>
17 
18-<?php include('admin-footer.php'); ?>
19\ No newline at end of file
20+<?php include('admin-footer.php'); ?>
21Index: link-add.php
22===================================================================
23--- link-add.php        (revision 4251)
24+++ link-add.php        (working copy)
25@@ -26,8 +26,10 @@
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&#8217;re on to your bookmarks! Right now this only works on Mozilla or Netscape, but we&#8217;re working on it.</p>'), "javascript:void(linkmanpopup=window.open('" . get_option('siteurl') . "/wp-admin/link-add.php?action=popup&amp;linkurl='+escape(location.href)+'&amp;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 id="wp-link-bookmarklet"  class="wrap">
32+<h3><?php _e('Add Link Bookmarklet'); ?></h3>
33+<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>
34+<?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&amp;linkurl='+escape(location.href)+'&amp;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();") ?>
35 </div>
36 
37 <?php