diff options
| author | Senky <jakubsenko@gmail.com> | 2012-07-23 14:39:33 +0200 |
|---|---|---|
| committer | Senky <jakubsenko@gmail.com> | 2012-08-02 20:08:49 +0200 |
| commit | d0a1c7bf0ae79bac3c35af03c6753862f446aa73 (patch) | |
| tree | 7c408103c03090c2b19f9b1c8f5445462a0894e3 | |
| parent | 80180a6a20077aff293b3d3dd0ce8b0065c33f3b (diff) | |
| download | forums-d0a1c7bf0ae79bac3c35af03c6753862f446aa73.tar forums-d0a1c7bf0ae79bac3c35af03c6753862f446aa73.tar.gz forums-d0a1c7bf0ae79bac3c35af03c6753862f446aa73.tar.bz2 forums-d0a1c7bf0ae79bac3c35af03c6753862f446aa73.tar.xz forums-d0a1c7bf0ae79bac3c35af03c6753862f446aa73.zip | |
[ticket/10568] adding MESSAGE_EDITED to ucp.php and compose_pm
PHPBB3-10568
| -rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 3 | ||||
| -rw-r--r-- | phpBB/language/en/ucp.php | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index 05243e3d7a..d1786dd9ba 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -755,7 +755,8 @@ function compose_pm($id, $mode, $action, $user_folders = array()) $return_box_lang = ($action === 'post' || $action === 'edit') ? 'PM_OUTBOX' : 'PM_INBOX'; - $message = $user->lang['MESSAGE_STORED'] . '<br /><br />' . sprintf($user->lang['VIEW_PRIVATE_MESSAGE'], '<a href="' . $return_message_url . '">', '</a>'); + $save_message = ($action === 'edit') ? $user->lang['MESSAGE_EDITED'] : $user->lang['MESSAGE_STORED']; + $message = $save_message . '<br /><br />' . $user->lang('VIEW_PRIVATE_MESSAGE', '<a href="' . $return_message_url . '">', '</a>'); $last_click_type = 'CLICK_RETURN_FOLDER'; if ($folder_url) diff --git a/phpBB/language/en/ucp.php b/phpBB/language/en/ucp.php index 94d9a5171e..d45cd3bd8b 100644 --- a/phpBB/language/en/ucp.php +++ b/phpBB/language/en/ucp.php @@ -257,6 +257,7 @@ $lang = array_merge($lang, array( 'MESSAGE_BY_AUTHOR' => 'by', 'MESSAGE_COLOURS' => 'Message colours', 'MESSAGE_DELETED' => 'Message successfully deleted.', + 'MESSAGE_EDITED' => 'Message successfully edited.', 'MESSAGE_HISTORY' => 'Message history', 'MESSAGE_REMOVED_FROM_OUTBOX' => 'This message has been removed by its author before it was delivered.', 'MESSAGE_SENT_ON' => 'on', |
