Commit eaa6af2a authored by Dirk Meyer's avatar Dirk Meyer Committed by Robert Lyon
Browse files

Add "Send Message" button to multirecipient inbox



Bug 1385412

Change-Id: I3fa49cafeb9f25d8d00707360d12b7fa6e5cd02d
Signed-off-by: Aaron Wells's avatarAaron Wells <aaronw@catalyst.net.nz>
parent b5702824
......@@ -12,6 +12,8 @@
defined('INTERNAL') || die();
$string['sendmessageto'] = 'Send message';
$string['composemessage'] = 'Compose';
$string['composemessagedesc'] = 'Create a new message';
$string['titlesubject'] = 'Subject';
$string['titlerecipient'] = 'Recipients';
$string['replysubjectprefix'] = 'Re:';
......
......@@ -139,6 +139,11 @@ class PluginArtefactMultirecipientnotification extends PluginArtefact {
'title' => get_string('labeloutbox1', 'artefact.multirecipientnotification'),
'tooltip' => get_string('outboxdesc', 'artefact.multirecipientnotification'),
),
'compose' => array(
'url' => 'artefact/multirecipientnotification/sendmessage.php',
'title' => get_string('composemessage', 'artefact.multirecipientnotification'),
'tooltip' => get_string('composemessagedesc', 'artefact.multirecipientnotification'),
),
);
if (defined('NOTIFICATION_SUBPAGE') && isset($tabs[NOTIFICATION_SUBPAGE])) {
$tabs[NOTIFICATION_SUBPAGE]['selected'] = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment