diff -Naur 392ori/ezpublish-3.9.2/design/admin/override/templates/template_look_edit.tpl ezpublish-3.9.2/design/admin/override/templates/template_look_edit.tpl
--- 392ori/ezpublish-3.9.2/design/admin/override/templates/template_look_edit.tpl	2007-05-04 13:23:20.000000000 +0200
+++ ezpublish-3.9.2/design/admin/override/templates/template_look_edit.tpl	2007-07-20 18:52:38.000000000 +0200
@@ -81,7 +81,7 @@
 <div class="block">
     <input class="button" type="submit" name="PublishButton" value="{'Send for publishing'|i18n( 'design/admin/content/edit' )}" title="{'Publish the contents of the draft that is being edited. The draft will thus become the published version of the object.'|i18n( 'design/admin/content/edit' )}" />
     <input class="button" type="submit" name="StoreButton" value="{'Store draft'|i18n( 'design/admin/content/edit' )}" title="{'Store the contents of the draft that is being edited and continue editing. Use this button to periodically save your work while editing.'|i18n( 'design/admin/content/edit' )}" />
-    <input class="button" type="submit" name="DiscardButton" value="{'Discard draft'|i18n( 'design/admin/content/edit' )}" onclick="return confirmDiscard( '{'Are you sure you want to discard the draft?'|i18n( 'design/admin/content/edit' )}' );" title="{'Discard the draft that is being edited. This will also remove the translations that belong to the draft (if any).'|i18n( 'design/admin/content/edit' ) }" />
+    <input class="button" type="submit" name="DiscardButton" value="{'Discard draft'|i18n( 'design/admin/content/edit' )}" onclick="return confirmDiscard( '{'Are you sure you want to discard the draft?'|i18n( 'design/admin/content/edit' )|wash(javascript) }' );" title="{'Discard the draft that is being edited. This will also remove the translations that belong to the draft (if any).'|i18n( 'design/admin/content/edit' ) }" />
     <input type="hidden" name="DiscardConfirm" value="1" />
 </div>
 {* DESIGN: Control bar END *}</div></div></div></div></div></div>
@@ -151,4 +151,3 @@
 -->
 </script>
 {/literal}
-
diff -Naur 392ori/ezpublish-3.9.2/design/admin/templates/content/draft.tpl ezpublish-3.9.2/design/admin/templates/content/draft.tpl
--- 392ori/ezpublish-3.9.2/design/admin/templates/content/draft.tpl	2007-05-04 13:23:21.000000000 +0200
+++ ezpublish-3.9.2/design/admin/templates/content/draft.tpl	2007-07-20 18:52:19.000000000 +0200
@@ -94,7 +94,7 @@
 <div class="block">
 {section show=$draft_list}
     <input class="button" type="submit" name="RemoveButton" value="{'Remove selected'|i18n( 'design/admin/content/draft')}" title="{'Remove selected drafts.'|i18n( 'design/admin/content/draft' )}" />
-    <input class="button" type="submit" name="EmptyButton"  value="{'Remove all'|i18n( 'design/admin/content/draft')}" onclick="return confirmDiscard( '{'Are you sure you want to remove all drafts?'|i18n( 'design/admin/content/draft' )}' );" title="{'Remove all drafts that belong to you.'|i18n( 'design/admin/content/draft' )}" />
+    <input class="button" type="submit" name="EmptyButton"  value="{'Remove all'|i18n( 'design/admin/content/draft')}" onclick="return confirmDiscard( '{'Are you sure you want to remove all drafts?'|i18n( 'design/admin/content/draft' )|wash(javascript) }' );" title="{'Remove all drafts that belong to you.'|i18n( 'design/admin/content/draft' )}" />
 {section-else}
     <input class="button-disabled" type="submit" name="RemoveButton" value="{'Remove selected'|i18n( 'design/admin/content/draft')}" disabled="disabled" />
     <input class="button-disabled" type="submit" name="EmptyButton"  value="{'Remove all'|i18n( 'design/admin/content/draft')}" disabled="disabled" />
@@ -119,4 +119,3 @@
 -->
 </script>
 {/literal}
-
diff -Naur 392ori/ezpublish-3.9.2/design/admin/templates/content/edit.tpl ezpublish-3.9.2/design/admin/templates/content/edit.tpl
--- 392ori/ezpublish-3.9.2/design/admin/templates/content/edit.tpl	2007-05-04 13:23:21.000000000 +0200
+++ ezpublish-3.9.2/design/admin/templates/content/edit.tpl	2007-07-20 18:50:49.000000000 +0200
@@ -83,7 +83,7 @@
     {/section}
     <input class="button" type="submit" name="PublishButton" value="{'Send for publishing'|i18n( 'design/admin/content/edit' )}" title="{'Publish the contents of the draft that is being edited. The draft will thus become the published version of the object.'|i18n( 'design/admin/content/edit' )}" />
     <input class="button" type="submit" name="StoreButton" value="{'Store draft'|i18n( 'design/admin/content/edit' )}" title="{'Store the contents of the draft that is being edited and continue editing. Use this button to periodically save your work while editing.'|i18n( 'design/admin/content/edit' )}" />
-    <input class="button" type="submit" name="DiscardButton" value="{'Discard draft'|i18n( 'design/admin/content/edit' )}" onclick="return confirmDiscard( '{'Are you sure you want to discard the draft?'|i18n( 'design/admin/content/edit' )}' );" title="{'Discard the draft that is being edited. This will also remove the translations that belong to the draft (if any).'|i18n( 'design/admin/content/edit' ) }" />
+    <input class="button" type="submit" name="DiscardButton" value="{'Discard draft'|i18n( 'design/admin/content/edit' )}" onclick="return confirmDiscard( '{'Are you sure you want to discard the draft?'|i18n( 'design/admin/content/edit' )|wash(javascript) }' );" title="{'Discard the draft that is being edited. This will also remove the translations that belong to the draft (if any).'|i18n( 'design/admin/content/edit' ) }" />
     <input type="hidden" name="DiscardConfirm" value="1" />
 </div>
 {* DESIGN: Control bar END *}</div></div></div></div></div></div>
