diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-10-17 22:10:49 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-10-17 22:10:49 -0400 |
commit | bd4408875784294987c806bf123a121a84ab8363 (patch) | |
tree | 9fd4ce30bd9d16aff4c36968495c76889ced88c0 /phpBB/includes | |
parent | f0544c884f6862e41bf35e6bd89db5849aa74e9f (diff) | |
parent | d0a1c7bf0ae79bac3c35af03c6753862f446aa73 (diff) | |
download | forums-bd4408875784294987c806bf123a121a84ab8363.tar forums-bd4408875784294987c806bf123a121a84ab8363.tar.gz forums-bd4408875784294987c806bf123a121a84ab8363.tar.bz2 forums-bd4408875784294987c806bf123a121a84ab8363.tar.xz forums-bd4408875784294987c806bf123a121a84ab8363.zip |
Merge PR #918 branch 'Senky/ticket/10568' into develop-olympus
* Senky/ticket/10568:
[ticket/10568] adding MESSAGE_EDITED to ucp.php and compose_pm
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 3 |
1 files changed, 2 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) |