From c99f10fdaecfcafac2937fdb0ac2c1225cf35329 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 5 Dec 2006 22:27:02 +0000 Subject: [PATCH] upload-js gettext fixes from mdawaffe. fixes #3224 git-svn-id: https://develop.svn.wordpress.org/trunk@4611 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/upload-js.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/upload-js.php b/wp-admin/upload-js.php index b7fd8664fc..1b304ac69f 100644 --- a/wp-admin/upload-js.php +++ b/wp-admin/upload-js.php @@ -72,13 +72,13 @@ addLoadEvent( function() { var params = $H(this.params); params.ID = ''; params.action = ''; - h += "' class='back'>echo wp_specialchars(__('« Back'), 1);"; + h += "' class='back'>"; } else { h += "' class='back'>"; } h += "
" if ( !this.currentImage.isImage ) - h += "

'>" + this.currentImage.title + "

"; + h += "

'" + this.currentImage.title + "

"; else h += "

" + this.currentImage.title + "

"; h += " — "; @@ -87,7 +87,7 @@ addLoadEvent( function() { h += '
' h += "
"; if ( this.currentImage.isImage ) { - h += ">"; + h += "'>"; h += "" + this.currentImage.title + ""; h += ""; } else @@ -134,9 +134,9 @@ addLoadEvent( function() { var params = $H(this.params); params.ID = ''; params.action = ''; - h += "' class='back'>« "; + h += "' class='back'>"; } else { - h += "' class='back'>« "; + h += "' class='back'>"; } h += "
" if ( !this.currentImage.isImage ) @@ -244,7 +244,7 @@ addLoadEvent( function() { }, deleteFile: function(id) { - if ( confirm("") ) { + if ( confirm("") ) { $('action-value').value = 'delete'; $('upload-file').submit(); return true;