Changeset 3127 for trunk/wp-admin/post.php
- Timestamp:
- 11/17/2005 03:26:24 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r2973 r3127 37 37 switch($_POST['mode']) { 38 38 case 'bookmarklet': 39 $location = 'bookmarklet.php?a=b';39 $location = $_POST['referredby']; 40 40 break; 41 41 case 'sidebar': … … 53 53 $location = "page-new.php?saved=true"; 54 54 55 if ( '' != $_POST['advanced'] ||isset($_POST['save']) )55 if ( isset($_POST['save']) ) 56 56 $location = "post.php?action=edit&post=$post_ID"; 57 57 … … 354 354 if ($is_NS4 || $is_gecko) { 355 355 ?> 356 <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='+encodeURIComponent(Q)+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title),'<?php _e('WordPress bookmarklet') ?>','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));"><?php printf(__('Press It - %s'), wp_specialchars(get_settings('blogname'))); ?></a> 356 357 <a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}location.href='<?php echo get_settings('siteurl') ?>/wp-admin/post.php?text='+encodeURIComponent(Q)+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title);"><?php printf(__('Press It - %s'), wp_specialchars(get_settings('blogname'))); ?></a> 357 358 <?php 358 359 } else if ($is_winIE) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)