Fixed missing section headlines in list of purchase store items
authorMarcel Werk <burntime@woltlab.com>
Tue, 20 Mar 2018 17:22:09 +0000 (18:22 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 20 Mar 2018 17:22:09 +0000 (18:22 +0100)
wcfsetup/install/files/acp/templates/pluginStorePurchasedItems.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index a48ee60b459a3f7b822526cc40ecaba56e9ae528..6c80697486841551541f6927e5af64213cf91c67 100644 (file)
 
 {foreach from=$wcfMajorReleases item=wcfMajorRelease}
        {if !$productData[$wcfMajorRelease]|empty}
-               {if !$updateServers[$wcfMajorRelease]|isset}
-                       <p class="warning">{lang}wcf.acp.pluginStore.purchasedItems.updateServer.missing{/lang}</p>
-               {else if $updateServers[$wcfMajorRelease]->isDisabled}
-                       <p class="warning">{lang}wcf.acp.pluginStore.purchasedItems.updateServer.disabled{/lang}</p>
-               {else if $updateServers[$wcfMajorRelease]->lastUpdateTime == 0}
-                       <p class="warning">{lang}wcf.acp.pluginStore.purchasedItems.updateServer.requireUpdate{/lang}</p>
-               {/if}
-               
-               <div class="section tabularBox">
+               <section class="section tabularBox">
+                       <h2 class="sectionTitle">{lang}wcf.acp.pluginStore.purchasedItems.wcfMajorRelease{/lang}</h2>
+                       
+                       {if !$updateServers[$wcfMajorRelease]|isset}
+                               <p class="warning">{lang}wcf.acp.pluginStore.purchasedItems.updateServer.missing{/lang}</p>
+                       {else if $updateServers[$wcfMajorRelease]->isDisabled}
+                               <p class="warning">{lang}wcf.acp.pluginStore.purchasedItems.updateServer.disabled{/lang}</p>
+                       {else if $updateServers[$wcfMajorRelease]->lastUpdateTime == 0}
+                               <p class="warning">{lang}wcf.acp.pluginStore.purchasedItems.updateServer.requireUpdate{/lang}</p>
+                       {/if}
+                       
                        <table class="table">
                                <thead>
                                        <tr>
@@ -65,7 +67,7 @@
                                        {/foreach}
                                </tbody>
                        </table>
-               </div>
+               </section>
        {/if}
 {/foreach}
 
index 0e8c457baa59253bd1408f489a78236fdddbe975..ad8291d1872cef7566d433e50bc95000f54830b9 100644 (file)
@@ -1468,6 +1468,7 @@ GmbH=Gesellschaft mit beschränkter Haftung]]></item>
                <item name="wcf.acp.pluginStore.purchasedItems.updateServer.disabled"><![CDATA[Der Paket-Server für „{$wcfMajorRelease}“ („http://store.woltlab.com/{$wcfMajorRelease}/“) ist deaktiviert und steht weder für Neuinstallation noch Updates zur Verfügung.]]></item>
                <item name="wcf.acp.pluginStore.purchasedItems.updateServer.missing"><![CDATA[Der Paket-Server für „{$wcfMajorRelease}“ ist bei {if LANGUAGE_USE_INFORMAL_VARIANT}dir{else}Ihnen{/if} nicht eingetragen. Wenn {if LANGUAGE_USE_INFORMAL_VARIANT}du{else}Sie{/if} die unten stehenden Pakete installieren {if LANGUAGE_USE_INFORMAL_VARIANT}möchtest{else}möchten{/if}, {if LANGUAGE_USE_INFORMAL_VARIANT}musst du{else}müssen Sie{/if} diesen zuvor <a href="{link controller='PackageUpdateServerAdd'}{/link}">hinzufügen</a>.<br>Die Adresse des Servers lautet: „http://store.woltlab.com/{$wcfMajorRelease}/“]]></item>
                <item name="wcf.acp.pluginStore.purchasedItems.updateServer.requireUpdate"><![CDATA[Der Paket-Server für „{$wcfMajorRelease}“ („http://store.woltlab.com/{$wcfMajorRelease}/“) wurde noch nicht abgefragt, bitte {if LANGUAGE_USE_INFORMAL_VARIANT}lass{else}lassen Sie{/if} zuerst nach Updates suchen, um den Server abzufragen.]]></item>
+               <item name="wcf.acp.pluginStore.purchasedItems.wcfMajorRelease"><![CDATA[Paket-Server für „{$wcfMajorRelease}“]]></item>
        </category>
        
        <category name="wcf.acp.rebuildData">
index 2b8f361df168dfde36e43482190d7f367288e7ad..55876eace04deddecc83b4311c75b9c63c7b393b 100644 (file)
                <item name="wcf.acp.pluginStore.purchasedItems.updateServer.disabled"><![CDATA[The Update-Server for “{$wcfMajorRelease}” (“http://store.woltlab.com/{$wcfMajorRelease}/”) is disabled and cannot be used for new installs or updates.]]></item>
                <item name="wcf.acp.pluginStore.purchasedItems.updateServer.missing"><![CDATA[The Update-Server for “{$wcfMajorRelease}” does not exist in your installation. If you wish to install the packages below, you must <a href="{link controller='PackageUpdateServerAdd'}{/link}">add it</a>.<br>The server address is: “http://store.woltlab.com/{$wcfMajorRelease}/”]]></item>
                <item name="wcf.acp.pluginStore.purchasedItems.updateServer.requireUpdate"><![CDATA[The Update-Server for “{$wcfMajorRelease}” has not been queried yet, please search for updates to fetch the package list.]]></item>
+               <item name="wcf.acp.pluginStore.purchasedItems.wcfMajorRelease"><![CDATA[Update-Server for “{$wcfMajorRelease}”]]></item>
        </category>
        
        <category name="wcf.acp.rebuildData">