From 0b112278b1f9c95293abb5ef6ebff5f35a96f129 Mon Sep 17 00:00:00 2001 From: Kiv4h Date: Wed, 16 May 2012 20:18:23 +0200 Subject: [PATCH] templateEvent added and check-state fixed --- .../files/acp/templates/cronjobList.tpl | 31 +++++++++-------- .../acp/templates/packageUpdateSearch.tpl | 4 +-- .../templates/packageUpdateSearchResult.tpl | 33 ++++++++++--------- 3 files changed, 37 insertions(+), 31 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/cronjobList.tpl b/wcfsetup/install/files/acp/templates/cronjobList.tpl index 52de80cf8f..a3e941fc50 100644 --- a/wcfsetup/install/files/acp/templates/cronjobList.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobList.tpl @@ -134,21 +134,26 @@ - -
- {@$pagesLinks} - - {* todo: add large button event *} - {if $__wcf->session->getPermission('admin.system.cronjob.canAddCronjob')} - - {/if} -
{hascontentelse}

{lang}wcf.acp.cronjob.noneAvailable{/lang}

{/hascontent} +
+ {@$pagesLinks} + + {hascontent} + + {/hascontent} +
+ {include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/packageUpdateSearch.tpl b/wcfsetup/install/files/acp/templates/packageUpdateSearch.tpl index 26cedff95c..1db7e142c1 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateSearch.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateSearch.tpl @@ -14,7 +14,7 @@ $checked = $count; } else { - $('input[name="packageUpdateServerIDs[]"]').attr('checked', ''); + $('input[name="packageUpdateServerIDs[]"]').attr('checked', false); $checked = 0; } }); @@ -29,7 +29,7 @@ } } else { - $('input[name="checkUncheck"]').attr('checked', ''); + $('input[name="checkUncheck"]').attr('checked', false); $checked--; } }); diff --git a/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl b/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl index fc4ec2cffe..13f2b28ee6 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl @@ -75,22 +75,23 @@
{lang}wcf.acp.packageUpdate.options{/lang} -
-
    - {* new installation *} - {if $package.isUnique && !$package.updatableInstances|count} -
  • {lang}wcf.acp.packageUpdate.options.alreadyInstalledUnique{/lang}
  • - {/if} - {if !$package.isUnique} -
  • - {/if} - - {* update *} - {foreach from=$package.updatableInstances item=updatableInstance} -
  • - {/foreach} - -
+
+ {* new installation *} + {if $package.isUnique && !$package.updatableInstances|count} +
+
{lang}wcf.acp.packageUpdate.options.alreadyInstalledUnique{/lang} + {/if} + {if !$package.isUnique} +
+
+ {/if} + + {* update *} + {foreach from=$package.updatableInstances item=updatableInstance} +
+
+ {/foreach} +
-- 2.20.1