fixed message plugin names
AMOS BEGIN MOV [email,message_email],[pluginname,message_email] MOV [jabber,message_jabber],[pluginname,message_jabber] MOV [popup,message_popup],[pluginname,message_popup] AMOS END
This commit is contained in:
+2
-2
@@ -206,7 +206,7 @@ $processors = $DB->get_records('message_processors');
|
||||
$number_procs = count($processors);
|
||||
echo '<table cellpadding="2"><tr><td> </td>'."\n";
|
||||
foreach ( $processors as $processorid => $processor){
|
||||
echo '<th align="center">'.get_string($processor->name, 'message_'.$processor->name).'</th>';
|
||||
echo '<th align="center">'.get_string('pluignname', 'message_'.$processor->name).'</th>';
|
||||
}
|
||||
echo '</tr>';
|
||||
|
||||
@@ -252,7 +252,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, 'message_'.$processor->name).'</legend>';
|
||||
echo '<legend class="ftoggler">'.get_string('pluignname', 'message_'.$processor->name).'</legend>';
|
||||
|
||||
echo $pclass->config_form($preferences);
|
||||
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['email'] = 'Email';
|
||||
$string['pluginname'] = 'Email';
|
||||
|
||||
@@ -23,5 +23,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['jabber'] = 'Jabber message';
|
||||
$string['pluginname'] = 'Jabber message';
|
||||
$string['jabberid'] = 'Jabber ID';
|
||||
|
||||
@@ -82,7 +82,7 @@ class message_output_jabber extends message_output {
|
||||
* @param object $mform preferences form class
|
||||
*/
|
||||
function config_form($preferences){
|
||||
return get_string('jabberid', 'message_jabber').': <input size="30" name="jabber_jabberid" value="'.$preferences->jabber_jabberid.'" />';
|
||||
return get_string('pluginname', 'message_jabber').': <input size="30" name="jabber_jabberid" value="'.$preferences->jabber_jabberid.'" />';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['popup'] = 'Popup window';
|
||||
$string['pluginname'] = 'Popup window';
|
||||
|
||||
Reference in New Issue
Block a user