1 {include file='header' pageTitle='wcf.acp.captcha.question.list'}
3 <header class="contentHeader">
4 <div class="contentHeaderTitle">
5 <h1 class="contentTitle">{lang}wcf.acp.captcha.question.list{/lang}{if $items} <span class="badge badgeInverse">{#$items}</span>{/if}</h1>
8 <nav class="contentHeaderNavigation">
10 <li><a href="{link controller='CaptchaQuestionAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.captcha.question.add{/lang}</span></a></li>
12 {event name='contentHeaderNavigation'}
18 <div class="paginationTop">
19 {content}{pages print=true assign=pagesLinks controller="CaptchaQuestionList" link="pageNo=%d"}{/content}
24 <div id="captchaQuestionTabelContainer" class="section tabularBox">
25 <table class="table jsObjectActionContainer" data-object-action-class-name="wcf\data\captcha\question\CaptchaQuestionAction">
28 <th class="columnID columnQuestionID active ASC" colspan="2">{lang}wcf.global.objectID{/lang}</th>
29 <th class="columnText columnQuestion">{lang}wcf.acp.captcha.question.question{/lang}</th>
31 {event name='columnHeads'}
35 <tbody class="jsReloadPageWhenEmpty">
37 {foreach from=$objects item='question'}
38 <tr class="jsQuestionRow jsObjectActionObject" data-object-id="{@$question->getObjectID()}">
39 <td class="columnIcon">
40 <span class="icon icon16 fa-{if !$question->isDisabled}check-{/if}square-o jsObjectAction jsTooltip pointer" title="{lang}wcf.global.button.{if $question->isDisabled}enable{else}disable{/if}{/lang}" data-object-action="toggle"></span>
41 <a href="{link controller='CaptchaQuestionEdit' id=$question->questionID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
42 <span class="icon icon16 fa-times jsObjectAction jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-action="delete" data-confirm-message="{lang __encode=true}wcf.acp.captcha.question.delete.confirmMessage{/lang}"></span>
44 {event name='rowButtons'}
46 <td class="columnID columnQuestionID">{$question->questionID}</td>
47 <td class="columnText columnQuestion"><a href="{link controller='CaptchaQuestionEdit' id=$question->questionID}{/link}">{$question->getQuestion()}</a></td>
49 {event name='columns'}
57 <p class="info">{lang}wcf.global.noItems{/lang}</p>
60 <footer class="contentFooter">
62 <div class="paginationBottom">
63 {content}{@$pagesLinks}{/content}
67 <nav class="contentFooterNavigation">
69 <li><a href="{link controller='CaptchaQuestionAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.captcha.question.add{/lang}</span></a></li>
71 {event name='contentFooterNavigation'}
76 {include file='footer'}