Changeset 12620
- Timestamp:
- 01/07/2010 12:24:03 AM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r12618 r12620 144 144 echo '<p>' . __( 'Transfer posts before deleting users:' ) . '</p>'; 145 145 146 echo '<form action=" wpmu-edit.php?action=allusers" method="post">';146 echo '<form action="ms-edit.php?action=allusers" method="post">'; 147 147 echo '<input type="hidden" name="alluser_transfer_delete" />'; 148 148 wp_nonce_field( 'allusers' ); -
trunk/wp-admin/ms-edit.php
r12610 r12620 426 426 <body id="error-page"> 427 427 <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1> 428 <form action=' wpmu-edit.php?action=<?php echo wp_specialchars( $_GET[ 'action2' ] ) ?>' method='post'>428 <form action='ms-edit.php?action=<?php echo wp_specialchars( $_GET[ 'action2' ] ) ?>' method='post'> 429 429 <input type='hidden' name='action' value='<?php echo wp_specialchars( $_GET['action2'] ) ?>' /> 430 430 <input type='hidden' name='id' value='<?php echo wp_specialchars( $id ); ?>' /> -
trunk/wp-admin/ms-options.php
r12619 r12620 22 22 <div class="wrap"> 23 23 <h2><?php _e('Site Options') ?></h2> 24 <form method="post" action=" wpmu-edit.php?action=siteoptions">24 <form method="post" action="ms-edit.php?action=siteoptions"> 25 25 <?php wp_nonce_field( "siteoptions" ); ?> 26 26 <h3><?php _e('Operational Settings <em>(These settings cannot be modified by blog owners)</em>') ?></h3> -
trunk/wp-admin/ms-sites.php
r12617 r12620 80 80 <div class="wrap"> 81 81 <h2><?php _e('Edit Blog'); ?> - <a href='http://<?php echo $details['domain'].$details['path']; ?>'>http://<?php echo $details['domain'].$details['path']; ?></a></h2> 82 <form method="post" action=" wpmu-edit.php?action=updateblog">82 <form method="post" action="ms-edit.php?action=updateblog"> 83 83 <?php wp_nonce_field('editblog'); ?> 84 84 <input type="hidden" name="id" value="<?php echo esc_attr($id) ?>" /> … … 378 378 </form> 379 379 380 <form id="form-blog-list" action=" wpmu-edit.php?action=allblogs" method="post">380 <form id="form-blog-list" action="ms-edit.php?action=allblogs" method="post"> 381 381 382 382 <div class="tablenav"> … … 479 479 480 480 if( get_blog_status( $blog['blog_id'], "deleted" ) == '1' ) 481 $controlActions[] = '<a class="delete" href=" wpmu-edit.php?action=confirm&action2=activateblog&ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to activate the blog %s" ), $blogname ) ) . '">' . __('Activate') . '</a>';481 $controlActions[] = '<a class="delete" href="ms-edit.php?action=confirm&action2=activateblog&ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to activate the blog %s" ), $blogname ) ) . '">' . __('Activate') . '</a>'; 482 482 else 483 $controlActions[] = '<a class="delete" href=" wpmu-edit.php?action=confirm&action2=deactivateblog&ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to deactivate the blog %s" ), $blogname ) ) . '">' . __('Deactivate') . '</a>';483 $controlActions[] = '<a class="delete" href="ms-edit.php?action=confirm&action2=deactivateblog&ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to deactivate the blog %s" ), $blogname ) ) . '">' . __('Deactivate') . '</a>'; 484 484 485 485 if( get_blog_status( $blog['blog_id'], "archived" ) == '1' ) 486 $controlActions[] = '<a class="delete" href=" wpmu-edit.php?action=confirm&action2=unarchiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to unarchive the blog %s" ), $blogname ) ) . '">' . __('Unarchive') . '</a>';486 $controlActions[] = '<a class="delete" href="ms-edit.php?action=confirm&action2=unarchiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to unarchive the blog %s" ), $blogname ) ) . '">' . __('Unarchive') . '</a>'; 487 487 else 488 $controlActions[] = '<a class="delete" href=" wpmu-edit.php?action=confirm&action2=archiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to archive the blog %s" ), $blogname ) ) . '">' . __('Archive') . '</a>';488 $controlActions[] = '<a class="delete" href="ms-edit.php?action=confirm&action2=archiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to archive the blog %s" ), $blogname ) ) . '">' . __('Archive') . '</a>'; 489 489 490 490 if( get_blog_status( $blog['blog_id'], "spam" ) == '1' ) 491 $controlActions[] = '<a class="delete" href=" wpmu-edit.php?action=confirm&action2=unspamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to unspam the blog %s" ), $blogname ) ) . '">' . __('Not Spam') . '</a>';491 $controlActions[] = '<a class="delete" href="ms-edit.php?action=confirm&action2=unspamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to unspam the blog %s" ), $blogname ) ) . '">' . __('Not Spam') . '</a>'; 492 492 else 493 $controlActions[] = '<a class="delete" href=" wpmu-edit.php?action=confirm&action2=spamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to mark the blog %s as spam" ), $blogname ) ) . '">' . __("Spam") . '</a>';493 $controlActions[] = '<a class="delete" href="ms-edit.php?action=confirm&action2=spamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to mark the blog %s as spam" ), $blogname ) ) . '">' . __("Spam") . '</a>'; 494 494 495 $controlActions[] = '<a class="delete" href=" wpmu-edit.php?action=confirm&action2=deleteblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to delete the blog %s" ), $blogname ) ) . '">' . __("Delete") . '</a>';495 $controlActions[] = '<a class="delete" href="ms-edit.php?action=confirm&action2=deleteblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to delete the blog %s" ), $blogname ) ) . '">' . __("Delete") . '</a>'; 496 496 497 497 $controlActions[] = "<a href='http://{$blog['domain']}{$blog['path']}' rel='permalink'>" . __('Visit') . '</a>'; … … 579 579 <a name="form-add-blog"></a> 580 580 <h2><?php _e('Add Blog') ?></h2> 581 <form method="post" action=" wpmu-edit.php?action=addblog">581 <form method="post" action="ms-edit.php?action=addblog"> 582 582 <?php wp_nonce_field('add-blog') ?> 583 583 <table class="form-table"> -
trunk/wp-admin/ms-users.php
r12610 r12620 112 112 </div> 113 113 114 <form id="form-user-list" action=' wpmu-edit.php?action=allusers' method='post'>114 <form id="form-user-list" action='ms-edit.php?action=allusers' method='post'> 115 115 <div class="tablenav"> 116 116 <?php if ( $user_navigation ) echo "<div class='tablenav-pages'>$user_navigation</div>"; ?> … … 184 184 $avatar = get_avatar( $user['user_email'], 32 ); 185 185 $edit = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=".$user['ID'] ) ); 186 // @todo Make delete link work like delete button with transfering users (in wpmu-edit.php)187 //$delete = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), wp_nonce_url( ' wpmu-edit.php', 'deleteuser' ) . '&action=deleteuser&id=' . $user['ID'] ) );186 // @todo Make delete link work like delete button with transfering users (in ms-edit.php) 187 //$delete = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), wp_nonce_url( 'ms-edit.php', 'deleteuser' ) . '&action=deleteuser&id=' . $user['ID'] ) ); 188 188 ?> 189 189 <td class="username column-username"> … … 281 281 <div class="wrap"> 282 282 <h2><?php _e('Add user') ?></h2> 283 <form action=" wpmu-edit.php?action=adduser" method="post">283 <form action="ms-edit.php?action=adduser" method="post"> 284 284 <table class="form-table"> 285 285 <tr class="form-field form-required">
Note: See TracChangeset
for help on using the changeset viewer.