Changeset 738
- Timestamp:
- 01/08/2004 03:30:23 AM (22 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
bookmarklet.php (modified) (1 diff)
-
post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/bookmarklet.php
r704 r738 53 53 $post_title = $popuptitle; 54 54 } 55 // I'm not sure why we're using $edited_post_title in the edit-form.php, but we are 56 // and that is what is being included below. For this reason, I am just duplicating 57 // the var instead of changing the assignment on the lines above. 58 // -- Alex King 2004-01-07 59 $edited_post_title = $post_title; 55 60 56 61 $content = $_REQUEST['content']; -
trunk/wp-admin/post.php
r732 r738 687 687 if ($is_NS4 || $is_gecko) { 688 688 ?> 689 <a href="javascript: Q=document.selection?document.selection.createRange().text:document.getSelection();void(window.open('<?php echo $siteurl ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'WordPress bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));">Press It689 <a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo $siteurl ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'WordPress bookmarklet','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));">Press It 690 690 - <?php echo $blogname ?></a> 691 691 <?php
Note: See TracChangeset
for help on using the changeset viewer.