From: Marcel Werk Date: Wed, 13 May 2015 11:13:10 +0000 (+0200) Subject: Removed broken alt-attribute in avatar img tags X-Git-Tag: 2.1.4~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27509f81777b69aa4d5393cc4407f3b4b95a795e;p=GitHub%2FWoltLab%2FWCF.git Removed broken alt-attribute in avatar img tags --- diff --git a/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php b/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php index 62f887cf3c..3e253fd007 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php @@ -35,7 +35,7 @@ class DefaultAvatar implements IUserAvatar { public function getImageTag($size = null) { if ($size === null) $size = $this->size; - return ''.WCF::getLanguage()->get('wcf.user.avatar.alt').''; + return ''; } /** diff --git a/wcfsetup/install/files/lib/data/user/avatar/Gravatar.class.php b/wcfsetup/install/files/lib/data/user/avatar/Gravatar.class.php index 1ab92001f8..cec33890d0 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/Gravatar.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/Gravatar.class.php @@ -145,7 +145,7 @@ class Gravatar extends DefaultAvatar { break; } - return ''.WCF::getLanguage()->get('wcf.user.avatar.alt').''; + return ''; } /** diff --git a/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php b/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php index 4a6a9e7cd0..595e9ec42d 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php @@ -136,7 +136,7 @@ class UserAvatar extends DatabaseObject implements IUserAvatar { break; } - return ''.WCF::getLanguage()->get('wcf.user.avatar.alt').''; + return ''; } /** diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 50fa450714..0ff3764157 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -3063,7 +3063,6 @@ Sollten Sie sich nicht auf der Website: {@PAGE_TITLE|language} angemeldet haben, - user->avatarID || $__wcf->user->enableGravatar} Ihren derzeitigen Avatar gesperrt und{/if} Ihnen die weitere Nutzungsberechtigung der Avatar-Funktion {if !$__wcf->user->disableAvatarReason}entzogen.{else} aus folgenden Gründen entzogen: {$__wcf->user->disableAvatarReason}{/if}]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 4d7e14364b..bb87591833 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -3057,7 +3057,6 @@ You can safely ignore this email if you did not register with the website: {@PAG - user->avatarID || $__wcf->user->enableGravatar}have banned your avatar and {/if}disallowed you from using an avatar{if $__wcf->user->disableAvatarReason}: {$__wcf->user->disableAvatarReason}{/if}.]]>