projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af681f
)
Removed duplicate link to avatar form
author
Marcel Werk
<burntime@woltlab.com>
Thu, 28 Apr 2022 13:53:12 +0000
(15:53 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Thu, 28 Apr 2022 13:53:12 +0000
(15:53 +0200)
The avatar itself is already linked to the avatar form.
com.woltlab.wcf/templates/user.tpl
patch
|
blob
|
blame
|
history
diff --git
a/com.woltlab.wcf/templates/user.tpl
b/com.woltlab.wcf/templates/user.tpl
index 75af321c6dbe0e66fcd391326085b26bc887f3ef..f4012acc3c5b51722330fe23435f42c368e0d40b 100644
(file)
--- a/
com.woltlab.wcf/templates/user.tpl
+++ b/
com.woltlab.wcf/templates/user.tpl
@@
-252,10
+252,6
@@
{content}
{event name='menuCustomization'}
- {if $user->userID == $__wcf->user->userID}
- <li><a href="{link controller='AvatarEdit'}{/link}">{lang}wcf.user.avatar.edit{/lang}</a></li>
- {/if}
-
{if $user->canEdit() || ($__wcf->getUser()->userID == $user->userID && $user->canEditOwnProfile())}
<li><a href="#" class="jsButtonEditProfile">{lang}wcf.user.editProfile{/lang}</a></li>
{/if}