The extra profile link now starts the edit mode
authorAlexander Ebert <ebert@woltlab.com>
Mon, 23 May 2022 15:09:52 +0000 (17:09 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 23 May 2022 15:09:52 +0000 (17:09 +0200)
See https://www.woltlab.com/community/thread/295243-pro-und-kontra-neues-kontrollzentrum/

com.woltlab.wcf/templates/pageHeaderUser.tpl

index d7650b054edf30cfdf3c961d589d7297f1e57668..b60589b380c7748448a5791dec5b49b4f9a480fb 100644 (file)
                                        <div class="userMenuContent">
                                                <div class="userMenuItem userMenuItemNarrow userMenuItemSingleLine">
                                                        <div class="userMenuItemImage">
-                                                               <span class="icon icon32 fa-user-circle-o"></span>
+                                                               <span class="icon icon32 fa-pencil"></span>
                                                        </div>
                                                        <div class="userMenuItemContent">
-                                                               <a href="{$__wcf->user->getLink()}" class="userMenuItemLink">{lang}wcf.user.myProfile{/lang}</a>
+                                                               <a href="{link controller='User' object=$__wcf->user editOnInit=true}{/link}" class="userMenuItemLink">{lang}wcf.user.editProfile{/lang}</a>
                                                        </div>
                                                </div>
                                                {if $__wcf->session->getPermission('admin.general.canUseAcp')}