1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Improve userInviteDialog.tpl

This commit is contained in:
Tim Düsterhus 2015-03-21 21:46:29 +01:00
parent d65595649d
commit 763d04fb51

View File

@ -1,27 +1,8 @@
{literal} {literal}
<div id="userInviteDialogContainer"> <div id="userInviteDialogContainer">
<fieldset>
<legend>{lang}wcf.user.access.following{/lang}</legend>
{if $users.length === 0}
<p class="info">{lang}chat.global.invite.noFollowing{/lang}</p>
{else}
<div id="userInviteDialogFollowingList">
<dl>
{foreach from=$users item="user"}
<dt></dt>
<dd><label><input type="checkbox" id="userInviteDialogUserID-{$user.userID}" value="{$user.userID}" /> {$user.username}</label></dd>
{/foreach}
</dl>
</div>
{/if}
</fieldset>
<fieldset> <fieldset>
<legend>{lang}chat.user.search{/lang}</legend> <legend>{lang}chat.user.search{/lang}</legend>
<div id="userInviteDialogUserList"></div>
<dl class="marginTop"> <dl class="marginTop">
<dt><label for="username">{lang}wcf.user.username{/lang}</label></dt> <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
<dd> <dd>
@ -30,10 +11,28 @@
</span> </span>
</dd> </dd>
</dl> </dl>
<div id="userInviteDialogUserList"></div>
</fieldset>
<fieldset>
<legend>{lang}wcf.user.access.following{/lang}</legend>
{if $users.length === 0}
<p class="info">{lang}chat.global.invite.noFollowing{/lang}</p>
{else}
<div id="userInviteDialogFollowingList">
{foreach from=$users item="user"}
<dl>
<dt></dt>
<dd><label><input type="checkbox" id="userInviteDialogUserID-{$user.userID}" value="{$user.userID}" /> {$user.username}</label></dd>
</dl>
{/foreach}
</div>
{/if}
</fieldset>
<div class="formSubmit"> <div class="formSubmit">
<input id="userInviteDialogFormSubmit" type="submit" value="{lang}wcf.global.button.submit{/lang}" /> <input id="userInviteDialogFormSubmit" type="submit" value="{lang}wcf.global.button.submit{/lang}" />
</div> </div>
</fieldset>
</div> </div>
{/literal} {/literal}