{LIMITS_POLICY}

<table class="list limitsList" cellspacing="0" width="100%">
    <thead>
        <tr>
            <th class="name">{RESOURCE_NAME_TITLE}</th>
            <th class="used" colspan="2">{RESOURCE_USED_TITLE}</th>
            <th class="unlimited" colspan="2">{RESOURCE_LIMIT_TITLE}</th>
        </tr>
    </thead>
    <tbody>
        {LIMIT_GROUPS_LIST}
    </tbody>
</table>

<!-- BEGIN DYNAMIC BLOCK: limit_group -->
<tr><th colspan="5">{LIMIT_GROUP_LEGEND}</th></tr>
{LIMITS_LIST}
<tr><td colspan="5" class="separator"><span></span></td></tr>

<!-- BEGIN DYNAMIC BLOCK: limit -->
{BEGIN_VIS_LIMIT}
<tr {LIMIT_ERROR}>
    <td class="name"><label for="fid-{LIMIT}">{LIMIT_TEXT}</label></td>
    <td class="used">{LIMIT_USED}</td>
    <td class="used_bar">{LIMIT_USED_BAR}</td>
    {LIMIT_POINT}
</tr>
{END_VIS_LIMIT}
<!-- END DYNAMIC BLOCK: limit -->

<!-- BEGIN DYNAMIC BLOCK: limit_text -->
<td class="limit"><input type="text" name="{LIMIT}" id="fid-{LIMIT}" value="{LIMIT_VALUE}" {LIMIT_INPUT_DISABLED} size="9" maxlength="10">&nbsp;{LIMIT_UNIT}</td>
<td class="unlimited">
    <input type="checkbox" class="checkbox" id="fid-{LIMIT}_unlimited" name="{LIMIT}_unlimited" value="true" {LIMIT_UNLIMITED_CHECKED} {LIMIT_UNLIMITED_DISABLED} onClick="return limit_unlimited_oC({LIMIT}, {LIMIT}_unlimited);">
    <label for="fid-{LIMIT}_unlimited">{LIMIT_UNLIMITED_TEXT}</label>
    {LIMIT_SOFT_POINT}
</td>
<!-- END DYNAMIC BLOCK: limit_text -->

<!-- BEGIN DYNAMIC BLOCK: limit_text_boolean -->
<td class="limit"><input type="hidden" name="{LIMIT}" id="fid-{LIMIT}" value="0"></td>
<td class="unlimited">
    <input type="checkbox" class="checkbox" id="fid-{LIMIT}_unlimited" name="{LIMIT}_unlimited" value="true" {LIMIT_UNLIMITED_CHECKED} {LIMIT_UNLIMITED_DISABLED} onClick="return limit_unlimited_oC({LIMIT}, {LIMIT}_unlimited);">
    <label for="fid-{LIMIT}_unlimited">{LIMIT_UNLIMITED_TEXT}</label>
    {LIMIT_SOFT_POINT}
</td>
<!-- END DYNAMIC BLOCK: limit_text_boolean -->

<!-- BEGIN DYNAMIC BLOCK: limit_soft_text -->
<span class="displayNone limit_soft" id="{LIMIT}_block">
    <label for="fid-{LIMIT}">{LIMIT_TEXT}</label>&nbsp;
    <input type="text" name="{LIMIT}" id="fid-{LIMIT}" value="{LIMIT_VALUE}" {LIMIT_INPUT_DISABLED} size="9" maxlength="10">&nbsp;{LIMIT_UNIT}
</span>
<!-- END DYNAMIC BLOCK: limit_soft_text -->

<!-- BEGIN DYNAMIC BLOCK: limit_date -->
<td class="limit">{LIMIT_DATE}</td>
<td class="unlimited">
    <input type="checkbox" class="checkbox" id="fid-{LIMIT}_unlimited" name="{LIMIT}_unlimited" value="true" {LIMIT_UNLIMITED_CHECKED} {LIMIT_UNLIMITED_DISABLED} onClick="limit_unlimited_oC({LIMIT}_days, {LIMIT}_unlimited);limit_unlimited_oC({LIMIT}_months, {LIMIT}_unlimited, true);limit_unlimited_oC({LIMIT}_years, {LIMIT}_unlimited, true);">
    <label for="fid-{LIMIT}_unlimited">{LIMIT_UNLIMITED_TEXT}</label>
    {LIMIT_SOFT_POINT}
</td>
<!-- END DYNAMIC BLOCK: limit_date -->

<!-- BEGIN DYNAMIC BLOCK: limit_mult -->
<td class="limit">
    <input type="text" name="{LIMIT}" id="fid-{LIMIT}" value="{LIMIT_VALUE}" size="9" maxlength="9" {LIMIT_INPUT_DISABLED}>&nbsp;
    {LIMIT_MULT_DROPDOWN}
</td>
<td class="unlimited">
    <input type="checkbox" class="checkbox" id="fid-{LIMIT}_unlimited" name="{LIMIT}_unlimited" value="true" {LIMIT_UNLIMITED_CHECKED} {LIMIT_UNLIMITED_DISABLED} onClick="limit_unlimited_oC({LIMIT}, {LIMIT}_unlimited);limit_unlimited_oC({LIMIT}_mult, {LIMIT}_unlimited);">
    <label for="fid-{LIMIT}_unlimited">{LIMIT_UNLIMITED_TEXT}</label>
    {LIMIT_SOFT_POINT}
</td>
<!-- END DYNAMIC BLOCK: limit_mult -->

<!-- BEGIN DYNAMIC BLOCK: limit_readonly -->
<td classs="limit">{LIMIT_VALUE}&nbsp;{LIMIT_UNIT}</td>
<td classs="unlimited">{LIMIT_SOFT_POINT}</td>
<!-- END DYNAMIC BLOCK: limit_readonly -->

<!-- END DYNAMIC BLOCK: limit_group -->
