From: Marcel Werk Date: Tue, 18 Aug 2020 13:43:37 +0000 (+0200) Subject: Added new template 'formNotice' X-Git-Tag: 5.3.0_Alpha_1~50^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa6a7e74085fb4d782a593715f24ee6fdb09ae64;p=GitHub%2FWoltLab%2FWCF.git Added new template 'formNotice' --- diff --git a/wcfsetup/install/files/acp/templates/adAdd.tpl b/wcfsetup/install/files/acp/templates/adAdd.tpl index 39a3dbd1a9..02ff107231 100644 --- a/wcfsetup/install/files/acp/templates/adAdd.tpl +++ b/wcfsetup/install/files/acp/templates/adAdd.tpl @@ -22,9 +22,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/articleAdd.tpl b/wcfsetup/install/files/acp/templates/articleAdd.tpl index 1f062f4aef..e7bec299fb 100644 --- a/wcfsetup/install/files/acp/templates/articleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/articleAdd.tpl @@ -89,9 +89,7 @@ {@$__contentHeader} {/if} -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {if $action == 'edit'}

isDeleted} style="display: none;"{/if}>{lang}wcf.acp.article.trash.notice{/lang}

diff --git a/wcfsetup/install/files/acp/templates/bbcodeAdd.tpl b/wcfsetup/install/files/acp/templates/bbcodeAdd.tpl index 828a820199..3abd4a11bc 100644 --- a/wcfsetup/install/files/acp/templates/bbcodeAdd.tpl +++ b/wcfsetup/install/files/acp/templates/bbcodeAdd.tpl @@ -88,9 +88,7 @@

{lang}wcf.acp.bbcode.add.userGroupOptionInfo{/lang}

{/if} -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl b/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl index c81c5a7983..910f4c9693 100644 --- a/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl +++ b/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl @@ -14,9 +14,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/boxAdd.tpl b/wcfsetup/install/files/acp/templates/boxAdd.tpl index b31738f01c..5efe640ed6 100644 --- a/wcfsetup/install/files/acp/templates/boxAdd.tpl +++ b/wcfsetup/install/files/acp/templates/boxAdd.tpl @@ -84,9 +84,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {if $action == 'edit' && !$lastVersion|empty}

{lang}wcf.acp.box.lastVersion{/lang}

diff --git a/wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl b/wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl index 270c96ceec..e5910ec8b8 100644 --- a/wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl +++ b/wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl @@ -14,9 +14,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/categoryAdd.tpl b/wcfsetup/install/files/acp/templates/categoryAdd.tpl index b95cd355f6..812033c80f 100644 --- a/wcfsetup/install/files/acp/templates/categoryAdd.tpl +++ b/wcfsetup/install/files/acp/templates/categoryAdd.tpl @@ -48,9 +48,7 @@ {/hascontent} -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {event name='beforeSections'} diff --git a/wcfsetup/install/files/acp/templates/contactOptionAdd.tpl b/wcfsetup/install/files/acp/templates/contactOptionAdd.tpl index b759c262c9..5e4803ba42 100644 --- a/wcfsetup/install/files/acp/templates/contactOptionAdd.tpl +++ b/wcfsetup/install/files/acp/templates/contactOptionAdd.tpl @@ -14,9 +14,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {include file='customOptionAdd'} diff --git a/wcfsetup/install/files/acp/templates/contactRecipientAdd.tpl b/wcfsetup/install/files/acp/templates/contactRecipientAdd.tpl index f67830f303..33d099241a 100644 --- a/wcfsetup/install/files/acp/templates/contactRecipientAdd.tpl +++ b/wcfsetup/install/files/acp/templates/contactRecipientAdd.tpl @@ -14,9 +14,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl index 012189854c..944cb961a2 100644 --- a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl @@ -14,11 +14,9 @@ -{include file='formError'} -

{lang}wcf.acp.cronjob.intro{/lang}

