</div>
{/hascontent}
-{hascontent}
+{if $objects|count}
<div class="section tabularBox">
<table class="table">
<thead>
</thead>
<tbody>
- {content}
- {foreach from=$objects item=cronjobLog}
- <tr>
- <td class="columnID columnCronjobID">{@$cronjobLog->cronjobID}</td>
- <td class="columnTitle columnClassName">{$cronjobLog->className}</td>
- <td class="columnText columnDescription">{$cronjobLog->description|language}</td>
- <td class="columnDate columnExecTime">{if $cronjobLog->execTime}{@$cronjobLog->execTime|time}{/if}</td>
-
- <td class="columnText columnSuccess">
- {if $cronjobLog->success}
- <span class="badge green">{lang}wcf.acp.cronjob.log.success{/lang}</span>
- {elseif $cronjobLog->error}
- <a class="badge red jsTooltip jsCronjobError" title="{lang}wcf.acp.cronjob.log.error.showDetails{/lang}">{lang}wcf.acp.cronjob.log.error{/lang}</a>
- <span style="display: none">{@$cronjobLog->error}</span>
- {/if}
- </td>
-
- {event name='columns'}
- </tr>
- {/foreach}
- {/content}
+ {foreach from=$objects item=cronjobLog}
+ <tr>
+ <td class="columnID columnCronjobID">{@$cronjobLog->cronjobID}</td>
+ <td class="columnTitle columnClassName">{$cronjobLog->className}</td>
+ <td class="columnText columnDescription">{$cronjobLog->description|language}</td>
+ <td class="columnDate columnExecTime">{if $cronjobLog->execTime}{@$cronjobLog->execTime|time}{/if}</td>
+
+ <td class="columnText columnSuccess">
+ {if $cronjobLog->success}
+ <span class="badge green">{lang}wcf.acp.cronjob.log.success{/lang}</span>
+ {elseif $cronjobLog->error}
+ <a class="badge red jsTooltip jsCronjobError" title="{lang}wcf.acp.cronjob.log.error.showDetails{/lang}">{lang}wcf.acp.cronjob.log.error{/lang}</a>
+ <span style="display: none">{@$cronjobLog->error}</span>
+ {/if}
+ </td>
+
+ {event name='columns'}
+ </tr>
+ {/foreach}
</tbody>
</table>
</div>
</nav>
{/hascontent}
</footer>
-{hascontentelse}
+{else}
<p class="info">{lang}wcf.acp.cronjob.log.noEntries{/lang}</p>
-{/hascontent}
+{/if}
{include file='footer'}
</div>
{/hascontent}
-{hascontent}
+{if $objects|count}
<div class="section tabularBox">
<table class="table">
<thead>
</thead>
<tbody>
- {content}
- {foreach from=$objects item=updateServer}
- <tr class="jsUpdateServerRow">
- <td class="columnIcon">
- <span class="icon icon16 fa-{if !$updateServer->isDisabled}check-{/if}square-o jsToggleButton jsTooltip pointer" title="{lang}wcf.global.button.{if !$updateServer->isDisabled}disable{else}enable{/if}{/lang}" data-object-id="{@$updateServer->packageUpdateServerID}"></span>
- <a href="{link controller='PackageUpdateServerEdit' id=$updateServer->packageUpdateServerID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
- <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$updateServer->packageUpdateServerID}" data-confirm-message="{lang}wcf.acp.updateServer.delete.sure{/lang}"></span>
-
- {event name='itemButtons'}
- </td>
- <td class="columnID">{@$updateServer->packageUpdateServerID}</td>
- <td class="columnText columnTitle"><a href="{link controller='PackageUpdateServerEdit' id=$updateServer->packageUpdateServerID}{/link}" title="{lang}wcf.acp.updateServer.edit{/lang}">{$updateServer->serverURL}</a></td>
- <td class="columnDigits">{#$updateServer->packages}</td>
- <td class="columnStatus"><span class="badge{if $updateServer->status == 'online'} green{else} red{/if}">{@$updateServer->status}</span></td>
- <td class="columnText" title="{@$updateServer->errorMessage}">{@$updateServer->errorMessage|truncate:"30"}</td>
- <td class="columnDate">{if $updateServer->lastUpdateTime}{@$updateServer->lastUpdateTime|time}{/if}</td>
+ {foreach from=$objects item=updateServer}
+ <tr class="jsUpdateServerRow">
+ <td class="columnIcon">
+ <span class="icon icon16 fa-{if !$updateServer->isDisabled}check-{/if}square-o jsToggleButton jsTooltip pointer" title="{lang}wcf.global.button.{if !$updateServer->isDisabled}disable{else}enable{/if}{/lang}" data-object-id="{@$updateServer->packageUpdateServerID}"></span>
+ <a href="{link controller='PackageUpdateServerEdit' id=$updateServer->packageUpdateServerID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
+ <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$updateServer->packageUpdateServerID}" data-confirm-message="{lang}wcf.acp.updateServer.delete.sure{/lang}"></span>
- {event name='columns'}
- </tr>
- {/foreach}
- {/content}
+ {event name='itemButtons'}
+ </td>
+ <td class="columnID">{@$updateServer->packageUpdateServerID}</td>
+ <td class="columnText columnTitle"><a href="{link controller='PackageUpdateServerEdit' id=$updateServer->packageUpdateServerID}{/link}" title="{lang}wcf.acp.updateServer.edit{/lang}">{$updateServer->serverURL}</a></td>
+ <td class="columnDigits">{#$updateServer->packages}</td>
+ <td class="columnStatus"><span class="badge{if $updateServer->status == 'online'} green{else} red{/if}">{@$updateServer->status}</span></td>
+ <td class="columnText" title="{@$updateServer->errorMessage}">{@$updateServer->errorMessage|truncate:"30"}</td>
+ <td class="columnDate">{if $updateServer->lastUpdateTime}{@$updateServer->lastUpdateTime|time}{/if}</td>
+
+ {event name='columns'}
+ </tr>
+ {/foreach}
</tbody>
</table>
</ul>
</nav>
</footer>
-{hascontentelse}
+{else}
<p class="info">{lang}wcf.global.noItems{/lang}</p>
-{/hascontent}
+{/if}
{include file='footer'}
</div>
{/hascontent}
-{hascontent}
+{if $objects|count}
<div class="section tabularBox">
<table class="table">
<thead>
</thead>
<tbody>
- {content}
- {foreach from=$objects item=userRank}
- <tr class="jsUserRankRow">
- <td class="columnIcon">
- <a href="{link controller='UserRankEdit' id=$userRank->rankID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
- <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$userRank->rankID}" data-confirm-message="{lang}wcf.acp.user.rank.delete.sure{/lang}"></span>
-
- {event name='rowButtons'}
- </td>
- <td class="columnID columnRankID">{@$userRank->rankID}</td>
- <td class="columnTitle columnRankTitle"><a href="{link controller='UserRankEdit' id=$userRank->rankID}{/link}" title="{lang}wcf.acp.user.rank.edit{/lang}" class="badge label{if $userRank->cssClassName} {$userRank->cssClassName}{/if}">{$userRank->rankTitle|language}</a></td>
- <td class="columnText columnRankImage">{if $userRank->rankImage}{@$userRank->getImage()}{/if}</td>
- <td class="columnText columnGroupID">{$userRank->groupName|language}</td>
- <td class="columnText columnRequiredGender">{if $userRank->requiredGender}{if $userRank->requiredGender == 1}{lang}wcf.user.gender.male{/lang}{else}{lang}wcf.user.gender.female{/lang}{/if}{/if}</td>
- <td class="columnDigits columnRequiredPoints">{#$userRank->requiredPoints}</td>
+ {foreach from=$objects item=userRank}
+ <tr class="jsUserRankRow">
+ <td class="columnIcon">
+ <a href="{link controller='UserRankEdit' id=$userRank->rankID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
+ <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$userRank->rankID}" data-confirm-message="{lang}wcf.acp.user.rank.delete.sure{/lang}"></span>
- {event name='columns'}
- </tr>
- {/foreach}
- {/content}
+ {event name='rowButtons'}
+ </td>
+ <td class="columnID columnRankID">{@$userRank->rankID}</td>
+ <td class="columnTitle columnRankTitle"><a href="{link controller='UserRankEdit' id=$userRank->rankID}{/link}" title="{lang}wcf.acp.user.rank.edit{/lang}" class="badge label{if $userRank->cssClassName} {$userRank->cssClassName}{/if}">{$userRank->rankTitle|language}</a></td>
+ <td class="columnText columnRankImage">{if $userRank->rankImage}{@$userRank->getImage()}{/if}</td>
+ <td class="columnText columnGroupID">{$userRank->groupName|language}</td>
+ <td class="columnText columnRequiredGender">{if $userRank->requiredGender}{if $userRank->requiredGender == 1}{lang}wcf.user.gender.male{/lang}{else}{lang}wcf.user.gender.female{/lang}{/if}{/if}</td>
+ <td class="columnDigits columnRequiredPoints">{#$userRank->requiredPoints}</td>
+
+ {event name='columns'}
+ </tr>
+ {/foreach}
</tbody>
</table>
</div>
</ul>
</nav>
</footer>
-{hascontentelse}
+{else}
<p class="info">{lang}wcf.global.noItems{/lang}</p>
-{/hascontent}
+{/if}
{include file='footer'}