$(function() {
new WCF.Action.Delete('wcf\\data\\captcha\\question\\CaptchaQuestionAction', '.jsQuestionRow');
new WCF.Action.Toggle('wcf\\data\\captcha\\question\\CaptchaQuestionAction', '.jsQuestionRow');
-
- var options = { };
- {if $pages > 1}
- options.refreshPage = true;
- {if $pages == $pageNo}
- options.updatePageNumber = -1;
- {/if}
- {else}
- options.emptyMessage = '{jslang}wcf.global.noItems{/jslang}';
- {/if}
-
- new WCF.Table.EmptyTableHandler($('#captchaQuestionTabelContainer'), 'jsQuestionRow', options);
});
</script>
</tr>
</thead>
- <tbody>
+ <tbody class="jsReloadPageWhenEmpty">
{content}
{foreach from=$objects item='question'}
<tr class="jsQuestionRow">
</tr>
</thead>
- <tbody>
+ <tbody class="jsReloadPageWhenEmpty">
{foreach from=$objects item=logEntry}
<tr class="jsObjectRow">
<td class="columnIcon">
new UiDevtoolsMissingLanguageItemList.default();
new WCF.Action.Delete('wcf\\data\\devtools\\missing\\language\\item\\DevtoolsMissingLanguageItemAction', '.jsObjectRow');
-
- var options = { };
- {if $pages > 1}
- options.refreshPage = true;
- {if $pages == $pageNo}
- options.updatePageNumber = -1;
- {/if}
- {else}
- options.emptyMessage = '{jslang}wcf.global.noItems{/jslang}';
- {/if}
- new WCF.Table.EmptyTableHandler($('#missingLanguageItemTable'), 'jsObjectRow', options);
});
</script>
{else}
<script data-relocate="true">
$(function() {
new WCF.Action.Delete('wcf\\data\\label\\group\\LabelGroupAction', '.jsLabelGroupRow');
-
- var options = { };
- {if $pages > 1}
- options.refreshPage = true;
- {if $pages == $pageNo}
- options.updatePageNumber = -1;
- {/if}
- {else}
- options.emptyMessage = '{jslang}wcf.global.noItems{/jslang}';
- {/if}
-
- new WCF.Table.EmptyTableHandler($('#labelGroupTableContainer'), 'jsLabelGroupRow', options);
});
</script>
</tr>
</thead>
- <tbody>
+ <tbody class="jsReloadPageWhenEmpty">
{foreach from=$objects item=group}
<tr class="jsLabelGroupRow">
<td class="columnIcon">
$(function() {
new WCF.Action.Delete('wcf\\data\\label\\LabelAction', '.jsLabelRow');
- var options = { };
- {if $pages > 1}
- options.refreshPage = true;
- {if $pages == $pageNo}
- options.updatePageNumber = -1;
- {/if}
- {else}
- options.emptyMessage = '{jslang}wcf.global.noItems{/jslang}';
- {/if}
-
- new WCF.Table.EmptyTableHandler($('#labelTableContainer'), 'jsLabelRow', options);
-
{if $labelGroup && !$labelSearch && !$cssClassName && $items > 1}
new WCF.Sortable.List('labelTableContainer', 'wcf\\data\\label\\LabelAction', {@$startIndex}, {
items: 'tr',
</tr>
</thead>
- <tbody{if $labelGroup && !$labelSearch && !$cssClassName && $items > 1} class="sortableList" data-object-id="{@$labelGroup->groupID}"{/if}>
+ <tbody class="jsReloadPageWhenEmpty{if $labelGroup && !$labelSearch && !$cssClassName && $items > 1} sortableList" data-object-id="{@$labelGroup->groupID}{/if}">
{foreach from=$objects item=label}
<tr class="jsLabelRow{if $labelGroup && !$labelSearch && !$cssClassName && $items > 1} sortableNode" data-object-id="{@$label->labelID}{/if}">
<td class="columnIcon">
</tr>
</thead>
- <tbody>
+ <tbody class="jsReloadPageWhenEmpty">
{foreach from=$objects item=tag}
<tr class="jsTagRow jsClipboardObject">
<td class="columnMark"><input type="checkbox" class="jsClipboardItem" data-object-id="{@$tag->tagID}"></td>
<script data-relocate="true">
$(function() {
new WCF.Action.Delete('wcf\\data\\template\\group\\TemplateGroupAction', '.jsTemplateGroupRow');
-
- var options = { };
- {if $pages > 1}
- options.refreshPage = true;
- {if $pages == $pageNo}
- options.updatePageNumber = -1;
- {/if}
- {else}
- options.emptyMessage = '{jslang}wcf.global.noItems{/jslang}';
- {/if}
-
- new WCF.Table.EmptyTableHandler($('#templateGroupTableContainer'), 'jsTemplateGroupRow', options);
});
</script>
</tr>
</thead>
- <tbody>
+ <tbody class="jsReloadPageWhenEmpty">
{foreach from=$objects item=templateGroup}
<tr class="jsTemplateGroupRow">
<td class="columnIcon">
<script data-relocate="true">
$(function() {
new WCF.Action.Delete('wcf\\data\\template\\TemplateAction', '.jsTemplateRow');
-
- var options = { };
- {if $pages > 1}
- options.refreshPage = true;
- {if $pages == $pageNo}
- options.updatePageNumber = -1;
- {/if}
- {else}
- options.emptyMessage = '{jslang}wcf.global.noItems{/jslang}';
- {/if}
-
- new WCF.Table.EmptyTableHandler($('#templateTableContainer'), 'jsTemplateRow', options);
});
</script>
</tr>
</thead>
- <tbody>
+ <tbody class="jsReloadPageWhenEmpty">
{foreach from=$objects item=template}
{if $template->canCopy()}
<tr class="jsTemplateRow">
$(function() {
new WCF.Action.Delete('wcf\\data\\user\\group\\assignment\\UserGroupAssignmentAction', '.jsUserGroupAssignmentRow');
new WCF.Action.Toggle('wcf\\data\\user\\group\\assignment\\UserGroupAssignmentAction', '.jsUserGroupAssignmentRow');
-
- var options = { };
- {if $pages > 1}
- options.refreshPage = true;
- {if $pages == $pageNo}
- options.updatePageNumber = -1;
- {/if}
- {else}
- options.emptyMessage = '{jslang}wcf.global.noItems{/jslang}';
- {/if}
-
- new WCF.Table.EmptyTableHandler($('#userGroupAssignmentTableContainer'), 'jsUserGroupAssignmentRow', options);
});
</script>
</tr>
</thead>
- <tbody>
+ <tbody class="jsReloadPageWhenEmpty">
{foreach from=$objects item='assignment'}
<tr class="jsUserGroupAssignmentRow">
<td class="columnIcon">
WCF.Clipboard.init('wcf\\acp\\page\\UserListPage', {@$hasMarkedItems}, actionObjects);
- var options = { };
- {if $pages > 1}
- options.refreshPage = true;
- {/if}
-
- new WCF.Table.EmptyTableHandler($('#userTableContainer'), 'jsUserRow', options);
-
WCF.Language.addObject({
'wcf.acp.user.banReason': '{jslang}wcf.acp.user.banReason{/jslang}',
'wcf.acp.user.banReason.description': '{jslang}wcf.acp.user.banReason.description{/jslang}',
</tr>
</thead>
- <tbody>
+ <tbody class="jsReloadPageWhenEmpty">
{foreach from=$users item=user}
<tr class="jsUserRow jsClipboardObject" data-object-id="{@$user->userID}" data-banned="{if $user->banned}true{else}false{/if}" data-enabled="{if !$user->activationCode}true{else}false{/if}" data-email-confirmed="{if $user->isEmailConfirmed()}true{else}false{/if}">
<td class="columnMark"><input type="checkbox" class="jsClipboardItem" data-object-id="{@$user->userID}"></td>