mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
- Method sendMessage of library MessageLib now if the receiver_id is not given and
the oe_kurzbz is set, sends the message to every receiver that is enabled to receive messages for that organization unit. - Added new costants for the messaging system - Added new phrases for the messaging system
This commit is contained in:
@@ -1,19 +1,27 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['message_'.MSG_SUCCESS] = 'Success';
|
||||
$lang['message_'.MSG_ERROR] = 'Error';
|
||||
$lang['message_'.MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_'.MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_'.MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_'.MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_'.MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_'.MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_'.MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_'.MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
$lang['message_' . MSG_SUCCESS] = 'Success';
|
||||
$lang['message_' . MSG_ERROR] = 'Error';
|
||||
$lang['message_' . MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECEIVER_ID] = 'Not a valid receiver';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_' . MSG_ERR_INVALID_OU] = 'No valid organization unit';
|
||||
$lang['message_' . MSG_ERR_INVALID_TEMPLATE] = 'Not a valid template';
|
||||
$lang['message_' . MSG_ERR_SUBJECT_EMPTY] = 'Subject is empty';
|
||||
$lang['message_' . MSG_ERR_BODY_EMPTY] = 'Body is empty';
|
||||
$lang['message_' . MSG_ERR_TEMPLATE_NOT_FOUND] = 'Template not found';
|
||||
$lang['message_' . MSG_ERR_DELIVERY_MESSAGE] = 'Error while delivering the message';
|
||||
$lang['message_' . MSG_ERR_CONTACT_NOT_FOUND] = 'Contact not found for the specified person';
|
||||
$lang['message_' . MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_' . MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_' . MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_' . MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
@@ -1,19 +1,27 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['message_'.MSG_SUCCESS] = 'Success';
|
||||
$lang['message_'.MSG_ERRORR] = 'Error';
|
||||
$lang['message_'.MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_'.MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_'.MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_'.MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_'.MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_'.MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_'.MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_'.MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
$lang['message_' . MSG_SUCCESS] = 'Success';
|
||||
$lang['message_' . MSG_ERROR] = 'Error';
|
||||
$lang['message_' . MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECEIVER_ID] = 'Not a valid receiver';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_' . MSG_ERR_INVALID_OU] = 'No valid organization unit';
|
||||
$lang['message_' . MSG_ERR_INVALID_TEMPLATE] = 'Not a valid template';
|
||||
$lang['message_' . MSG_ERR_SUBJECT_EMPTY] = 'Subject is empty';
|
||||
$lang['message_' . MSG_ERR_BODY_EMPTY] = 'Body is empty';
|
||||
$lang['message_' . MSG_ERR_TEMPLATE_NOT_FOUND] = 'Template not found';
|
||||
$lang['message_' . MSG_ERR_DELIVERY_MESSAGE] = 'Error while delivering the message';
|
||||
$lang['message_' . MSG_ERR_CONTACT_NOT_FOUND] = 'Contact not found for the specified person';
|
||||
$lang['message_' . MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_' . MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_' . MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_' . MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
@@ -1,19 +1,27 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['message_'.MSG_SUCCESS] = 'Success';
|
||||
$lang['message_'.MSG_ERROR] = 'Error';
|
||||
$lang['message_'.MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_'.MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_'.MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_'.MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_'.MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_'.MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_'.MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_'.MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_'.MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
$lang['message_' . MSG_SUCCESS] = 'Success';
|
||||
$lang['message_' . MSG_ERROR] = 'Error';
|
||||
$lang['message_' . MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECEIVER_ID] = 'Not a valid receiver';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_' . MSG_ERR_INVALID_OU] = 'No valid organization unit';
|
||||
$lang['message_' . MSG_ERR_INVALID_TEMPLATE] = 'Not a valid template';
|
||||
$lang['message_' . MSG_ERR_SUBJECT_EMPTY] = 'Subject is empty';
|
||||
$lang['message_' . MSG_ERR_BODY_EMPTY] = 'Body is empty';
|
||||
$lang['message_' . MSG_ERR_TEMPLATE_NOT_FOUND] = 'Template not found';
|
||||
$lang['message_' . MSG_ERR_DELIVERY_MESSAGE] = 'Error while delivering the message';
|
||||
$lang['message_' . MSG_ERR_CONTACT_NOT_FOUND] = 'Contact not found for the specified person';
|
||||
$lang['message_' . MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_' . MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_' . MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_' . MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
Reference in New Issue
Block a user