</table>
</div>
-
- <div class="contentNavigation">
- {@$pagesLinks}
-
- {* todo: add large button event *}
- {if $__wcf->session->getPermission('admin.system.cronjob.canAddCronjob')}
- <nav>
- <ul class="wcf-largeButtons">
- <li><a href="{link controller='CronjobAdd'}{/link}" title="{lang}wcf.acp.cronjob.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.cronjob.add{/lang}</span></a></li>
- </ul>
- </nav>
- {/if}
- </div>
{hascontentelse}
<p class="warning">{lang}wcf.acp.cronjob.noneAvailable{/lang}</p>
{/hascontent}
+<div class="contentNavigation">
+ {@$pagesLinks}
+
+ {hascontent}
+ <nav>
+ <ul>
+ {content}
+ {if $__wcf->session->getPermission('admin.system.cronjob.canAddCronjob')}
+ <li><a href="{link controller='CronjobAdd'}{/link}" title="{lang}wcf.acp.cronjob.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.cronjob.add{/lang}</span></a></li>
+ {/if}
+
+ {event name='largeButtons'}
+ {/content}
+ </ul>
+ </nav>
+ {/hascontent}
+</div>
+
{include file='footer'}
$checked = $count;
}
else {
- $('input[name="packageUpdateServerIDs[]"]').attr('checked', '');
+ $('input[name="packageUpdateServerIDs[]"]').attr('checked', false);
$checked = 0;
}
});
}
}
else {
- $('input[name="checkUncheck"]').attr('checked', '');
+ $('input[name="checkUncheck"]').attr('checked', false);
$checked--;
}
});
<fieldset>
<legend>{lang}wcf.acp.packageUpdate.options{/lang}</legend>
- <div><!-- ToDo: Definition List -->
- <ul>
- {* new installation *}
- {if $package.isUnique && !$package.updatableInstances|count}
- <li>{lang}wcf.acp.packageUpdate.options.alreadyInstalledUnique{/lang}</li>
- {/if}
- {if !$package.isUnique}
- <li><label><input type="checkbox" id="updates-{$package.package}" name="updates[{$package.package}]" value="{$package.packageVersion}" {if $selectedPackages[$package.package]|isset}checked="checked" {/if}/> {if $package.instances}{lang}wcf.acp.packageUpdate.options.installAlreadyInstalled{/lang}{else}{lang}wcf.acp.packageUpdate.options.install{/lang}{/if}</label></li>
- {/if}
-
- {* update *}
- {foreach from=$package.updatableInstances item=updatableInstance}
- <li><label><input type="checkbox" id="updates-{$updatableInstance.packageID}" name="updates[{$updatableInstance.packageID}]" value="{$package.packageVersion}" {if $selectedPackages[$updatableInstance.packageID]|isset}checked="checked" {/if}/> {lang}wcf.acp.packageUpdate.options.update{/lang}</label></li>
- {/foreach}
- </<ul>
- </div>
+ <dl>
+ {* new installation *}
+ {if $package.isUnique && !$package.updatableInstances|count}
+ <dt></dt>
+ <dt>{lang}wcf.acp.packageUpdate.options.alreadyInstalledUnique{/lang}</dd>
+ {/if}
+ {if !$package.isUnique}
+ <dt></dt>
+ <dd><label><input type="checkbox" id="updates-{$package.package}" name="updates[{$package.package}]" value="{$package.packageVersion}" {if $selectedPackages[$package.package]|isset}checked="checked" {/if}/> {if $package.instances}{lang}wcf.acp.packageUpdate.options.installAlreadyInstalled{/lang}{else}{lang}wcf.acp.packageUpdate.options.install{/lang}{/if}</label></dd>
+ {/if}
+
+ {* update *}
+ {foreach from=$package.updatableInstances item=updatableInstance}
+ <dt></dt>
+ <dd><label><input type="checkbox" id="updates-{$updatableInstance.packageID}" name="updates[{$updatableInstance.packageID}]" value="{$package.packageVersion}" {if $selectedPackages[$updatableInstance.packageID]|isset}checked="checked" {/if}/> {lang}wcf.acp.packageUpdate.options.update{/lang}</label></dd>
+ {/foreach}
+ </dl>
</fieldset>
</div>