Revert some auto formatting
authorCyperghost <olaf_schmitz_1@t-online.de>
Fri, 26 Jan 2024 15:48:09 +0000 (16:48 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Fri, 26 Jan 2024 15:48:09 +0000 (16:48 +0100)
com.woltlab.wcf/templates/articleAdd.tpl
wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php

index 29a2131aa7fc1e456c43bd0f85e106538e0e98f1..2bd9c7b06e4f8d035f03bfcb8b419287edbbfd5b 100644 (file)
                                        isI18n: {if $article->isMultilingual}true{else}false{/if},
                                        languages: { {implode from=$languages item=language glue=', '}{@$language->languageID}: '{$language|encodeJS}'{/implode} }
                                },
-                               '{link controller='ArticleList'}{/link}'
-                       })
+                               redirectUrl: '{link controller='ArticleList'}{/link}'
+                       });
                {/if}
        });
 </script>
                });
                
                {if !$labelGroups|empty}
-                       new WCF.Label.ArticleLabelChooser({ {implode from=$labelGroupsToCategories key=__labelCategoryID item=labelGroupIDs}{@$__labelCategoryID}: [ {implode from=$labelGroupIDs item=labelGroupID}{@$labelGroupID}{/implode} ] {/implode} }, { {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '.articleAddForm')
+                       new WCF.Label.ArticleLabelChooser({ {implode from=$labelGroupsToCategories key=__labelCategoryID item=labelGroupIDs}{@$__labelCategoryID}: [ {implode from=$labelGroupIDs item=labelGroupID}{@$labelGroupID}{/implode} ] {/implode} }, { {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '.articleAddForm');
                {/if}
                
                new WCF.Message.I18nPreview({
index 57681870a918f34523a2a158009c2220ba46df4e..442290e2ff4bc8270757a2577937e6a1d636717e 100755 (executable)
@@ -31,13 +31,13 @@ class SitemapRebuildWorker extends AbstractRebuildDataWorker
     /**
      * The limit of objects in one sitemap file.
      */
-    public const SITEMAP_OBJECT_LIMIT = 25000;
+    const SITEMAP_OBJECT_LIMIT = 25000;
 
     /**
      * Prefix for stored data in the registry.
      * @since 5.3
      */
-    public const REGISTRY_PREFIX = 'sitemapData_';
+    const REGISTRY_PREFIX = 'sitemapData_';
 
     /**
      * @inheritDoc