summaryrefslogtreecommitdiffstats
path: root/wp-content
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-05-28 12:50:56 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-05-28 12:50:56 +0000
commit9b502b84e4b5ac1c894fde4d850a4b1af43703e6 (patch)
tree56f62660b2e9fe1c51ba7e132a8a5f2340451622 /wp-content
parent42bccb6b1a72035b82e37c42e8982e4b514348a9 (diff)
downloadwordpress-mu-9b502b84e4b5ac1c894fde4d850a4b1af43703e6.tar.gz
wordpress-mu-9b502b84e4b5ac1c894fde4d850a4b1af43703e6.tar.xz
wordpress-mu-9b502b84e4b5ac1c894fde4d850a4b1af43703e6.zip
gettext changes by momo360modena, applied patch from #347
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@990 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-content')
-rw-r--r--wp-content/mu-plugins/delete-blog.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/wp-content/mu-plugins/delete-blog.php b/wp-content/mu-plugins/delete-blog.php
index e0c775f..c0e1261 100644
--- a/wp-content/mu-plugins/delete-blog.php
+++ b/wp-content/mu-plugins/delete-blog.php
@@ -23,7 +23,7 @@ class delete_blog {
function plugin_content() {
global $wpdb, $current_blog, $current_site;
$this->delete_blog_hash = get_settings('delete_blog_hash');
- print '<div class="wrap"><h2>' . __('Delete Blog') . '</h2>';
+ echo '<div class="wrap"><h2>' . __('Delete Blog') . '</h2>';
if( $_POST[ 'action' ] == "deleteblog" && $_POST[ 'confirmdelete' ] == '1' ) {
$hash = substr( md5( $_SERVER[ 'REQUEST_URI' ] . time() ), 0, 6 );
update_option( "delete_blog_hash", $hash );
@@ -52,27 +52,27 @@ SITE_NAME
} elseif( isset( $_GET[ 'h' ] ) && $_GET[ 'h' ] != '' && get_option('delete_blog_hash') != false ) {
if( get_option('delete_blog_hash') == $_GET[ 'h' ] ) {
$this->reallydeleteblog = true;
- print "<p>" . __('Thank you for using ' .$current_site->site_name. ', your blog has been deleted. Happy trails to you until we meet again.') . "</p>";
+ echo "<p>" . sprintf(__('Thank you for using %s, your blog has been deleted. Happy trails to you until we meet again.'), $current_site->site_name) . "</p>";
} else {
$this->reallydeleteblog = false;
- print "<p>" . __("I'm sorry, the link you clicked is stale. Please select another option.") . "</p>";
+ echo "<p>" . __("I'm sorry, the link you clicked is stale. Please select another option.") . "</p>";
}
} else {
?>
-<p><?php _e('If you do not want to use your ' .$current_site->site_name. ' blog any more, you can delete it using the form below. When you click <q>Delete My Blog</q> you will be sent an email with a link in it. Click on this link to delete your blog.') ?></p>
-<p><?php _e('Remember, once deleted your blog cannot be restored.') ?></p>
-<form method='post' name='deletedirect'>
-<input type="hidden" name="page" value="<?php echo $_GET['page'] ?>" />
-<input type='hidden' name='action' value='deleteblog' />
-<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 blog, and I am aware I can never get it back or use %s again."), $current_blog->domain ) ?></strong></label></p>
-<p class="submit"><input type='submit' value='<?php _e('Delete My Blog Permanently &raquo;') ?>' /></p>
-</form>
+ <p><?php printf(__('If you do not want to use your %s blog any more, you can delete it using the form below. When you click <strong>Delete My Blog</strong> you will be sent an email with a link in it. Click on this link to delete your blog.'), $current_site->site_name); ?></p>
+ <p><?php _e('Remember, once deleted your blog cannot be restored.') ?></p>
+ <form method='post' name='deletedirect'>
+ <input type="hidden" name="page" value="<?php echo $_GET['page'] ?>" />
+ <input type='hidden' name='action' value='deleteblog' />
+ <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 blog, and I am aware I can never get it back or use %s again."), $current_blog->domain); ?></strong></label></p>
+ <p class="submit"><input type='submit' value='<?php _e('Delete My Blog Permanently &raquo;') ?>' /></p>
+ </form>
<?php
}
- print "</div>";
+ echo "</div>";
}
}
$delete_blog_obj = new delete_blog();
-?>
+?> \ No newline at end of file