-{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/formNotice.tpl b/wcfsetup/install/files/acp/templates/formNotice.tpl new file mode 100644 index 0000000000..f63d721573 --- /dev/null +++ b/wcfsetup/install/files/acp/templates/formNotice.tpl @@ -0,0 +1,3 @@ +{include file='formError'} + +{include file='formSuccess'} diff --git a/wcfsetup/install/files/acp/templates/labelAdd.tpl b/wcfsetup/install/files/acp/templates/labelAdd.tpl index c28fd2de36..54fdb4dd32 100644 --- a/wcfsetup/install/files/acp/templates/labelAdd.tpl +++ b/wcfsetup/install/files/acp/templates/labelAdd.tpl @@ -38,9 +38,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {if $labelGroupList|count} diff --git a/wcfsetup/install/files/acp/templates/labelGroupAdd.tpl b/wcfsetup/install/files/acp/templates/labelGroupAdd.tpl index faab5f8bc7..afc3860bbd 100644 --- a/wcfsetup/install/files/acp/templates/labelGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/labelGroupAdd.tpl @@ -33,9 +33,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/languageAdd.tpl b/wcfsetup/install/files/acp/templates/languageAdd.tpl index 89637d66de..099ec958b5 100644 --- a/wcfsetup/install/files/acp/templates/languageAdd.tpl +++ b/wcfsetup/install/files/acp/templates/languageAdd.tpl @@ -14,9 +14,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/menuAdd.tpl b/wcfsetup/install/files/acp/templates/menuAdd.tpl index b78b08abb0..a2c026f9b8 100644 --- a/wcfsetup/install/files/acp/templates/menuAdd.tpl +++ b/wcfsetup/install/files/acp/templates/menuAdd.tpl @@ -17,9 +17,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {if $action == 'edit' && $menu->identifier == 'com.woltlab.wcf.MainMenu'} diff --git a/wcfsetup/install/files/acp/templates/menuItemAdd.tpl b/wcfsetup/install/files/acp/templates/menuItemAdd.tpl index 1e75a18083..958bad162e 100644 --- a/wcfsetup/install/files/acp/templates/menuItemAdd.tpl +++ b/wcfsetup/install/files/acp/templates/menuItemAdd.tpl @@ -42,9 +42,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/noticeAdd.tpl b/wcfsetup/install/files/acp/templates/noticeAdd.tpl index 67b7f9b518..1c17444399 100644 --- a/wcfsetup/install/files/acp/templates/noticeAdd.tpl +++ b/wcfsetup/install/files/acp/templates/noticeAdd.tpl @@ -34,9 +34,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/packageUpdateServerAdd.tpl b/wcfsetup/install/files/acp/templates/packageUpdateServerAdd.tpl index c47139b82c..f3bffa417d 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateServerAdd.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateServerAdd.tpl @@ -14,13 +14,11 @@ -{include file='formError'} - {if $packageUpdateServer|isset && $packageUpdateServer->errorMessage}

{lang}wcf.acp.updateServer.lastErrorMessage{/lang}
{$packageUpdateServer->errorMessage}

{/if} -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/pageAdd.tpl b/wcfsetup/install/files/acp/templates/pageAdd.tpl index beda9e36f7..c2ad50176e 100644 --- a/wcfsetup/install/files/acp/templates/pageAdd.tpl +++ b/wcfsetup/install/files/acp/templates/pageAdd.tpl @@ -96,14 +96,12 @@ -{include file='formError'} - -{include file='formSuccess'} - {if $action == 'edit' && !$lastVersion|empty}

{lang}wcf.acp.page.lastVersion{/lang}

{/if} +{include file='formNotice'} +
-{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/paidSubscriptionUserAdd.tpl b/wcfsetup/install/files/acp/templates/paidSubscriptionUserAdd.tpl index 806b95fb99..91c9eda940 100644 --- a/wcfsetup/install/files/acp/templates/paidSubscriptionUserAdd.tpl +++ b/wcfsetup/install/files/acp/templates/paidSubscriptionUserAdd.tpl @@ -31,9 +31,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/smileyAdd.tpl b/wcfsetup/install/files/acp/templates/smileyAdd.tpl index 4bf6c71843..e3480b0110 100644 --- a/wcfsetup/install/files/acp/templates/smileyAdd.tpl +++ b/wcfsetup/install/files/acp/templates/smileyAdd.tpl @@ -14,9 +14,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index a835e8f5c8..94ef30885d 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -63,9 +63,7 @@

{lang}wcf.acp.style.protected{/lang}

{/if} -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/tagAdd.tpl b/wcfsetup/install/files/acp/templates/tagAdd.tpl index 71145f81c2..b24a0d22f2 100644 --- a/wcfsetup/install/files/acp/templates/tagAdd.tpl +++ b/wcfsetup/install/files/acp/templates/tagAdd.tpl @@ -14,9 +14,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/templateAdd.tpl b/wcfsetup/install/files/acp/templates/templateAdd.tpl index 29432046c2..889849eec7 100644 --- a/wcfsetup/install/files/acp/templates/templateAdd.tpl +++ b/wcfsetup/install/files/acp/templates/templateAdd.tpl @@ -16,9 +16,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {if $availableTemplateGroups|count} diff --git a/wcfsetup/install/files/acp/templates/templateGroupAdd.tpl b/wcfsetup/install/files/acp/templates/templateGroupAdd.tpl index 221154f4f7..d0cfc21068 100644 --- a/wcfsetup/install/files/acp/templates/templateGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/templateGroupAdd.tpl @@ -32,9 +32,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/trophyAdd.tpl b/wcfsetup/install/files/acp/templates/trophyAdd.tpl index ff137c49fc..c25f94ad85 100644 --- a/wcfsetup/install/files/acp/templates/trophyAdd.tpl +++ b/wcfsetup/install/files/acp/templates/trophyAdd.tpl @@ -62,9 +62,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {if $trophyCategories|count} diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index 644f256094..83763a71de 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -15,13 +15,11 @@ -{include file='formError'} - {if $userID|isset && $__wcf->user->userID == $userID}

{lang}wcf.acp.user.edit.warning.selfEdit{/lang}

{/if} -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl index 64936d4198..a98b842c00 100644 --- a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl @@ -65,8 +65,6 @@ -{include file='formError'} - {if VISITOR_USE_TINY_BUILD && $groupIsGuest}

{lang}wcf.acp.group.excludedInTinyBuild.notice{/lang}

{/if} @@ -79,7 +77,7 @@

{lang}wcf.acp.group.edit.warning.selfIsMember{/lang}

{/if} -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/userGroupAssignmentAdd.tpl b/wcfsetup/install/files/acp/templates/userGroupAssignmentAdd.tpl index 29a299cda3..920154e47d 100644 --- a/wcfsetup/install/files/acp/templates/userGroupAssignmentAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupAssignmentAdd.tpl @@ -14,9 +14,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/userOptionAdd.tpl b/wcfsetup/install/files/acp/templates/userOptionAdd.tpl index 27bae71f06..30517b4aa1 100644 --- a/wcfsetup/install/files/acp/templates/userOptionAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userOptionAdd.tpl @@ -15,9 +15,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {if !$availableCategories|empty} diff --git a/wcfsetup/install/files/acp/templates/userOptionCategoryAdd.tpl b/wcfsetup/install/files/acp/templates/userOptionCategoryAdd.tpl index 1c7612b21b..d1a5fdbcc8 100644 --- a/wcfsetup/install/files/acp/templates/userOptionCategoryAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userOptionCategoryAdd.tpl @@ -15,9 +15,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/userRankAdd.tpl b/wcfsetup/install/files/acp/templates/userRankAdd.tpl index 677577f149..97bb4bc765 100644 --- a/wcfsetup/install/files/acp/templates/userRankAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userRankAdd.tpl @@ -38,9 +38,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'}
diff --git a/wcfsetup/install/files/acp/templates/userTrophyAdd.tpl b/wcfsetup/install/files/acp/templates/userTrophyAdd.tpl index 3e559cbe0b..769d093416 100644 --- a/wcfsetup/install/files/acp/templates/userTrophyAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userTrophyAdd.tpl @@ -35,9 +35,7 @@ -{include file='formError'} - -{include file='formSuccess'} +{include file='formNotice'} {if $hasSuitableTrophy}