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

39 lines
1.1 KiB
Smarty

{literal}
<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>
<legend>{lang}chat.user.search{/lang}</legend>
<div id="userInviteDialogUserList"></div>
<dl class="marginTop">
<dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
<dd>
<span>
<input autocomplete="off" id="userInviteDialogUsernameInput" name="username" class="medium" value="" type="text" />
</span>
</dd>
</dl>
<div class="formSubmit">
<input id="userInviteDialogFormSubmit" type="submit" value="{lang}wcf.global.button.submit{/lang}" />
</div>
</fieldset>
</div>
{/literal}