mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Fix chatSuspensionList.tpl
This commit is contained in:
parent
3f26f6a263
commit
784047b3ed
@ -13,7 +13,7 @@
|
||||
<h1>{lang}chat.acp.suspension.list{/lang}</h1>
|
||||
</header>
|
||||
|
||||
<form method="post" action="{link controller='ChatSuspensionList' application="chat"}{/link}">
|
||||
<form method="post" action="{link controller='ChatSuspensionList' application='chat'}{/link}">
|
||||
<div class="container containerPadding marginTop">
|
||||
<fieldset>
|
||||
<legend>{lang}wcf.global.filter{/lang}</legend>
|
||||
@ -35,9 +35,9 @@
|
||||
<dl>
|
||||
<dt><label for="roomID">{lang}chat.general.room{/lang}</label></dt>
|
||||
<dd>
|
||||
<select name="roomID" class="medium">
|
||||
<option value="-1" {if $filterRoomID == -1}selected="selected"{/if}></option>
|
||||
<option value="0" {if $filterRoomID == 0}selected="selected"{/if}>{lang}chat.room.global{/lang}</option>
|
||||
<select id="roomID" name="roomID">
|
||||
<option value="-1"{if $filterRoomID == -1} selected="selected"{/if}></option>
|
||||
<option value="0"{if $filterRoomID == 0} selected="selected"{/if}>{lang}chat.room.global{/lang}</option>
|
||||
<option value="" disabled="disabled">————</option>
|
||||
{foreach from=$availableRooms key=id item=room}
|
||||
<option value="{$id}" {if $filterRoomID == $id}selected="selected"{/if}>{$room}</option>
|
||||
@ -47,10 +47,10 @@
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt><label for="searchTypeMute">{lang}chat.acp.suspension.type{/lang}</label></dt>
|
||||
<dt><label for="suspensionType">{lang}chat.acp.suspension.type{/lang}</label></dt>
|
||||
<dd>
|
||||
<select name="suspensionType" id="suspensionType" class="medium">
|
||||
<option value=""{if $filterSuspensionType == null}selected="selected"{/if}></option>
|
||||
<select id="suspensionType" name="suspensionType"
|
||||
<option value=""{if $filterSuspensionType == null} selected="selected"{/if}></option>
|
||||
<option value="{'\chat\data\suspension\Suspension::TYPE_MUTE'|constant}"{if $filterSuspensionType == '\chat\data\suspension\Suspension::TYPE_MUTE'|constant} selected="selected"{/if}>{lang}chat.suspension.{'\chat\data\suspension\Suspension::TYPE_MUTE'|constant}{/lang}</option>
|
||||
<option value="{'\chat\data\suspension\Suspension::TYPE_BAN'|constant}"{if $filterSuspensionType == '\chat\data\suspension\Suspension::TYPE_BAN'|constant} selected="selected"{/if}>{lang}chat.suspension.{'\chat\data\suspension\Suspension::TYPE_BAN'|constant}{/lang}</option>
|
||||
</select>
|
||||
@ -86,12 +86,12 @@
|
||||
<tbody>
|
||||
{foreach from=$objects item=$suspension}
|
||||
<tr>
|
||||
<td id="columnID">{@$suspension->suspensionID}</td>
|
||||
<td id="columnID">{#$suspension->suspensionID}</td>
|
||||
<td id="columnUsername"><a href="{link application='chat' controller='ChatSuspensionList'}userID={$suspension->userID}{/link}">{$suspension->username}</a></td>
|
||||
<td id="columnRoomID"><a href="{link application='chat' controller='ChatSuspensionList'}roomID={if $suspension->roomID}{$suspension->roomID}{else}0{/if}{/link}">{if $suspension->roomID}{@$suspension->roomTitle|language}{else}{lang}chat.room.global{/lang}{/if}</a></td>
|
||||
<td id="columnRoomID"><a href="{link application='chat' controller='ChatSuspensionList'}roomID={if $suspension->roomID}{$suspension->roomID}{else}0{/if}{/link}">{if $suspension->roomID}{$suspension->roomTitle|language}{else}{lang}chat.room.global{/lang}{/if}</a></td>
|
||||
<td id="columnSuspensionType"><a href="{link application='chat' controller='ChatSuspensionList'}suspensionType={$suspension->type}{/link}">{lang}chat.suspension.{@$suspension->type}{/lang}</a></td>
|
||||
<td id="columnTime">{@$suspension->time|plainTime}</td>
|
||||
<td id="columnExpires">{@$suspension->expires|plainTime} ({$suspension->expires|dateDiff})</td>
|
||||
<td id="columnTime">{$suspension->time|plainTime}</td>
|
||||
<td id="columnExpires">{$suspension->expires|plainTime} ({$suspension->expires|dateDiff})</td>
|
||||
<td id="columnIssuer"><a href="{link application='chat' controller='ChatSuspensionList'}issuerUserID={$suspension->issuer}{/link}">{$suspension->issuerUsername}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
Loading…
Reference in New Issue
Block a user