From: Marcel Werk Date: Sun, 8 Mar 2015 13:03:44 +0000 (+0100) Subject: Merge branch '2.0' X-Git-Tag: 2.1.2~72 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=995b4b6ee25d27337b3bff72ccf76a0d6282bb93;p=GitHub%2FWoltLab%2FWCF.git Merge branch '2.0' Conflicts: com.woltlab.wcf/templates/user.tpl com.woltlab.wcf/templates/userInformationHeadline.tpl com.woltlab.wcf/templates/usersOnlineList.tpl --- 995b4b6ee25d27337b3bff72ccf76a0d6282bb93 diff --cc com.woltlab.wcf/templates/user.tpl index 5235ad10e2,9b34fd4d5b..5ae5ab0787 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@@ -138,28 -102,22 +138,35 @@@ {include file='header' sidebarOrientation='left'} -
+
session->getPermission('admin.user.canBanUser')} + data-banned="{@$user->banned}" + {/if} + {if $__wcf->session->getPermission('admin.user.canDisableAvatar')} + data-disable-avatar="{@$user->disableAvatar}" + {/if} + {if $__wcf->session->getPermission('admin.user.canDisableSignature')} + data-disable-signature="{@$user->disableSignature}" + {/if} + {/if} +> -

{$user->username}{if $user->banned} {/if}{if MODULE_USER_RANK && $user->getUserTitle()} {$user->getUserTitle()}{/if}

-

{$user->username}{if MODULE_USER_RANK} ++

{$user->username}{if $user->banned} {/if}{if MODULE_USER_RANK} + {if $user->getUserTitle()} + {$user->getUserTitle()} + {/if} + {if $user->getRank() && $user->getRank()->rankImage} + {@$user->getRank()->getImage()} + {/if} + {/if}

    - {if $user->gender}
  • {lang}wcf.user.gender.{if $user->gender == 1}male{else}female{/if}{/lang}
  • {/if} - {if $user->getAge()}
  • {@$user->getAge()}
  • {/if} - {if $user->location}
  • {lang}wcf.user.membersList.location{/lang}
  • {/if} + {if $user->isVisibleOption('gender') && $user->gender}
  • {lang}wcf.user.gender.{if $user->gender == 1}male{else}female{/if}{/lang}
  • {/if} + {if $user->isVisibleOption('birthday') && $user->getAge()}
  • {@$user->getAge()}
  • {/if} + {if $user->isVisibleOption('location') && $user->location}
  • {lang}wcf.user.membersList.location{/lang}
  • {/if} {if $user->getOldUsername()}
  • {lang}wcf.user.profile.oldUsername{/lang}
  • {/if}
  • {lang}wcf.user.membersList.registrationDate{/lang}
  • {event name='userDataRow1'} diff --cc com.woltlab.wcf/templates/userInformationHeadline.tpl index 3d7dd3b175,2069973eae..e7368102e3 --- a/com.woltlab.wcf/templates/userInformationHeadline.tpl +++ b/com.woltlab.wcf/templates/userInformationHeadline.tpl @@@ -1,5 -1,12 +1,12 @@@
    -

    {$user->username}{if $user->banned} {/if}{if MODULE_USER_RANK && $user->getUserTitle()} {$user->getUserTitle()}{/if}

    -

    {$user->username}{if MODULE_USER_RANK} ++

    {$user->username}{if $user->banned} {/if}{if MODULE_USER_RANK} + {if $user->getUserTitle()} + {$user->getUserTitle()} + {/if} + {if $user->getRank() && $user->getRank()->rankImage} + {@$user->getRank()->getImage()} + {/if} + {/if}

      {if $user->isAccessible('canViewProfile')} diff --cc com.woltlab.wcf/templates/usersOnlineList.tpl index dde3f8e689,deb834ca2b..0e36d16183 --- a/com.woltlab.wcf/templates/usersOnlineList.tpl +++ b/com.woltlab.wcf/templates/usersOnlineList.tpl @@@ -125,8 -125,16 +125,16 @@@
      -

      {@$user->getFormattedUsername()}{if MODULE_USER_RANK && $user->getUserTitle()} {$user->getUserTitle()}{/if}

      +

      {@$user->getFormattedUsername()}{if MODULE_USER_RANK} + {if $user->getUserTitle()} + {$user->getUserTitle()} + {/if} + {if $user->getRank() && $user->getRank()->rankImage} + {@$user->getRank()->getImage()} + {/if} + {/if}

      + - {@$locationData} + {@$locationData}
      {@$sessionData}