From 9d73e7eb1e0dae044ef386211b214e01624a3364 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Wed, 6 Feb 2013 11:38:03 +0100 Subject: let the user change his display name, if supported by the back-end --- settings/personal.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'settings/personal.php') diff --git a/settings/personal.php b/settings/personal.php index a2e510a6d3c..ac2c4704edb 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -48,6 +48,8 @@ $tmpl->assign('usage_relative', $storageInfo['relative']); $tmpl->assign('email', $email); $tmpl->assign('languages', $languages); $tmpl->assign('passwordChangeSupported', OC_User::canUserChangePassword(OC_User::getUser())); +$tmpl->assign('displayNameChangeSupported', OC_User::canUserChangeDisplayName(OC_User::getUser())); +$tmpl->assign('displayName', OC_User::getDisplayName()); $forms=OC_App::getForms('personal'); $tmpl->assign('forms', array()); -- cgit v1.2.3