Tmp move files
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 29 Jan 2024 11:58:33 +0000 (12:58 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 29 Jan 2024 11:58:33 +0000 (12:58 +0100)
com.woltlab.wcf/templates/__aclFormField.tpl [new file with mode: 0644]
com.woltlab.wcf/templates/__colorFormField.tpl [new file with mode: 0644]
com.woltlab.wcf/templates/formNotice.tpl [new file with mode: 0644]
com.woltlab.wcf/templates/shared_aclFormField.tpl [deleted file]
com.woltlab.wcf/templates/shared_colorFormField.tpl [deleted file]
com.woltlab.wcf/templates/shared_formNotice.tpl [deleted file]

diff --git a/com.woltlab.wcf/templates/__aclFormField.tpl b/com.woltlab.wcf/templates/__aclFormField.tpl
new file mode 100644 (file)
index 0000000..4e86c94
--- /dev/null
@@ -0,0 +1,5 @@
+{if $includeAclJavaScript}
+       {include file='aclPermissions'}
+{/if}
+
+{include file='shared_aclPermissionJavaScript' containerID=$field->getPrefixedId()|concat:'Container' categoryName=$field->getCategoryName() objectID=$field->getObjectID() objectTypeID=$field->getObjectType()->objectTypeID aclFormBuilderMode=$field->getDocument()->isAjax() aclValuesFieldName=$field->getPrefixedId()}
diff --git a/com.woltlab.wcf/templates/__colorFormField.tpl b/com.woltlab.wcf/templates/__colorFormField.tpl
new file mode 100644 (file)
index 0000000..e5918a7
--- /dev/null
@@ -0,0 +1,21 @@
+{if $field->isImmutable()}
+       <span class="colorPickerButton">
+               <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
+       </span>
+{else}
+       <a href="#" class="colorPickerButton jsTooltip" id="{$field->getPrefixedId()}_colorPickerButton" title="{lang}wcf.style.colorPicker.button.changeColor{/lang}" data-store="{$field->getPrefixedId()}">
+               <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
+       </a>
+       <input type="hidden" {*
+        *}id="{$field->getPrefixedId()}" {*
+        *}name="{$field->getPrefixedId()}" {*
+        *}value="{$field->getValue()}"{*
+    *}>
+       {include file='shared_colorPickerJavaScript'}
+
+       <script data-relocate="true">
+               require(['WoltLabSuite/Core/Ui/Color/Picker'], (UiColorPicker) => {
+                       UiColorPicker.fromSelector("#{@$field->getPrefixedId()|encodeJS}_colorPickerButton");
+               });
+       </script>
+{/if}
diff --git a/com.woltlab.wcf/templates/formNotice.tpl b/com.woltlab.wcf/templates/formNotice.tpl
new file mode 100644 (file)
index 0000000..73e0f8d
--- /dev/null
@@ -0,0 +1,3 @@
+{include file='shared_formError'}
+
+{include file='shared_formSuccess'}
diff --git a/com.woltlab.wcf/templates/shared_aclFormField.tpl b/com.woltlab.wcf/templates/shared_aclFormField.tpl
deleted file mode 100644 (file)
index 4e86c94..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{if $includeAclJavaScript}
-       {include file='aclPermissions'}
-{/if}
-
-{include file='shared_aclPermissionJavaScript' containerID=$field->getPrefixedId()|concat:'Container' categoryName=$field->getCategoryName() objectID=$field->getObjectID() objectTypeID=$field->getObjectType()->objectTypeID aclFormBuilderMode=$field->getDocument()->isAjax() aclValuesFieldName=$field->getPrefixedId()}
diff --git a/com.woltlab.wcf/templates/shared_colorFormField.tpl b/com.woltlab.wcf/templates/shared_colorFormField.tpl
deleted file mode 100644 (file)
index e5918a7..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{if $field->isImmutable()}
-       <span class="colorPickerButton">
-               <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
-       </span>
-{else}
-       <a href="#" class="colorPickerButton jsTooltip" id="{$field->getPrefixedId()}_colorPickerButton" title="{lang}wcf.style.colorPicker.button.changeColor{/lang}" data-store="{$field->getPrefixedId()}">
-               <span{if $field->getValue()} style="background-color: {$field->getValue()}"{/if}></span>
-       </a>
-       <input type="hidden" {*
-        *}id="{$field->getPrefixedId()}" {*
-        *}name="{$field->getPrefixedId()}" {*
-        *}value="{$field->getValue()}"{*
-    *}>
-       {include file='shared_colorPickerJavaScript'}
-
-       <script data-relocate="true">
-               require(['WoltLabSuite/Core/Ui/Color/Picker'], (UiColorPicker) => {
-                       UiColorPicker.fromSelector("#{@$field->getPrefixedId()|encodeJS}_colorPickerButton");
-               });
-       </script>
-{/if}
diff --git a/com.woltlab.wcf/templates/shared_formNotice.tpl b/com.woltlab.wcf/templates/shared_formNotice.tpl
deleted file mode 100644 (file)
index 73e0f8d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-{include file='shared_formError'}
-
-{include file='shared_formSuccess'}