Skip to content

Commit bbecddf

Browse files
committed
Standardize naming and paths
1 parent 09fe63f commit bbecddf

File tree

13 files changed

+9
-9
lines changed

13 files changed

+9
-9
lines changed

com.woltlab.wcf/templates/articleAdd.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@
616616
</form>
617617

618618
<script data-relocate="true">
619-
require(["WoltLabSuite/Core/Controller/Message/I18nPreview"], ({ setup }) => {
619+
require(["WoltLabSuite/Core/Component/Message/I18nPreview"], ({ setup }) => {
620620
{jsphrase name='wcf.global.preview'}
621621
setup(
622622
[

com.woltlab.wcf/templates/messageFormPreviewButton.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<button type="button" id="{$previewButtonID}" class="button jsOnly">{lang}wcf.global.button.preview{/lang}</button>
77

88
<script data-relocate="true">
9-
require(["WoltLabSuite/Core/Controller/Message/Preview"], ({ setup }) => {
9+
require(["WoltLabSuite/Core/Component/Message/Preview"], ({ setup }) => {
1010
{jsphrase name='wcf.global.preview'}
1111
setup(
1212
'{unsafe:$previewMessageFieldID|encodeJS}',

com.woltlab.wcf/templates/shared_wysiwygPreviewFormButton.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*}>{$button->getLabel()}</button>
66

77
<script data-relocate="true">
8-
require(["WoltLabSuite/Core/Controller/Message/Preview"], ({ setup }) => {
8+
require(["WoltLabSuite/Core/Component/Message/Preview"], ({ setup }) => {
99
{jsphrase name='wcf.global.preview'}
1010
setup(
1111
'{unsafe:$button->getPrefixedWysiwygId()|encodeJS}',

com.woltlab.wcf/templates/signatureEdit.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
</form>
7676

7777
<script data-relocate="true">
78-
require(["WoltLabSuite/Core/Controller/User/Signature/Preview"], ({ setup }) => {
78+
require(["WoltLabSuite/Core/Component/User/Signature/Preview"], ({ setup }) => {
7979
setup();
8080
});
8181
</script>

ts/WoltLabSuite/Core/Controller/Message/I18nPreview.ts renamed to ts/WoltLabSuite/Core/Component/Message/I18nPreview.ts

File renamed without changes.
File renamed without changes.

ts/WoltLabSuite/Core/Controller/User/Signature/Preview.ts renamed to ts/WoltLabSuite/Core/Component/User/Signature/Preview.ts

File renamed without changes.

wcfsetup/install/files/acp/templates/articleAdd.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@
617617
</form>
618618

619619
<script data-relocate="true">
620-
require(["WoltLabSuite/Core/Controller/Message/I18nPreview"], ({ setup }) => {
620+
require(["WoltLabSuite/Core/Component/Message/I18nPreview"], ({ setup }) => {
621621
{jsphrase name='wcf.global.preview'}
622622
setup(
623623
[

wcfsetup/install/files/js/WCF.Message.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ if (COMPILER_TARGET_DEFAULT) {
238238
* @param string className
239239
* @param string messageFieldID
240240
* @param string previewButtonID
241-
* @deprecated 6.2 Use `WoltLabSuite/Core/Controller/Message/Preview` instead.
241+
* @deprecated 6.2 Use `WoltLabSuite/Core/Component/Message/Preview` instead.
242242
*/
243243
WCF.Message.Preview = Class.extend({
244244
/**
@@ -455,7 +455,7 @@ if (COMPILER_TARGET_DEFAULT) {
455455
* Default implementation for message previews.
456456
*
457457
* @see WCF.Message.Preview
458-
* @deprecated 6.2 Use `WoltLabSuite/Core/Controller/Message/Preview` instead.
458+
* @deprecated 6.2 Use `WoltLabSuite/Core/Component/Message/Preview` instead.
459459
*/
460460
WCF.Message.DefaultPreview = WCF.Message.Preview.extend({
461461
_dialog: null,
@@ -520,7 +520,7 @@ if (COMPILER_TARGET_DEFAULT) {
520520
});
521521

522522
/**
523-
* @deprecated 6.2 Use `WoltLabSuite/Core/Controller/Message/I18nPreview` instead.
523+
* @deprecated 6.2 Use `WoltLabSuite/Core/Component/Message/I18nPreview` instead.
524524
*/
525525
WCF.Message.I18nPreview = WCF.Message.Preview.extend({
526526
_activeMessageField: '',

wcfsetup/install/files/js/WCF.User.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ if (COMPILER_TARGET_DEFAULT) {
965965
* Signature preview.
966966
*
967967
* @see WCF.Message.Preview
968-
* @deprecated 6.2 Use `WoltLabSuite/Core/Controller/User/Signature/Preview` instead.
968+
* @deprecated 6.2 Use `WoltLabSuite/Core/Component/User/Signature/Preview` instead.
969969
*/
970970
WCF.User.SignaturePreview = WCF.Message.Preview.extend({
971971
/**

0 commit comments

Comments
 (0)