MDL-21694 moving message processor strings to correct plugin location
authorPetr Skoda <skodak@moodle.org>
Thu, 1 Apr 2010 19:43:07 +0000 (19:43 +0000)
committerPetr Skoda <skodak@moodle.org>
Thu, 1 Apr 2010 19:43:07 +0000 (19:43 +0000)
message/edit.php
message/output/email/lang/en_utf8/message_email.php [moved from lang/en_utf8/messageprocessor_email.php with 100% similarity]
message/output/jabber/lang/en_utf8/message_jabber.php [moved from lang/en_utf8/messageprocessor_jabber.php with 100% similarity]
message/output/popup/lang/en_utf8/message_popup.php [moved from lang/en_utf8/messageprocessor_popup.php with 100% similarity]

index e8c4f4a..259bb23 100644 (file)
@@ -201,7 +201,7 @@ $processors = $DB->get_records('message_processors');
 $number_procs = count($processors);
 echo '<table cellpadding="2"><tr><td>&nbsp;</td>'."\n";
 foreach ( $processors as $processorid => $processor){
-    echo '<th align="center">'.get_string($processor->name, 'messageprocessor_'.$processor->name).'</th>';
+    echo '<th align="center">'.get_string($processor->name, 'message_'.$processor->name).'</th>';
 }
 echo '</tr>';
 
@@ -247,7 +247,7 @@ foreach ($processors as $processorid => $processor) {
         if (class_exists($processclass)) {
             $pclass = new $processclass();
             echo '<fieldset id="messageprocessor_'.$processor->name.'" class="clearfix">';
-            echo '<legend class="ftoggler">'.get_string($processor->name, 'messageprocessor_'.$processor->name).'</legend>';
+            echo '<legend class="ftoggler">'.get_string($processor->name, 'message_'.$processor->name).'</legend>';
 
             echo $pclass->config_form($preferences);