Unify indentation in templates
authorMarcel Werk <burntime@woltlab.com>
Wed, 7 Feb 2024 13:58:55 +0000 (14:58 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 7 Feb 2024 13:58:55 +0000 (14:58 +0100)
26 files changed:
com.woltlab.wcf/templates/__userObjectWatchButton.tpl
com.woltlab.wcf/templates/boxRecentActivity.tpl
com.woltlab.wcf/templates/commentEditor.tpl
com.woltlab.wcf/templates/commentResponseEditor.tpl
com.woltlab.wcf/templates/documentHeader.tpl
com.woltlab.wcf/templates/googleMapsElement.tpl
com.woltlab.wcf/templates/headIncludeIcons.tpl
com.woltlab.wcf/templates/moderationReportRemoveContent.tpl
com.woltlab.wcf/templates/moderationReportRemoveReport.tpl
com.woltlab.wcf/templates/reactionSummaryList.tpl
com.woltlab.wcf/templates/shared_colorFormField.tpl
com.woltlab.wcf/templates/shared_lineBreakSeparatedTextOptionType.tpl
com.woltlab.wcf/templates/shared_sourceCodeFormField.tpl
com.woltlab.wcf/templates/shared_valueIntervalFormFieldDependency.tpl
com.woltlab.wcf/templates/signatureEdit.tpl
wcfsetup/install/files/acp/templates/__devtoolsProjectPathPasteHelper.tpl
wcfsetup/install/files/acp/templates/__objectActionDeleteIcon.tpl
wcfsetup/install/files/acp/templates/__objectActionToogleIcon.tpl
wcfsetup/install/files/acp/templates/__pageAddContent.tpl
wcfsetup/install/files/acp/templates/labelGroupList.tpl
wcfsetup/install/files/acp/templates/license.tpl
wcfsetup/install/files/acp/templates/packageEnableUpgradeOverrideIssues.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionAdd.tpl
wcfsetup/install/files/acp/templates/sitemapEntry.tpl
wcfsetup/install/files/acp/templates/sitemapIndex.tpl
wcfsetup/install/files/acp/templates/styleAdd.tpl

index d23c87a6bddd8ecee8b54b4672e843c41843d154..88a87442499dab1a3893bd392eca8ae5202cc98b 100644 (file)
@@ -19,8 +19,8 @@
                        </li>
                </ul>
        </div>
-    
-    <script data-relocate="true">
+
+       <script data-relocate="true">
                require(['WoltLabSuite/Core/Ui/User/ObjectWatch', 'WoltLabSuite/Core/Language'], (ObjectWatch, Language) => {
                        Language.addObject({
                                'wcf.user.objectWatch.button.subscribe': '{jslang}wcf.user.objectWatch.button.subscribe{/jslang}',
@@ -29,5 +29,5 @@
 
                        ObjectWatch.setup();
                });
-    </script>
+       </script>
 {/if}
index abc41fcf1d864564c11b5f935e639663af920205..aa23e1a75770a8a01162276f1028f60a53723774 100644 (file)
@@ -6,11 +6,11 @@
        {assign var='__events' value=$eventList->getObjects()}
        {assign var='__lastEvent' value=$__events|end}
        <ul class="containerList recentActivityList"
-           data-last-event-time="{@$lastEventTime}"
-           data-last-event-id="{if $__lastEvent}{@$__lastEvent->eventID}{else}0{/if}"
-           data-filtered-by-followed-users="{if $filteredByFollowedUsers}true{else}false{/if}"
-           data-user-id="0"
-           data-box-id="{@$boxID}"
+               data-last-event-time="{@$lastEventTime}"
+               data-last-event-id="{if $__lastEvent}{@$__lastEvent->eventID}{else}0{/if}"
+               data-filtered-by-followed-users="{if $filteredByFollowedUsers}true{else}false{/if}"
+               data-user-id="0"
+               data-box-id="{@$boxID}"
        >
                {if $canFilterByFollowedUsers}
                        <li class="containerListButtonGroup jsOnly jsRecentActivitySwitchContext">
index 4d3b8e62fde5983ffd4623271df6183ded27cb45..9c6f7fd487f1e23c34b8e107511b38e141022825 100644 (file)
@@ -1,7 +1,7 @@
 {capture assign='wysiwygSelector'}commentEditor{@$comment->commentID}{/capture}
 <textarea id="{$wysiwygSelector}" class="wysiwygTextarea"
-          data-disable-attachments="true"
-          data-support-mention="true"
+       data-disable-attachments="true"
+       data-support-mention="true"
 >{$comment->message}</textarea>
 {include file='messageFormTabsInline'}
 
index 41824b3f17edb75a297bc665f3948d22908ba79f..910e55447bf0603ea380c88ef2ec7c4cf8703de9 100644 (file)
@@ -1,7 +1,7 @@
 {capture assign='wysiwygSelector'}commentResponseEditor{@$response->responseID}{/capture}
 <textarea id="{$wysiwygSelector}" class="wysiwygTextarea"
-          data-disable-attachments="true"
-          data-support-mention="true"
+       data-disable-attachments="true"
+       data-support-mention="true"
 >{$response->message}</textarea>
 {include file='messageFormTabsInline'}
 
index 93e4222a84e74680879acfa87b4e48c11b9ded54..ace9f8605fd004c48057a000b794d1d405e38205 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE html>
 <html
-    dir="{lang}wcf.global.pageDirection{/lang}"
-    lang="{$__wcf->language->getBcp47()}"
-    data-color-scheme="{$__wcf->getStyleHandler()->getColorScheme()}"
+       dir="{lang}wcf.global.pageDirection{/lang}"
+       lang="{$__wcf->language->getBcp47()}"
+       data-color-scheme="{$__wcf->getStyleHandler()->getColorScheme()}"
 >
index f31036fc59d284e6b4ed65c7f7d89cfbe5ff7360..7209d793ab55ae030e1f7b74ac524651a40949ae 100644 (file)
@@ -1,21 +1,21 @@
 {if !MESSAGE_ENABLE_USER_CONSENT || ($__wcf->user->userID && $__wcf->user->getUserOption('enableEmbeddedMedia'))}
-    {assign var='googleMapsHidden' value=false}
+       {assign var='googleMapsHidden' value=false}
 {else}
-    {assign var='googleMapsHidden' value=true}
+       {assign var='googleMapsHidden' value=true}
 {/if}
 
 <woltlab-core-google-maps
-    id="{$googleMapsElementID}"
-    class="googleMap"
-    api-key="{GOOGLE_MAPS_API_KEY}"
-    zoom="{GOOGLE_MAPS_ZOOM}"
-    lat="{if !$googleMapsLat|empty}{$googleMapsLat}{else}{GOOGLE_MAPS_DEFAULT_LATITUDE}{/if}"
-    lng="{if !$googleMapsLng|empty}{$googleMapsLng}{else}{GOOGLE_MAPS_DEFAULT_LONGITUDE}{/if}"
-    {if !$googleMapsBounds|empty}bounds="{$googleMapsBounds|json}"{/if}
-    {if !$accessUserLocation|empty}access-user-location{/if}
-    {if $googleMapsHidden}hidden{/if}
+       id="{$googleMapsElementID}"
+       class="googleMap"
+       api-key="{GOOGLE_MAPS_API_KEY}"
+       zoom="{GOOGLE_MAPS_ZOOM}"
+       lat="{if !$googleMapsLat|empty}{$googleMapsLat}{else}{GOOGLE_MAPS_DEFAULT_LATITUDE}{/if}"
+       lng="{if !$googleMapsLng|empty}{$googleMapsLng}{else}{GOOGLE_MAPS_DEFAULT_LONGITUDE}{/if}"
+       {if !$googleMapsBounds|empty}bounds="{$googleMapsBounds|json}"{/if}
+       {if !$accessUserLocation|empty}access-user-location{/if}
+       {if $googleMapsHidden}hidden{/if}
 ></woltlab-core-google-maps>
 
 {if $googleMapsHidden}
-    {include file='messageUserConsent' host="maps.google.com" url="https://www.google.com/maps/" target=$googleMapsElementID sandbox=true}
+       {include file='messageUserConsent' host="maps.google.com" url="https://www.google.com/maps/" target=$googleMapsElementID sandbox=true}
 {/if}
index 316528e522a2b011199a0dced85070f2e86f0b0a..747528e43b659caa81b13e8ba098e45a16138eb2 100644 (file)
@@ -4,7 +4,7 @@
 <meta name="msapplication-config" content="{$__wcf->getStyleHandler()->getStyle()->getFaviconBrowserconfig()}">
 <meta name="theme-color" content="{$__wcf->getStyleHandler()->getStyle()->getVariable('wcfPageThemeColor', true)}">
 <script>
-    {
-        document.querySelector('meta[name="theme-color"]').content = window.getComputedStyle(document.documentElement).getPropertyValue("--wcfPageThemeColor");
-    }
+       {
+               document.querySelector('meta[name="theme-color"]').content = window.getComputedStyle(document.documentElement).getPropertyValue("--wcfPageThemeColor");
+       }
 </script>
index 1e3b12e066c128eade2b1a8445e065a8af1d9551..a64238843c88eb69cdc5d60402ae4aa64cb7882c 100644 (file)
@@ -1,10 +1,10 @@
 <div class="section">
-    <dl>
-        <dt>
-            <label for="message">{lang}wcf.moderation.report.removeContent.reason{/lang}</label>
-        </dt>
-        <dd>
-            <textarea name="message" cols="40" rows="3"></textarea>
-        </dd>
-    </dl>
+       <dl>
+               <dt>
+                       <label for="message">{lang}wcf.moderation.report.removeContent.reason{/lang}</label>
+               </dt>
+               <dd>
+                       <textarea name="message" cols="40" rows="3"></textarea>
+               </dd>
+       </dl>
 </div>
index 8e5bfd16c503886af5fd4909b7d7bd97f04378d1..15dfbf5123ed456257458ba28ce73a2eab81b42a 100644 (file)
@@ -1,11 +1,11 @@
 <div class="section">
-    <dl>
-        <dt></dt>
-        <dd>
-            <label>
-                <input type="checkbox" name="markAsJustified" id="markAsJustified" value="1">
-                {lang}wcf.moderation.report.removeReport.markAsJustified{/lang}
-            </label>
-        </dd>
-    </dl>
+       <dl>
+               <dt></dt>
+               <dd>
+                       <label>
+                               <input type="checkbox" name="markAsJustified" id="markAsJustified" value="1">
+                               {lang}wcf.moderation.report.removeReport.markAsJustified{/lang}
+                       </label>
+               </dd>
+       </dl>
 </div>
index 1885af26773696f0c9a0499fc0e97e0ba7a07bb8..9f501900755aaccd731166f8e45566dbb808930a 100644 (file)
@@ -1,6 +1,6 @@
 {if $__wcf->session->getPermission('user.like.canViewLike')}
        {assign var='__reactionSummaryJson' value='[]'}
-    {if $reactionData[$objectID]|isset}
+       {if $reactionData[$objectID]|isset}
                {assign var='__reactionSummaryJson' value=$reactionData[$objectID]->getReactionsJson()}
        {/if}
        
index e5918a75c2abd30596378557681756c81153b734..8df4226b315ac9348cbe9a38bfd5d7c59c83825f 100644 (file)
@@ -7,10 +7,10 @@
                <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
        </a>
        <input type="hidden" {*
-        *}id="{$field->getPrefixedId()}" {*
-        *}name="{$field->getPrefixedId()}" {*
-        *}value="{$field->getValue()}"{*
-    *}>
+               *}id="{$field->getPrefixedId()}" {*
+               *}name="{$field->getPrefixedId()}" {*
+               *}value="{$field->getValue()}"{*
+       *}>
        {include file='shared_colorPickerJavaScript'}
 
        <script data-relocate="true">
index 91f619f72f7c5eeb1deb8ec0b31a8d2eaf2be315..0c2ef49a653a7388a0d25a826ea5862b74845389 100644 (file)
@@ -1,28 +1,28 @@
 <ul class="scrollableCheckboxList" {*
-    *}id="lineBreakSeparatedTextOption_{@$identifier}"{*
-    *}{if $values|empty} style="display: none"{/if}{*
+       *}id="lineBreakSeparatedTextOption_{@$identifier}"{*
+       *}{if $values|empty} style="display: none"{/if}{*
 *}>
-    {foreach from=$values item=value}
-        <li data-value="{$value}">
-            <button type="button" class="jsDeleteItem jsTooltip" title="{lang}wcf.global.button.delete{/lang}">
-                {icon name='xmark'}
-            </button>
-            <span>{$value}</span>
-        </li>
-    {/foreach}
+       {foreach from=$values item=value}
+               <li data-value="{$value}">
+                       <button type="button" class="jsDeleteItem jsTooltip" title="{lang}wcf.global.button.delete{/lang}">
+                               {icon name='xmark'}
+                       </button>
+                       <span>{$value}</span>
+               </li>
+       {/foreach}
 </ul>
 <input type="hidden" name="values[{$option->optionName}]">
 
 <script data-relocate="true">
-    require(['Language', 'WoltLabSuite/Core/Ui/ItemList/LineBreakSeparatedText'], (Language, { UiItemListLineBreakSeparatedText }) => {
-        Language.addObject({
-            'wcf.acp.option.type.lineBreakSeparatedText.placeholder': '{jslang}wcf.acp.option.type.lineBreakSeparatedText.placeholder{/jslang}',
-            'wcf.acp.option.type.lineBreakSeparatedText.error.duplicate': '{jslang __literal=true}wcf.acp.option.type.lineBreakSeparatedText.error.duplicate{/jslang}',
-            'wcf.acp.option.type.lineBreakSeparatedText.clearList.confirmMessage': '{jslang}wcf.acp.option.type.lineBreakSeparatedText.clearList.confirmMessage{/jslang}',
-        });
-        
-        new UiItemListLineBreakSeparatedText(
-            document.getElementById("lineBreakSeparatedTextOption_{@$identifier}")
-        );
-    });
+       require(['Language', 'WoltLabSuite/Core/Ui/ItemList/LineBreakSeparatedText'], (Language, { UiItemListLineBreakSeparatedText }) => {
+               Language.addObject({
+                       'wcf.acp.option.type.lineBreakSeparatedText.placeholder': '{jslang}wcf.acp.option.type.lineBreakSeparatedText.placeholder{/jslang}',
+                       'wcf.acp.option.type.lineBreakSeparatedText.error.duplicate': '{jslang __literal=true}wcf.acp.option.type.lineBreakSeparatedText.error.duplicate{/jslang}',
+                       'wcf.acp.option.type.lineBreakSeparatedText.clearList.confirmMessage': '{jslang}wcf.acp.option.type.lineBreakSeparatedText.clearList.confirmMessage{/jslang}',
+               });
+               
+               new UiItemListLineBreakSeparatedText(
+                       document.getElementById("lineBreakSeparatedTextOption_{@$identifier}")
+               );
+       });
 </script>
index d5c97448f9222ca91bb9eb80d8d06ac774488c48..50f3abe04bfec14397155ff5fd245801725981d1 100644 (file)
@@ -1,15 +1,15 @@
 <textarea id="{$field->getPrefixedId()}" {*
-    *}name="{$field->getPrefixedId()}" {*
-    *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
-    *}{if $field->isAutofocused()} autofocus{/if}{*
-    *}{if $field->isImmutable()} disabled{/if}{*
-    *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
+       *}name="{$field->getPrefixedId()}" {*
+       *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+       *}{if $field->isAutofocused()} autofocus{/if}{*
+       *}{if $field->isImmutable()} disabled{/if}{*
+       *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
 *}>{$field->getValue()}</textarea>
 
 {include file='shared_codemirror' codemirrorMode=$field->getLanguage() codemirrorSelector='#'|concat:$field->getPrefixedId()}
 
 <script data-relocate="true">
-    (() => {
-        document.getElementById('{@$field->getPrefixedId()|encodeJS}').parentNode.dir = 'ltr';
-    })();
+       (() => {
+               document.getElementById('{@$field->getPrefixedId()|encodeJS}').parentNode.dir = 'ltr';
+       })();
 </script>
index b3053f0ea3b318f1272db6d68ba2b1a06d3a9ba7..d4d664032cf08e75fcfcc09d7a65133679d91de6 100644 (file)
@@ -1,9 +1,9 @@
 require(['WoltLabSuite/Core/Form/Builder/Field/Dependency/ValueInterval'], ({ ValueInterval }) => {
-    // dependency '{@$dependency->getId()}'
-    new ValueInterval(
-        '{@$dependency->getDependentNode()->getPrefixedId()|encodeJS}Container',
-        '{@$dependency->getField()->getPrefixedId()|encodeJS}'
-    )
-    .minimum({if $dependency->getMinimum() !== null}{@$dependency->getMinimum()}{else}null{/if})
-    .maximum({if $dependency->getMaximum() !== null}{@$dependency->getMaximum()}{else}null{/if});
+       // dependency '{@$dependency->getId()}'
+       new ValueInterval(
+               '{@$dependency->getDependentNode()->getPrefixedId()|encodeJS}Container',
+               '{@$dependency->getField()->getPrefixedId()|encodeJS}'
+       )
+       .minimum({if $dependency->getMinimum() !== null}{@$dependency->getMinimum()}{else}null{/if})
+       .maximum({if $dependency->getMaximum() !== null}{@$dependency->getMaximum()}{else}null{/if});
 });
index 634f8c6d172ca8b37ed483c10d4c72fc85eb2286..b616098169f9cbcbf035d27a3d78e402f057740e 100644 (file)
@@ -29,7 +29,7 @@
                                <dt><label for="text">{lang}wcf.user.signature{/lang}</label></dt>
                                <dd class="messageSignatureConstraints">
                                        <textarea id="text" class="wysiwygTextarea" name="text" rows="20" cols="40"
-                                                 data-disable-media="true"
+                                               data-disable-media="true"
                                        >{$text}</textarea>
                                        {if $errorField == 'text'}
                                                <small class="innerError">
index 54cc23992cf53315ed791e1075883593600687f9..3db0125e6343e0fc0ee5a1c6ba450c66563e4459 100644 (file)
@@ -1,18 +1,18 @@
 <script data-relocate="true">
 {
-    const name = document.getElementById("name");
-    const path = document.getElementById("path");
-    path.addEventListener("paste", (event) => {
-        if (name.value.trim() !== "") {
-            return;
-        }
+       const name = document.getElementById("name");
+       const path = document.getElementById("path");
+       path.addEventListener("paste", (event) => {
+               if (name.value.trim() !== "") {
+                       return;
+               }
 
-        const value = event.clipboardData.getData("text/plain").trim();
+               const value = event.clipboardData.getData("text/plain").trim();
 
-        const matches = value.match(/.+[/\\]([^/\\]+)[/\\]?$/);
-        if (matches !== null && matches[1].includes(".")) {
-            name.value = matches[1];
-        }
-    });
+               const matches = value.match(/.+[/\\]([^/\\]+)[/\\]?$/);
+               if (matches !== null && matches[1].includes(".")) {
+                       name.value = matches[1];
+               }
+       });
 }
 </script>
index 3e974eb381e35013ad48754fdd390fa137e11c78..61668d9f5665f222f6fec64fa86531abd79e8a43 100644 (file)
@@ -1,7 +1,7 @@
 <button type="button" class="jsObjectAction jsTooltip" {*
-    *}title="{lang}wcf.global.button.delete{/lang}"  {*
-    *}data-object-action="delete" {*
-    *}{if $objectActionConfirmMessage}data-confirm-message="{lang __encode=true}{$objectActionConfirmMessage}{/lang}" {/if}{*
+       *}title="{lang}wcf.global.button.delete{/lang}"  {*
+       *}data-object-action="delete" {*
+       *}{if $objectActionConfirmMessage}data-confirm-message="{lang __encode=true}{$objectActionConfirmMessage}{/lang}" {/if}{*
 *}>
-    {icon name='xmark'}
+       {icon name='xmark'}
 </button>
index c258d494c3b2349651b465e896b528408500ff05..d1b813f6c40af55c53309d70f60c319122962263 100644 (file)
@@ -1,10 +1,12 @@
-<button type="button" class="jsObjectAction jsTooltip" {*
-    *}title="{lang}wcf.global.button.{if !$object->isDisabled}disable{else}enable{/if}{/lang}" {*
-    *}data-object-action="toggle"{*
-*}>
-    {if $object->isDisabled}
-        {icon name='square-check'}
-    {else}
-        {icon name='square'}
-    {/if}
+<button
+       type="button"
+       class="jsObjectAction jsTooltip"
+       title="{lang}wcf.global.button.{if !$object->isDisabled}disable{else}enable{/if}{/lang}"
+       data-object-action="toggle"
+>
+       {if $object->isDisabled}
+               {icon name='square-check'}
+       {else}
+               {icon name='square'}
+       {/if}
 </button>
index 5532ce38eceacc9a10c56eb4b77511606fb98d62..bcc84dd523bdee3c99cc778aa19a19a677836d47 100644 (file)
@@ -43,9 +43,9 @@
 {else}
        <div dir="ltr">
                <textarea name="content[{@$languageID}]" id="{@$__pageContentID}"
-                       {if $pageType == 'text'}
+                       {if $pageType == 'text'}
                                class="wysiwygTextarea" data-disable-attachments="true" data-autosave="com.woltlab.wcf.page{$action|ucfirst}-{if $action == 'edit'}{@$pageID}{else}0{/if}-{@$languageID}"
-                               {if $action === 'edit'}data-autosave-last-edit-time="{@$page->lastUpdateTime}"{/if}
+                               {if $action === 'edit'}data-autosave-last-edit-time="{@$page->lastUpdateTime}"{/if}
                        {/if}
                >{if !$content[$languageID]|empty}{$content[$languageID]}{/if}</textarea>
        </div>
index c75d2633339353d8e551f499016476fc289d3772..2827f6431459100984c7e15214b19ada54a1fa7b 100644 (file)
 {hascontent}
        <div class="paginationTop">
                {content}
-                       {assign var='linkParameters' value=''}
-                       {if $groupName}
+                       {assign var='linkParameters' value=''}
+                       {if $groupName}
                                {append var='linkParameters' value='&groupName='}
                                {append var='linkParameters' value=$groupName|rawurlencode}
-                       {/if}
-                       {if $groupDescription}
+                       {/if}
+                       {if $groupDescription}
                                {append var='linkParameters' value='&groupDescription='}
                                {append var='linkParameters' value=$groupDescription|rawurlencode}
-                       {/if}
-                   
+                       {/if}
+                       
                        {pages print=true assign=pagesLinks controller="LabelGroupList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder$linkParameters"}
                {/content}
        </div>
index fc357b5290cb1aba61e9bb2c44551c4f5236753e..169b10af80e79595ec08ed71c127430e87e7f693 100644 (file)
 {include file='header' pageTitle='wcf.acp.license'}
 
 <style>
-    .licensed_packages__package__title {
-        font-size: var(--wcfFontSizeHeadline);
-        font-weight: 600;
-    }
+       .licensed_packages__package__title {
+               font-size: var(--wcfFontSizeHeadline);
+               font-weight: 600;
+       }
 
-    .licensed_packages__package__version {
-        color: var(--wcfContentDimmedText);
-    }
-    
-    .licensed_packages__package__description {
-        color: var(--wcfContentDimmedText);
-        display: block;
-    }
+       .licensed_packages__package__version {
+               color: var(--wcfContentDimmedText);
+       }
+       
+       .licensed_packages__package__description {
+               color: var(--wcfContentDimmedText);
+               display: block;
+       }
 
-    .licensed_packages__package__action {
-        white-space: nowrap;
-    }
+       .licensed_packages__package__action {
+               white-space: nowrap;
+       }
 
-    .license_packages__package__purchase {
-        display: flex;
-        flex-direction: column;
-        font-size: var(--wcfFontSizeSmall);
-        row-gap: 5px;
-    }
+       .license_packages__package__purchase {
+               display: flex;
+               flex-direction: column;
+               font-size: var(--wcfFontSizeSmall);
+               row-gap: 5px;
+       }
 
-    .license_packages__package__purchase__outdated {
-        color: var(--wcfContentDimmedText);
-    }
+       .license_packages__package__purchase__outdated {
+               color: var(--wcfContentDimmedText);
+       }
 </style>
 
 <header class="contentHeader">
-    <div class="contentHeaderTitle">
-        <h1 class="contentTitle">{lang}wcf.acp.license{/lang}</span></h1>
-        {if $licenseData->getLicenseNumber()}
-            <p class="contentDescription">{lang licenseNumber=$licenseData->getLicenseNumber()}wcf.acp.license.licenseNo{/lang}</p>
-        {/if}
-    </div>
+       <div class="contentHeaderTitle">
+               <h1 class="contentTitle">{lang}wcf.acp.license{/lang}</span></h1>
+               {if $licenseData->getLicenseNumber()}
+                       <p class="contentDescription">{lang licenseNumber=$licenseData->getLicenseNumber()}wcf.acp.license.licenseNo{/lang}</p>
+               {/if}
+       </div>
 
-    {hascontent}
-        <nav class="contentHeaderNavigation">
-            <ul>
-                {content}
-                    {if $__wcf->session->getPermission('admin.configuration.package.canEditServer')}
-                        <li>
-                            <a href="{link controller='LicenseEdit'}{/link}" class="button">
-                                {icon name='pencil'}
-                                <span>{lang}wcf.acp.license.edit{/lang}</span>
-                            </a>
-                        </li>
-                    {/if}
+       {hascontent}
+               <nav class="contentHeaderNavigation">
+                       <ul>
+                               {content}
+                                       {if $__wcf->session->getPermission('admin.configuration.package.canEditServer')}
+                                               <li>
+                                                       <a href="{link controller='LicenseEdit'}{/link}" class="button">
+                                                               {icon name='pencil'}
+                                                               <span>{lang}wcf.acp.license.edit{/lang}</span>
+                                                       </a>
+                                               </li>
+                                       {/if}
 
-                    {event name='contentHeaderNavigation'}
-                {/content}
-            </ul>
-        </nav>
-    {/hascontent}
+                                       {event name='contentHeaderNavigation'}
+                               {/content}
+                       </ul>
+               </nav>
+       {/hascontent}
 </header>
 
 {if $licenseData->getLicenseType() === 'developer'}
-    <woltlab-core-notice type="warning">{lang}wcf.acp.license.developerLicense{/lang}</woltlab-core-notice>
+       <woltlab-core-notice type="warning">{lang}wcf.acp.license.developerLicense{/lang}</woltlab-core-notice>
 {/if}
 
 {hascontent}
 <section class="section">
-    <h1 class="sectionTitle">WoltLab®</h1>
+       <h1 class="sectionTitle">WoltLab®</h1>
 
-    <div class="section tabularBox">
-        <table class="table licensed_packages">
-            <thead>
-                <tr>
-                    <th colspan="2">{lang}wcf.acp.package.name{/lang}</th>
-                </tr>
-            </thead>
-            <tbody>
-                {content}
-                {foreach from=$availablePackages[woltlab] key=package item=majorVersion}
-                    <tr class="licensed_packages__package" data-package="{$package}">
-                        {if $installedPackages[$package]|isset}
-                            <td class="columnText">
-                                <span class="licensed_packages__package__title">{$installedPackages[$package]}</span>
-                                <span class="licensed_packages__package__version">{$installedPackages[$package]->packageVersion}</span>
-                                <small class="licensed_packages__package__description">{$installedPackages[$package]->getDescription()}</small>
-                            </td>
-                            <td class="columnStatus">
-                                <small class="green licensed_packages__package__action">
-                                    {icon name='check'}
-                                    {lang}wcf.acp.license.package.installed{/lang}
-                                </small>
-                            </td>
-                        {else}
-                            <td class="columnText">
-                                <span class="licensed_packages__package__title">{$packageUpdates[$package]->packageName}</span>
-                                <span class="licensed_packages__package__version">{$installablePackages[$package]}</span>
-                                <small class="licensed_packages__package__description">{$packageUpdates[$package]->packageDescription}</small>
-                            </td>
-                            <td class="columnStatus">
-                                {if $requiresLicenseExtension[$package]|isset}
-                                    <span class="license_packages__package__purchase">
-                                        {if $requiresLicenseExtension[$package] !== 'purchase'}
-                                            <span class="license_packages__package__purchase__outdated">
-                                                {lang accessibleVersion=$requiresLicenseExtension[$package]}wcf.acp.license.package.outdated{/lang}
-                                            </span>
-                                        {/if}
-                                        <a href="https://www.woltlab.com/license-extend/{$licenseData->getLicenseNumber()}/" class="externalURL" rel="nofollow noopener" target="_blank">{lang}wcf.acp.license.extend{/lang}</a>
-                                    </span>
-                                {else}
-                                    <button type="button" class="button small jsInstallPackage" data-package="{$package}" data-package-version="{$installablePackages[$package]}">
-                                        {lang}wcf.acp.license.package.install{/lang}
-                                    </button>
-                                {/if}
-                            </td>
-                        {/if}
-                    </tr>
-                {/foreach}
-                {/content}
-            </tbody>
-        </table>
-    </div>
+       <div class="section tabularBox">
+               <table class="table licensed_packages">
+                       <thead>
+                               <tr>
+                                       <th colspan="2">{lang}wcf.acp.package.name{/lang}</th>
+                               </tr>
+                       </thead>
+                       <tbody>
+                               {content}
+                               {foreach from=$availablePackages[woltlab] key=package item=majorVersion}
+                                       <tr class="licensed_packages__package" data-package="{$package}">
+                                               {if $installedPackages[$package]|isset}
+                                                       <td class="columnText">
+                                                               <span class="licensed_packages__package__title">{$installedPackages[$package]}</span>
+                                                               <span class="licensed_packages__package__version">{$installedPackages[$package]->packageVersion}</span>
+                                                               <small class="licensed_packages__package__description">{$installedPackages[$package]->getDescription()}</small>
+                                                       </td>
+                                                       <td class="columnStatus">
+                                                               <small class="green licensed_packages__package__action">
+                                                                       {icon name='check'}
+                                                                       {lang}wcf.acp.license.package.installed{/lang}
+                                                               </small>
+                                                       </td>
+                                               {else}
+                                                       <td class="columnText">
+                                                               <span class="licensed_packages__package__title">{$packageUpdates[$package]->packageName}</span>
+                                                               <span class="licensed_packages__package__version">{$installablePackages[$package]}</span>
+                                                               <small class="licensed_packages__package__description">{$packageUpdates[$package]->packageDescription}</small>
+                                                       </td>
+                                                       <td class="columnStatus">
+                                                               {if $requiresLicenseExtension[$package]|isset}
+                                                                       <span class="license_packages__package__purchase">
+                                                                               {if $requiresLicenseExtension[$package] !== 'purchase'}
+                                                                                       <span class="license_packages__package__purchase__outdated">
+                                                                                               {lang accessibleVersion=$requiresLicenseExtension[$package]}wcf.acp.license.package.outdated{/lang}
+                                                                                       </span>
+                                                                               {/if}
+                                                                               <a href="https://www.woltlab.com/license-extend/{$licenseData->getLicenseNumber()}/" class="externalURL" rel="nofollow noopener" target="_blank">{lang}wcf.acp.license.extend{/lang}</a>
+                                                                       </span>
+                                                               {else}
+                                                                       <button type="button" class="button small jsInstallPackage" data-package="{$package}" data-package-version="{$installablePackages[$package]}">
+                                                                               {lang}wcf.acp.license.package.install{/lang}
+                                                                       </button>
+                                                               {/if}
+                                                       </td>
+                                               {/if}
+                                       </tr>
+                               {/foreach}
+                               {/content}
+                       </tbody>
+               </table>
+       </div>
 </section>
 {/hascontent}
 
 {hascontent}
 <section class="section">
-    <h1 class="sectionTitle">WoltLab® Plugin-Store</h1>
+       <h1 class="sectionTitle">WoltLab® Plugin-Store</h1>
 
-    <div class="section tabularBox">
-        <table class="table licensed_packages">
-            <thead>
-                <tr>
-                    <th colspan="2">{lang}wcf.acp.package.name{/lang}</th>
-                </tr>
-            </thead>
-            <tbody>
-                {content}
-                {foreach from=$availablePackages[pluginstore] key=package item=majorVersion}
-                    <tr class="licensed_packages__package" data-package="{$package}">
-                        {if $installedPackages[$package]|isset}
-                            <td class="columnText">
-                                <span class="licensed_packages__package__title">{$installedPackages[$package]}</span>
-                                <span class="licensed_packages__package__version">{$installedPackages[$package]->packageVersion}</span>
-                                <small class="licensed_packages__package__description">{$installedPackages[$package]->getDescription()}</small>
-                            </td>
-                            <td class="columnStatus">
-                                <small class="green licensed_packages__package__action">
-                                    {icon name='check'}
-                                    {lang}wcf.acp.license.package.installed{/lang}
-                                </small>
-                            </td>
-                        {else}
-                            <td class="columnText">
-                                <span class="licensed_packages__package__title">{$packageUpdates[$package]->packageName}</span>
-                                <span class="licensed_packages__package__version">{$installablePackages[$package]}</span>
-                                <small class="licensed_packages__package__description">{$packageUpdates[$package]->packageDescription}</small>
-                            </td>
-                            <td class="columnStatus">
-                                <button type="button" class="button small jsInstallPackage" data-package="{$package}" data-package-version="{$installablePackages[$package]}">
-                                    {lang}wcf.acp.license.package.install{/lang}
-                                </button>
-                            </td>
-                        {/if}
-                    </tr>
-                {/foreach}
-                {/content}
-            </tbody>
-        </table>
-    </div>
+       <div class="section tabularBox">
+               <table class="table licensed_packages">
+                       <thead>
+                               <tr>
+                                       <th colspan="2">{lang}wcf.acp.package.name{/lang}</th>
+                               </tr>
+                       </thead>
+                       <tbody>
+                               {content}
+                               {foreach from=$availablePackages[pluginstore] key=package item=majorVersion}
+                                       <tr class="licensed_packages__package" data-package="{$package}">
+                                               {if $installedPackages[$package]|isset}
+                                                       <td class="columnText">
+                                                               <span class="licensed_packages__package__title">{$installedPackages[$package]}</span>
+                                                               <span class="licensed_packages__package__version">{$installedPackages[$package]->packageVersion}</span>
+                                                               <small class="licensed_packages__package__description">{$installedPackages[$package]->getDescription()}</small>
+                                                       </td>
+                                                       <td class="columnStatus">
+                                                               <small class="green licensed_packages__package__action">
+                                                                       {icon name='check'}
+                                                                       {lang}wcf.acp.license.package.installed{/lang}
+                                                               </small>
+                                                       </td>
+                                               {else}
+                                                       <td class="columnText">
+                                                               <span class="licensed_packages__package__title">{$packageUpdates[$package]->packageName}</span>
+                                                               <span class="licensed_packages__package__version">{$installablePackages[$package]}</span>
+                                                               <small class="licensed_packages__package__description">{$packageUpdates[$package]->packageDescription}</small>
+                                                       </td>
+                                                       <td class="columnStatus">
+                                                               <button type="button" class="button small jsInstallPackage" data-package="{$package}" data-package-version="{$installablePackages[$package]}">
+                                                                       {lang}wcf.acp.license.package.install{/lang}
+                                                               </button>
+                                                       </td>
+                                               {/if}
+                                       </tr>
+                               {/foreach}
+                               {/content}
+                       </tbody>
+               </table>
+       </div>
 </section>
 {/hascontent}
 
 <script data-relocate="true">
-    require(["WoltLabSuite/Core/Acp/Component/License"], ({ setup }) => {
-        {jsphrase name='wcf.acp.package.error.uniqueAlreadyInstalled'}
-        {jsphrase name='wcf.acp.package.install.title'}
-        {jsphrase name='wcf.acp.package.quickInstallation.code.error.invalid'}
-        {jsphrase name='wcf.acp.package.update.excludedPackages'}
-        {jsphrase name='wcf.acp.package.update.title'}
-        {jsphrase name='wcf.acp.package.update.unauthorized'}
-        
-        setup();
-    });
+       require(["WoltLabSuite/Core/Acp/Component/License"], ({ setup }) => {
+               {jsphrase name='wcf.acp.package.error.uniqueAlreadyInstalled'}
+               {jsphrase name='wcf.acp.package.install.title'}
+               {jsphrase name='wcf.acp.package.quickInstallation.code.error.invalid'}
+               {jsphrase name='wcf.acp.package.update.excludedPackages'}
+               {jsphrase name='wcf.acp.package.update.title'}
+               {jsphrase name='wcf.acp.package.update.unauthorized'}
+               
+               setup();
+       });
 </script>
 
 {include file='footer'}
index f40af75ffc676e41d6e7361661eea87e8856c299..11a7bfa8628b485b8acb022f07aeeb3217ea5697 100644 (file)
@@ -1,9 +1,9 @@
 <p>{lang}wcf.acp.package.enableUpgradeOverride.issues{/lang}</p>
 <ul class="nativeList">
-    {foreach from=$issues item='issue'}
-        <li>
-            <strong>{@$issue['title']}</strong><br>
-            {@$issue['description']}
-        </li>
-    {/foreach}
+       {foreach from=$issues item='issue'}
+               <li>
+                       <strong>{@$issue['title']}</strong><br>
+                       {@$issue['description']}
+               </li>
+       {/foreach}
 </ul>
index 948683ea7c0a5594a8646713bf5aa31d53ef51b9..7cd0b9cbd110113f4043b33750eaa4563bead836 100644 (file)
@@ -57,8 +57,8 @@
                        <dt><label for="description">{lang}wcf.global.description{/lang}</label></dt>
                        <dd>
                                <textarea id="description" name="description" class="wysiwygTextarea"
-                                         data-disable-attachments="true"
-                                         data-disable-media="true"
+                                       data-disable-attachments="true"
+                                       data-disable-media="true"
                                >{$i18nPlainValues[description]}</textarea>
                                {include file='shared_wysiwyg' wysiwygSelector='description'}
                                {if $errorField == 'description'}
index 5df76409a76986351ac27bc264e47a71e3483560..da372aa3b5a01ee440077974d05fe038f11c8d8c 100755 (executable)
@@ -1,6 +1,6 @@
 <url>
-    <loc>{$link}</loc>
-    {if $lastModifiedTime}<lastmod>{$lastModifiedTime}</lastmod>{/if}
-    <changefreq>{$changeFreq}</changefreq>
-    <priority>{$priority}</priority>
+       <loc>{$link}</loc>
+       {if $lastModifiedTime}<lastmod>{$lastModifiedTime}</lastmod>{/if}
+       <changefreq>{$changeFreq}</changefreq>
+       <priority>{$priority}</priority>
 </url>
index d8727cae3a3f201ddc5d48602f7fac83b4dc112e..06dba368b6f96cca70658730277688fe4d6aa951 100755 (executable)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
-    {foreach from=$sitemaps item="sitemap"}
-        <sitemap>
-            <loc>{$sitemap}</loc>
-            <lastmod>{TIME_NOW|date:"c"}</lastmod>
-        </sitemap>
-    {/foreach}
+       {foreach from=$sitemaps item="sitemap"}
+               <sitemap>
+                       <loc>{$sitemap}</loc>
+                       <lastmod>{TIME_NOW|date:"c"}</lastmod>
+               </sitemap>
+       {/foreach}
 </sitemapindex>
index cc24f2d5f9242f70cfa7695b6fdbbddf78b63a5d..f5514f8838c9346e19e106a2fa7724e691ad9348 100644 (file)
                                                <dd>
                                                        <select name="templateGroupID" id="templateGroupID">
                                                                <option value="0">{lang}wcf.acp.template.group.default{/lang}</option>
-                                                               {htmlOptions options=$availableTemplateGroups selected=$templateGroupID disableEncoding=true}
+                                                               {htmlOptions options=$availableTemplateGroups selected=$templateGroupID disableEncoding=true}
                                                        </select>
                                                        {if $errorField == 'templateGroupID'}
                                                                <small class="innerError">