Permalink
Browse files

moved hard-coded text messages (about clipboard) to lang/en/hotpot.php

  • Loading branch information...
1 parent baa5894 commit 99d6674487b4bb17709fd8c051c438561a6e818d gbateson committed May 17, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/hotpot/show.php
View
@@ -46,10 +46,10 @@ function copy_contents(id) {
}
if (obj && window.clipboardData) {
window.clipboardData.setData("Text", obj.innerText);
- alert('The contents of this page have been copied to the clipboard');
+ alert('<? print_string('copiedtoclipboard', 'hotpot') ?>');
}
}
- document.write('<FONT size="1"> &nbsp; <A href="javascript:copy_contents()">Copy to Clipboard</A></FONT>');
+ document.write('<span style="font-size:0.6em;"> &nbsp; <A href="javascript:copy_contents()"><? print_string('copytoclipboard', 'hotpot') ?></A></span>');
-->
</SCRIPT>
<?php

0 comments on commit 99d6674

Please sign in to comment.