X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..7688c6ba71852cd89123b62b2d57683535e4702a:/wp-admin/edit-page-form.php diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index ae594897..e3a039eb 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -1,44 +1,51 @@
post_parent); ?> @@ -70,8 +86,8 @@ addLoadEvent(focusit); - - + + page_template); ?> @@ -81,20 +97,22 @@ addLoadEvent(focusit); - - + + id ) ) : // TODO: ROLE SYSTEM ?> -: + -ID ); if ( $post->post_author == $o->ID || ( empty($post_ID) && $user_ID == $o->ID ) ) $selected = 'selected="selected"'; else $selected = ''; +$o->ID = (int) $o->ID; +$o->display_name = wp_specialchars( $o->display_name ); echo "$o->display_name"; endforeach; ?> @@ -104,7 +122,7 @@ endforeach; - + @@ -114,70 +132,33 @@ endforeach; - - + + - - 100)) { - $rows = 10; - } -?> - + -post_content) : $post->post_content; ?> +post_status ) { ?> + + + + + + post_content); ?> - - - - - - - - + + + +post_status || 0 == $post_ID): +?> + + + @@ -186,10 +167,10 @@ else ' . __('This feature requires iframe support.') . ''; + echo '' . __('This feature requires iframe support.') . ''; } ?> @@ -198,28 +179,31 @@ if (current_user_can('upload_files')) { - + + + + - - escape($post->post_title) ) . "')\""; ?> /> +ID) ) ?> + post_title )) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> - -
page_template); ?> @@ -81,20 +97,22 @@ addLoadEvent(focusit); - - + + id ) ) : // TODO: ROLE SYSTEM ?> -: + -ID ); if ( $post->post_author == $o->ID || ( empty($post_ID) && $user_ID == $o->ID ) ) $selected = 'selected="selected"'; else $selected = ''; +$o->ID = (int) $o->ID; +$o->display_name = wp_specialchars( $o->display_name ); echo "$o->display_name"; endforeach; ?> @@ -104,7 +122,7 @@ endforeach; - + @@ -114,70 +132,33 @@ endforeach; - - + + - - 100)) { - $rows = 10; - } -?> - + -post_content) : $post->post_content; ?> +post_status ) { ?> + + + + + + post_content); ?> - - - - - - - - + + + +post_status || 0 == $post_ID): +?> + + + @@ -186,10 +167,10 @@ else ' . __('This feature requires iframe support.') . ''; + echo '' . __('This feature requires iframe support.') . ''; } ?> @@ -198,28 +179,31 @@ if (current_user_can('upload_files')) { - + + + +
- - - - - - + + + +post_status || 0 == $post_ID): +?> + + +