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 /phpBB/includes/ucp | |
| 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
Diffstat (limited to 'phpBB/includes/ucp')
| -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) |
