Changeset 6980
- Timestamp:
- 02/22/2008 05:30:43 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-attachment-rows.php
r6974 r6980 47 47 case 'media': 48 48 ?> 49 <td><strong><a href="# TODO: upload.php?action=edit& post=<?php the_ID(); ?>"><?php the_title(); ?></a></strong><br />49 <td><strong><a href="# TODO: upload.php?action=edit&post=<?php the_ID(); ?>"><?php the_title(); ?></a></strong><br /> 50 50 <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', $post->guid)); ?> 51 51 <?php do_action('manage_media_media_column', $post->ID); ?> … … 86 86 $title = __('(no title)'); 87 87 ?> 88 <td><strong><a href="post.php?action=edit& post=<?php echo $post->post_parent; ?>"><?php echo $title ?></a></strong></td>88 <td><strong><a href="post.php?action=edit&post=<?php echo $post->post_parent; ?>"><?php echo $title ?></a></strong></td> 89 89 <?php 90 90 break; -
trunk/wp-admin/edit-comments.php
r6943 r6980 97 97 <input type="hidden" name="s" value="<?php echo attribute_escape(@$_GET['s']); ?>" /> 98 98 <?php wp_nonce_field( 'add-comment', '_ajax_nonce', false ); ?> 99 </form> 99 100 </div> 100 101 <?php endif; // $extra_comments ?> -
trunk/wp-admin/edit-pages.php
r6950 r6980 54 54 55 55 ?> 56 <script >56 <script type="text/javascript"> 57 57 /* <![CDATA[ */ 58 58 jQuery(function($){$('#the-list').wpList();}); … … 147 147 } else { 148 148 ?> 149 </form> 149 150 <p><?php _e('No pages found.') ?></p> 150 151 <?php -
trunk/wp-admin/edit-post-rows.php
r6936 r6980 69 69 $title = __('(no title)'); 70 70 ?> 71 <td><strong><a href="post.php?action=edit& post=<?php the_ID(); ?>"><?php echo $title ?></a></strong>71 <td><strong><a href="post.php?action=edit&post=<?php the_ID(); ?>"><?php echo $title ?></a></strong> 72 72 <?php if ('private' == $post->post_status) _e(' — <strong>Private</strong>'); ?></td> 73 73 <?php -
trunk/wp-admin/includes/media.php
r6974 r6980 146 146 $multimedia_upload_iframe_src = "media-upload.php?type=multimedia&post_id=$uploading_iframe_ID"; 147 147 $multimedia_upload_iframe_src = apply_filters('multimedia_upload_iframe_src', $multimedia_upload_iframe_src); 148 echo "<a href='$multimedia_upload_iframe_src& TB_iframe=true&height=500&width=640' class='button thickbox'>" . __('Add media'). '</a>';148 echo "<a href='$multimedia_upload_iframe_src&TB_iframe=true&height=500&width=640' class='button thickbox'>" . __('Add media'). '</a>'; 149 149 } 150 150 add_action( 'media_buttons', 'media_buttons' ); -
trunk/wp-admin/includes/template.php
r6961 r6980 85 85 "<td>$edit</td> 86 86 <td>$category->description</td> 87 <td align='center'>$count</td> ";87 <td align='center'>$count</td></tr>"; 88 88 89 89 return apply_filters( 'link_cat_row', $output ); … … 237 237 $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; 238 238 $out .= '<td><a href="edit-tags.php?action=edit&tag_ID=' . $tag->term_id . '">' . 239 apply_filters( 'term_name', $tag->name ) . '</ td>';239 apply_filters( 'term_name', $tag->name ) . '</a></td>'; 240 240 241 241 $out .= "<td>$count</td>"; … … 404 404 $title = __('(no title)'); 405 405 ?> 406 <td><strong><a href="page.php?action=edit& post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>406 <td><strong><a href="page.php?action=edit&post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong> 407 407 <?php if ('private' == $page->post_status) _e(' — <strong>Private</strong>'); ?></td> 408 408 <?php … … 544 544 $numposts = get_usernumposts( $user_object->ID ); 545 545 if ( current_user_can( 'edit_user', $user_object->ID ) ) { 546 $edit = add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID");546 $edit = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID" ) ); 547 547 $edit = "<a href=\"$edit\">$user_object->user_login</a>"; 548 548 } else { … … 617 617 if ( current_user_can('edit_post', $comment->comment_post_ID) ) { 618 618 echo " <a href='comment.php?action=editcomment&c=$id'>" . __('Edit') . '</a>'; 619 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment& p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) );619 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); 620 620 echo " | <a href='$url' class='delete:the-comment-list:comment-$id'>" . __('Delete') . '</a> '; 621 621 if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) { 622 $url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment& p=$comment->comment_post_ID&c=$id", "unapprove-comment_$id" ) );622 $url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment&p=$comment->comment_post_ID&c=$id", "unapprove-comment_$id" ) ); 623 623 echo "<span class='unapprove'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:FFFF33'>" . __('Unapprove') . '</a> </span>'; 624 $url = clean_url( wp_nonce_url( "comment.php?action=approvecomment& p=$comment->comment_post_ID&c=$id", "approve-comment_$id" ) );624 $url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$id", "approve-comment_$id" ) ); 625 625 echo "<span class='approve'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:33FF33:33FF33'>" . __('Approve') . '</a> </span>'; 626 626 } 627 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment& dt=spam&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) );627 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&dt=spam&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); 628 628 echo " | <a href='$url' class='delete:the-comment-list:comment-$id::spam=1'>" . __('Spam') . '</a> '; 629 629 } -
trunk/wp-admin/includes/widgets.php
r6754 r6980 125 125 126 126 <ul class="widget-control-list"> 127 127 <li /> 128 128 <?php 129 129 foreach ( $widgets as $key => $widget ) … … 171 171 <?php else : ?> 172 172 173 <a class="widget-action widget-control-edit" href="<?php echo add_query_arg( array( 'edit' => $id_format, 'key' => $key) ); ?>"><?php _e('Edit'); ?></a>173 <a class="widget-action widget-control-edit" href="<?php echo clean_url( add_query_arg( array( 'edit' => $id_format, 'key' => $key ) ) ); ?>"><?php _e('Edit'); ?></a> 174 174 175 175 <?php endif; ?> … … 197 197 <?php endif; ?> 198 198 199 <a class="widget-action widget-control-remove delete alignright" href="<?php echo add_query_arg( array( 'remove' => $id_format, 'key' => $key ), wp_nonce_url( null, "remove-widget_$widget[id]") ); ?>"><?php _e('Remove'); ?></a>199 <a class="widget-action widget-control-remove delete alignright" href="<?php echo clean_url( add_query_arg( array( 'remove' => $id_format, 'key' => $key ), wp_nonce_url( null, "remove-widget_$widget[id]" ) ) ); ?>"><?php _e('Remove'); ?></a> 200 200 <br class="clear" /> 201 201 </div> -
trunk/wp-admin/link-manager.php
r6950 r6980 212 212 </tbody> 213 213 </table> 214 215 <?php } else { ?> 216 <p><?php _e('No links found.') ?></p> 217 <?php } ?> 214 218 </form> 215 219 … … 220 224 </div> 221 225 222 <?php } ?>223 226 224 227 </div> -
trunk/wp-admin/moderation.php
r6943 r6980 172 172 </p> 173 173 174 <p> 175 <?php comment_text(); ?> 176 </p> 174 <?php comment_text(); ?> 177 175 178 176 <p> -
trunk/wp-admin/options-discussion.php
r6978 r6980 52 52 <label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label> 53 53 <br /> 54 <label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label></li> 55 </ul> 54 <label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label> 56 55 </td> 57 56 </tr> -
trunk/wp-admin/options-permalink.php
r6978 r6980 131 131 <tr> 132 132 <th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th> 133 <td><code><?php echo get_option('home'); ?>/?p=123</code></ span></td>133 <td><code><?php echo get_option('home'); ?>/?p=123</code></td> 134 134 </tr> 135 135 <tr> -
trunk/wp-admin/options-writing.php
r6978 r6980 77 77 <input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" /> 78 78 <label for="medium_size_h"><?php _e('Height'); ?></label> 79 <input name="medium_size_h" type="text" id=" thumbnail_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" />79 <input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" /> 80 80 </td> 81 81 </tr> … … 129 129 <?php else : ?> 130 130 131 <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog\'s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?> 131 <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog\'s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p> 132 132 133 133 <?php endif; ?> -
trunk/wp-admin/plugins.php
r6726 r6980 153 153 } // endif active/inactive plugin check 154 154 ?> 155 </td> 155 156 </tr> 156 157 -
trunk/wp-admin/users.php
r6950 r6980 321 321 <?php endif; ?> 322 322 323 <form action="" method="post" name="updateusers" id="updateusers">324 <?php wp_nonce_field('bulk-users') ?>325 323 <table class="widefat"> 326 324 <tbody> -
trunk/wp-admin/widgets.php
r6950 r6980 182 182 <p id="widget-search"> 183 183 <input type="text" id="widget-search-input" name="s" value="<?php echo attribute_escape( $widget_search ); ?>" /> 184 <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" class="button"/>184 <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" /> 185 185 </p> 186 186
Note: See TracChangeset
for help on using the changeset viewer.