Revert some auto formatting
authorCyperghost <olaf_schmitz_1@t-online.de>
Fri, 26 Jan 2024 15:50:07 +0000 (16:50 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Fri, 26 Jan 2024 15:50:07 +0000 (16:50 +0100)
com.woltlab.wcf/templates/articleList.tpl
com.woltlab.wcf/templates/categoryArticleList.tpl
com.woltlab.wcf/templates/shared_aclPermissionJavaScript.tpl

index 6bc3e6b5a170de4269341544feacb6d398245114..8492fa0a294139a3d3e19bb6ee31c46a8fe92cee 100644 (file)
@@ -47,7 +47,7 @@
                                        'wcf.label.withoutSelection': '{jslang}wcf.label.withoutSelection{/jslang}'
                                });
                                
-                               new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true)
+                               new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true);
                        });
                </script>
        {/if}
index cf6985b34ae1e41baa1602c953279c22e57060c8..392e7c8fadc54b6fa4f1a348e068b306aeefdd6a 100644 (file)
@@ -52,7 +52,7 @@
                                        'wcf.label.withoutSelection': '{jslang}wcf.label.withoutSelection{/jslang}'
                                });
                                
-                               new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true)
+                               new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true);
                        });
                </script>
        {/if}
index 50553812a2e10892aac5b05b062aa3a5da534bd5..3b552765f79a1ec79a048f50bfff26ac01a39f1d 100644 (file)
                                                        
                                                        {if !$categoryName|isset || ($__categoryNameStart|isset && $__optionCategoryName|str_starts_with:$__categoryNameStart) || (!$__categoryNameStart|isset && $__optionCategoryName == $categoryName)}
                                                                {@$__optionID}: {
-                                                                       '{@$__optionData[categoryName]|encodeJS}',
+                                                                       categoryName: '{@$__optionData[categoryName]|encodeJS}',
                                                                        label: '{@$__optionData[label]|encodeJS}',
                                                                        optionName: '{@$__optionData[optionName]|encodeJS}'
                                                                },
                                                        {/if}
                                                {/foreach}
                                        },
-                                       {
+                                       categories: {
                                                {implode from=$aclValues[$objectTypeID][categories] key='__category' item='__categoryName'}
                                                        '{@$__category|encodeJS}': '{@$__categoryName|encodeJS}'
                                                {/implode}
                                        },
-                                       {
+                                       user: {
                                                {if $aclValues[$objectTypeID][user]|isset}
-                                                       {
+                                                       option: {
                                                                {foreach from=$aclValues[$objectTypeID][user][option] key='__userID' item='__optionData'}
                                                                        {hascontent}
                                                                                {@$__userID}: {
                                                                        {/hascontent}
                                                                {/foreach}
                                                        },
-                                                       { }
+                                                       label: { }
                                                {/if}
                                        },
-                                       {
+                                       group: {
                                                {if $aclValues[$objectTypeID][group]|isset}
-                                                       {
+                                                       option: {
                                                                {foreach from=$aclValues[$objectTypeID][group][option] key='__groupID' item='__optionData'}
                                                                        {hascontent}
                                                                                {@$__groupID}: {
                                                                        {/hascontent}
                                                                {/foreach}
                                                        },
-                                                       { }
+                                                       label: { }
                                                {/if}
                                        }
                                }
-                       }
+                       };
                        
                        {if $aclValues[$objectTypeID][user]|isset}
                                {foreach from=$aclValues[$objectTypeID][user][label] key='__userID' item='__label'}
@@ -96,7 +96,7 @@
                        {if !$includeUserGroups|isset || $includeUserGroups}true{else}false{/if},
                        {if $aclValues[$objectTypeID]|isset}initialPermissions{else}undefined{/if},
                        {if $aclValuesFieldName|isset}'{@$aclValuesFieldName}'{else}undefined{/if}
-               )
+               );
                
                {if !$aclFormBuilderMode|empty}
                        require(['WoltLabSuite/Core/Form/Builder/Manager'], function(FormBuilderManager) {