From 75631516d45f9355f6c73d6375bf804d2abd587e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 24 Aug 2020 15:26:00 +0200 Subject: [PATCH] Unified usage of the elseif tag in template scripting --- .../files/acp/templates/pluginStorePurchasedItems.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/pluginStorePurchasedItems.tpl b/wcfsetup/install/files/acp/templates/pluginStorePurchasedItems.tpl index cda6026a2a..05c551e212 100644 --- a/wcfsetup/install/files/acp/templates/pluginStorePurchasedItems.tpl +++ b/wcfsetup/install/files/acp/templates/pluginStorePurchasedItems.tpl @@ -27,9 +27,9 @@ {if !$updateServers[$wcfMajorRelease]|isset}

{lang}wcf.acp.pluginStore.purchasedItems.updateServer.missing{/lang}

- {else if $updateServers[$wcfMajorRelease]->isDisabled} + {elseif $updateServers[$wcfMajorRelease]->isDisabled}

{lang}wcf.acp.pluginStore.purchasedItems.updateServer.disabled{/lang}

- {else if $updateServers[$wcfMajorRelease]->lastUpdateTime == 0} + {elseif $updateServers[$wcfMajorRelease]->lastUpdateTime == 0}

{lang}wcf.acp.pluginStore.purchasedItems.updateServer.requireUpdate{/lang}

{/if} @@ -49,11 +49,11 @@ {if $product[status] == 'install'} - {else if $product[status] == 'update'} + {elseif $product[status] == 'update'} - {else if $product[status] == 'upToDate'} + {elseif $product[status] == 'upToDate'} - {else if $product[status] == 'requireUpdate'} + {elseif $product[status] == 'requireUpdate'} {else} -- 2.20.1