use new user function to display real name if available, username still fallback
This commit is contained in:
parent
284e690737
commit
228a181d48
|
@ -32,7 +32,7 @@
|
|||
|
||||
<ul id="settings" class="svg">
|
||||
<span id="expand">
|
||||
<?php echo OC_User::getUser()?OC_User::getUser():'' ?>
|
||||
<?php echo OCP\User::getDisplayName($user=null)?OCP\User::getDisplayName($user=null):(OC_User::getUser()?OC_User::getUser():'') ?>
|
||||
<img class="svg" src="<?php echo image_path('', 'actions/caret.svg'); ?>" />
|
||||
</span>
|
||||
<div id="expanddiv" <?php if($_['bodyid'] == 'body-user') echo 'style="display:none;"'; ?>>
|
||||
|
|
Loading…
Reference in New Issue