Changeset 956 for trunk/wp-admin/post.php
- Timestamp:
- 03/01/2004 06:13:32 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r949 r956 708 708 709 709 <?php 710 $bookmarklet_height= ( $use_trackback) ? 460 : 420;710 $bookmarklet_height= (get_settings('use_trackback')) ? 460 : 420; 711 711 712 712 if ($is_NS4 || $is_gecko) { 713 713 ?> 714 714 <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 get_settings('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 715 - <?php echo $blogname?></a>715 - <?php echo get_settings('blogname'); ?></a> 716 716 <?php 717 717 } else if ($is_winIE) { 718 718 ?> 719 719 <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">Press it 720 - <?php echo $blogname?></a>720 - <?php echo get_settings('blogname'); ?></a> 721 721 <script type="text/javascript" language="JavaScript"> 722 722 <!-- … … 734 734 ?> 735 735 <a href="javascript:void(window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/bookmarklet.php?popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));">Press it 736 - <?php echo $blogname?></a>736 - <?php echo get_settings('blogname'); ?></a> 737 737 <?php 738 738 } else if ($is_macIE) { 739 739 ?> 740 740 <a href="javascript:Q='';if(top.frames.length==0);void(btw=window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/bookmarklet.php?text='+escape(document.getSelection())+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">Press it 741 - <?php echo $blogname?></a>741 - <?php echo get_settings('blogname'); ?></a> 742 742 <?php 743 743 }
Note: See TracChangeset
for help on using the changeset viewer.