diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-26 15:40:12 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-26 15:40:12 +0000 |
commit | a4383a13a1522aa6b9db861b732249d0a3897140 (patch) | |
tree | f8e3465a0aa68577fb452ca1a1e020cb1ae49571 /wp-admin/edit-form-advanced.php | |
parent | e9274e601b49af6a87b2c79d356910114bbdcfbc (diff) | |
download | wordpress-mu-a4383a13a1522aa6b9db861b732249d0a3897140.tar.gz wordpress-mu-a4383a13a1522aa6b9db861b732249d0a3897140.tar.xz wordpress-mu-a4383a13a1522aa6b9db861b732249d0a3897140.zip |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@595 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/edit-form-advanced.php')
-rw-r--r-- | wp-admin/edit-form-advanced.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 894e239..5431ce2 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -79,8 +79,7 @@ addLoadEvent(focusit); <div id="searchresults" class="autocomplete"></div> <?php autocomplete_textbox( "wpmu-edit.php?action=searchcategories&search=", "newcat", "searchresults" ); ?> <?php endif; ?> -<ul id="categorychecklist"><?php dropdown_categories(get_settings('default_category')); ?></ul> -</div> +<ul id="categorychecklist"><?php dropdown_categories(get_settings('default_category')); ?></ul></div> </fieldset> <fieldset id="commentstatusdiv" class="dbx-box"> @@ -170,10 +169,10 @@ if ('publish' != $post->post_status || 0 == $post_ID) { <input name="referredby" type="hidden" id="referredby" value="<?php if ( !empty($_REQUEST['popupurl']) ) echo wp_specialchars($_REQUEST['popupurl']); -else if ( url_to_postid($_SERVER['HTTP_REFERER']) == $post_ID ) +else if ( url_to_postid(wp_get_referer()) == $post_ID ) echo 'redo'; else - echo wp_specialchars($_SERVER['HTTP_REFERER']); + echo wp_specialchars(wp_get_referer()); ?>" /></p> <?php do_action('edit_form_advanced'); ?> @@ -227,7 +226,7 @@ list_meta($metadata); </div> <?php if ('edit' == $action) : $delete_nonce = wp_create_nonce( 'delete-post_' . $post_ID ); ?> -<input name="deletepost" class="button" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this post') ?>" <?php echo "onclick=\"if ( confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), addslashes($post->post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> +<input name="deletepost" class="button" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this post') ?>" <?php echo "onclick=\"if ( confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), js_escape($post->post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> <?php endif; ?> </div> |