From: Marcel Werk Date: Mon, 24 Aug 2020 13:26:00 +0000 (+0200) Subject: Unified usage of the elseif tag in template scripting X-Git-Tag: 5.3.0_Alpha_1~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=75631516d45f9355f6c73d6375bf804d2abd587e;p=GitHub%2FWoltLab%2FWCF.git Unified usage of the elseif tag in template scripting --- 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}