summaryrefslogtreecommitdiff
path: root/includes/pages/user_messages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/user_messages.php')
-rw-r--r--includes/pages/user_messages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/user_messages.php b/includes/pages/user_messages.php
index 70ea5c63..922997c1 100644
--- a/includes/pages/user_messages.php
+++ b/includes/pages/user_messages.php
@@ -46,7 +46,7 @@ function user_messages() {
return template_render('../templates/user_messages.html', array (
'link' => page_link_to("user_messages"),
- 'greeting' => Get_Text("Hello") . $user['Nick'] . ", <br />\n" . Get_Text("pub_messages_text1") . "<br /><br />\n",
+ 'greeting' => Get_Text("Hello") . User_Nick_render($user) . ", <br />\n" . Get_Text("pub_messages_text1") . "<br /><br />\n",
'messages' => $messages_html,
'new_label' => Get_Text("pub_messages_Neu"),
'date_label' => Get_Text("pub_messages_Datum"),
@@ -54,7 +54,7 @@ function user_messages() {
'to_label' => Get_Text("pub_messages_An"),
'text_label' => Get_Text("pub_messages_Text"),
'date' => date("Y-m-d H:i"),
- 'from' => $user['Nick'],
+ 'from' => User_Nick_render($user),
'to_select' => $to_select,
'submit_label' => Get_Text("save")
));