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 @@ ...@@ -12,6 +12,8 @@
defined('INTERNAL') || die(); defined('INTERNAL') || die();
$string['sendmessageto'] = 'Send message'; $string['sendmessageto'] = 'Send message';
$string['composemessage'] = 'Compose';
$string['composemessagedesc'] = 'Create a new message';
$string['titlesubject'] = 'Subject'; $string['titlesubject'] = 'Subject';
$string['titlerecipient'] = 'Recipients'; $string['titlerecipient'] = 'Recipients';
$string['replysubjectprefix'] = 'Re:'; $string['replysubjectprefix'] = 'Re:';
...@@ -41,4 +43,4 @@ $string['nothingtorender'] = ''; ...@@ -41,4 +43,4 @@ $string['nothingtorender'] = '';
$string['selectallread'] = 'All unread notifications'; $string['selectallread'] = 'All unread notifications';
$string['selectalldelete'] = 'All notifications for deletion'; $string['selectalldelete'] = 'All notifications for deletion';
$string['clickformore'] = '(Press \'Enter\' to display more information)'; $string['clickformore'] = '(Press \'Enter\' to display more information)';
\ No newline at end of file
...@@ -139,6 +139,11 @@ class PluginArtefactMultirecipientnotification extends PluginArtefact { ...@@ -139,6 +139,11 @@ class PluginArtefactMultirecipientnotification extends PluginArtefact {
'title' => get_string('labeloutbox1', 'artefact.multirecipientnotification'), 'title' => get_string('labeloutbox1', 'artefact.multirecipientnotification'),
'tooltip' => get_string('outboxdesc', '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])) { if (defined('NOTIFICATION_SUBPAGE') && isset($tabs[NOTIFICATION_SUBPAGE])) {
$tabs[NOTIFICATION_SUBPAGE]['selected'] = true; $tabs[NOTIFICATION_SUBPAGE]['selected'] = true;
...@@ -220,4 +225,4 @@ class PluginArtefactMultirecipientnotification extends PluginArtefact { ...@@ -220,4 +225,4 @@ class PluginArtefactMultirecipientnotification extends PluginArtefact {
} // PluginArtefactNotficationmultirecipientnotification } // PluginArtefactNotficationmultirecipientnotification
// Class ArtefactTypeNotficationmultirecipientnotification // Class ArtefactTypeNotficationmultirecipientnotification
require('artefacttypemultirecipientnotification.php'); require('artefacttypemultirecipientnotification.php');
\ No newline at end of file
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