From b3130713afe568fcf6799862b3a4a1b2b356d3c4 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Thu, 1 Apr 2010 19:43:07 +0000 Subject: [PATCH] MDL-21694 moving message processor strings to correct plugin location --- message/edit.php | 4 ++-- .../output/email/lang/en_utf8/message_email.php | 0 .../output/jabber/lang/en_utf8/message_jabber.php | 0 .../output/popup/lang/en_utf8/message_popup.php | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename lang/en_utf8/messageprocessor_email.php => message/output/email/lang/en_utf8/message_email.php (100%) rename lang/en_utf8/messageprocessor_jabber.php => message/output/jabber/lang/en_utf8/message_jabber.php (100%) rename lang/en_utf8/messageprocessor_popup.php => message/output/popup/lang/en_utf8/message_popup.php (100%) diff --git a/message/edit.php b/message/edit.php index e8c4f4ace42..259bb239570 100644 --- a/message/edit.php +++ b/message/edit.php @@ -201,7 +201,7 @@ $processors = $DB->get_records('message_processors'); $number_procs = count($processors); echo ''."\n"; foreach ( $processors as $processorid => $processor){ - echo ''; + echo ''; } echo ''; @@ -247,7 +247,7 @@ foreach ($processors as $processorid => $processor) { if (class_exists($processclass)) { $pclass = new $processclass(); echo '
'; - echo ''.get_string($processor->name, 'messageprocessor_'.$processor->name).''; + echo ''.get_string($processor->name, 'message_'.$processor->name).''; echo $pclass->config_form($preferences); diff --git a/lang/en_utf8/messageprocessor_email.php b/message/output/email/lang/en_utf8/message_email.php similarity index 100% rename from lang/en_utf8/messageprocessor_email.php rename to message/output/email/lang/en_utf8/message_email.php diff --git a/lang/en_utf8/messageprocessor_jabber.php b/message/output/jabber/lang/en_utf8/message_jabber.php similarity index 100% rename from lang/en_utf8/messageprocessor_jabber.php rename to message/output/jabber/lang/en_utf8/message_jabber.php diff --git a/lang/en_utf8/messageprocessor_popup.php b/message/output/popup/lang/en_utf8/message_popup.php similarity index 100% rename from lang/en_utf8/messageprocessor_popup.php rename to message/output/popup/lang/en_utf8/message_popup.php
 '.get_string($processor->name, 'messageprocessor_'.$processor->name).''.get_string($processor->name, 'message_'.$processor->name).'