web/wp-admin/ms-delete-site.php
changeset 204 09a1c134465b
parent 194 32102edaa81b
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
    22 		wp_die( sprintf( __( 'Thank you for using %s, your site has been deleted. Happy trails to you until we meet again.' ), $current_site->site_name ) );
    22 		wp_die( sprintf( __( 'Thank you for using %s, your site has been deleted. Happy trails to you until we meet again.' ), $current_site->site_name ) );
    23 	} else {
    23 	} else {
    24 		wp_die( __( "I'm sorry, the link you clicked is stale. Please select another option." ) );
    24 		wp_die( __( "I'm sorry, the link you clicked is stale. Please select another option." ) );
    25 	}
    25 	}
    26 }
    26 }
       
    27 
       
    28 $blog = get_blog_details();
    27 
    29 
    28 $title = __( 'Delete Site' );
    30 $title = __( 'Delete Site' );
    29 $parent_file = 'tools.php';
    31 $parent_file = 'tools.php';
    30 require_once( './admin-header.php' );
    32 require_once( './admin-header.php' );
    31 
    33 
    70 	<p><?php _e( 'Remember, once deleted your site cannot be restored.' ) ?></p>
    72 	<p><?php _e( 'Remember, once deleted your site cannot be restored.' ) ?></p>
    71 
    73 
    72 	<form method="post" name="deletedirect">
    74 	<form method="post" name="deletedirect">
    73 		<?php wp_nonce_field( 'delete-blog' ) ?>
    75 		<?php wp_nonce_field( 'delete-blog' ) ?>
    74 		<input type="hidden" name="action" value="deleteblog" />
    76 		<input type="hidden" name="action" value="deleteblog" />
    75 		<p><input id="confirmdelete" type="checkbox" name="confirmdelete" value="1" /> <label for="confirmdelete"><strong><?php printf( __( "I'm sure I want to permanently disable my site, and I am aware I can never get it back or use %s again." ), is_subdomain_install() ? $current_blog->domain : $current_blog->domain . $current_blog->path ); ?></strong></label></p>
    77 		<p><input id="confirmdelete" type="checkbox" name="confirmdelete" value="1" /> <label for="confirmdelete"><strong><?php printf( __( "I'm sure I want to permanently disable my site, and I am aware I can never get it back or use %s again." ), is_subdomain_install() ? $blog->domain : $blog->domain . $blog->path ); ?></strong></label></p>
    76 		<?php submit_button( __( 'Delete My Site Permanently' ) ); ?>
    78 		<?php submit_button( __( 'Delete My Site Permanently' ) ); ?>
    77 	</form>
    79 	</form>
    78  	<?php
    80  	<?php
    79 }
    81 }
    80 echo '</div>';
    82 echo '</div>';