';
+ return $html;
+ } else {
+ return null;
+ }
+
+
+}
+
+function print_spamcleaner_javascript() {
+ global $CFG;
+
+$sesskey = sesskey();
+
+?>
+
+
+
diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php
index 73bc0287357..63ffa992387 100644
--- a/lang/en_utf8/admin.php
+++ b/lang/en_utf8/admin.php
@@ -141,6 +141,7 @@ $string['dbmigratewarning2'] = 'Warning: You are about to start the database
$string['dbmigrateconnecerror'] = 'Could not connect to the database specified.';
$string['dbmigrateencodingerror'] = 'The database specified has encoding $a rather than required UNICODE/UTF8. Please specify another.';
$string['dbmigratepostgres'] = 'It seems that you are using PostgreSQL as the database server. To continue the migration process you need to manually create a new database with encoding \"UNICODE\"(PostgreSQL 7) or \"UTF8\" (PostgreSQL 8) to store the migrated data. Please enter your new database connection settings below to continue:';
+$string['deleteuser'] = 'Delete user';
$string['density'] = 'Density';
$string['download'] = 'Download';
$string['edithelpdocs'] = 'Edit help documents';
@@ -169,6 +170,7 @@ $string['helpupcominglookahead'] = 'How many days in the future does the calenda
$string['helpupcomingmaxevents'] = 'How many (maximum) upcoming events are shown to users by default?';
$string['helpweekenddays'] = 'Which days of the week are treated as \"weekend\" and shown with a different colour?';
$string['iconvrecommended'] = 'Installing the optional ICONV library is highly recommended in order to improve site performance, particularly if your site is supporting non-latin languages.';
+$string['ignore'] = 'Ignore';
$string['importlangreminder'] = 'The database migration process is commencing. You will need to log in again for the upgrade to take effect. Please install unicode language packs as soon as possible from Admin->Lang->Lang Import Utility after the database migration process is completed. ';
$string['importtimezones'] = 'Update complete list of timezones';
$string['importtimezonescount'] = '$a->count entries imported from $a->source';
@@ -235,6 +237,7 @@ $string['stickyblocksduplicatenotice'] = 'If any block you add here is already p
$string['stickyblockspagetype'] = 'Page type to configure';
$string['stickyblocksmymoodle'] = 'My moodle';
$string['stickyblockscourseview'] = 'Course page';
+$string['spamcleaner'] = 'Spam cleaner';
$string['releasenoteslink'] = 'For information about this version of Moodle, please see the online Release Notes';
$string['renameerrors'] = 'Errors in renames';
$string['tabselectedtofront'] = 'On tables with tabs, should the row with the currently selected tag be placed at the front';
@@ -257,6 +260,7 @@ Once you do this you can not go back again.
Are you sure you want to upgrade this server to this version?';
$string['upgradingdata'] = 'Upgrading data';
$string['upgradinglogs'] = 'Upgrading logs';
+$string['user'] = 'User';
$string['userrenamed'] = 'User renamed';
$string['useraccountupdated'] = 'User updated';
$string['userscreated'] = 'Users created';
diff --git a/lang/en_utf8/report_spamcleaner.php b/lang/en_utf8/report_spamcleaner.php
new file mode 100644
index 00000000000..319eca9d599
--- /dev/null
+++ b/lang/en_utf8/report_spamcleaner.php
@@ -0,0 +1,17 @@
+ Moodle docs has more information about Reducing spam in Moodle.';
+$string['spamdesc'] = 'Description';
+$string['spamdeleteall'] = 'Delete all these user accounts';
+$string['spamdeleteconfirm'] = 'Are you sure you want to delete this entry? You can not undo this.';
+$string['spamdeleteallconfirm'] = 'Are you sure you want to delete all these user accounts? You can not undo this.';
+$string['spameg'] = 'eg: casino, porn, xxx ';
+$string['spamfromblog'] = 'From blog post:';
+$string['spaminvalidresult'] = 'Unknown but invalid result';
+$string['spamoperation'] = 'Operation';
+$string['spamresult'] = 'Results of searching user profiles containing: ';
+$string['spamsearch'] = 'Search for these keywords';
+?>