Added new template 'formNotice'
authorMarcel Werk <burntime@woltlab.com>
Tue, 18 Aug 2020 13:43:37 +0000 (15:43 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 18 Aug 2020 13:43:37 +0000 (15:43 +0200)
34 files changed:
wcfsetup/install/files/acp/templates/adAdd.tpl
wcfsetup/install/files/acp/templates/articleAdd.tpl
wcfsetup/install/files/acp/templates/bbcodeAdd.tpl
wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl
wcfsetup/install/files/acp/templates/boxAdd.tpl
wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl
wcfsetup/install/files/acp/templates/categoryAdd.tpl
wcfsetup/install/files/acp/templates/contactOptionAdd.tpl
wcfsetup/install/files/acp/templates/contactRecipientAdd.tpl
wcfsetup/install/files/acp/templates/cronjobAdd.tpl
wcfsetup/install/files/acp/templates/formNotice.tpl [new file with mode: 0644]
wcfsetup/install/files/acp/templates/labelAdd.tpl
wcfsetup/install/files/acp/templates/labelGroupAdd.tpl
wcfsetup/install/files/acp/templates/languageAdd.tpl
wcfsetup/install/files/acp/templates/menuAdd.tpl
wcfsetup/install/files/acp/templates/menuItemAdd.tpl
wcfsetup/install/files/acp/templates/noticeAdd.tpl
wcfsetup/install/files/acp/templates/packageUpdateServerAdd.tpl
wcfsetup/install/files/acp/templates/pageAdd.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionAdd.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionUserAdd.tpl
wcfsetup/install/files/acp/templates/smileyAdd.tpl
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/acp/templates/tagAdd.tpl
wcfsetup/install/files/acp/templates/templateAdd.tpl
wcfsetup/install/files/acp/templates/templateGroupAdd.tpl
wcfsetup/install/files/acp/templates/trophyAdd.tpl
wcfsetup/install/files/acp/templates/userAdd.tpl
wcfsetup/install/files/acp/templates/userGroupAdd.tpl
wcfsetup/install/files/acp/templates/userGroupAssignmentAdd.tpl
wcfsetup/install/files/acp/templates/userOptionAdd.tpl
wcfsetup/install/files/acp/templates/userOptionCategoryAdd.tpl
wcfsetup/install/files/acp/templates/userRankAdd.tpl
wcfsetup/install/files/acp/templates/userTrophyAdd.tpl

index 39a3dbd1a9e60fbbd902b4476d6bd796ea282df3..02ff107231afa3ff1dc21687d169d06c064222d9 100644 (file)
@@ -22,9 +22,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form id="adForm" method="post" action="{if $action == 'add'}{link controller='AdAdd'}{/link}{else}{link controller='AdEdit' object=$adObject}{/link}{/if}">
        <div class="section">
index 1f062f4aef2354f4130a75e94e2b09b561341bba..e7bec299fb8558508855bf107571258752a4dd7d 100644 (file)
@@ -89,9 +89,7 @@
        {@$__contentHeader}
 {/if}
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 {if $action == 'edit'}
        <p class="info jsArticleNoticeTrash"{if !$article->isDeleted} style="display: none;"{/if}>{lang}wcf.acp.article.trash.notice{/lang}</p>
index 828a820199fabfbae1ff53091a840607a377cf68..3abd4a11bcbfedc16ce6d09e1b82a8bf027cced1 100644 (file)
@@ -88,9 +88,7 @@
        <p class="info">{lang}wcf.acp.bbcode.add.userGroupOptionInfo{/lang}</p>
 {/if}
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='BBCodeAdd'}{/link}{else}{link controller='BBCodeEdit' object=$bbcode}{/link}{/if}">
        <div class="section">
index c81c5a7983f11897a027166011c8074e644be92e..910f4c969347e3d9f7fca31ce66c679185b52590 100644 (file)
@@ -14,9 +14,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='BBCodeMediaProviderAdd'}{/link}{else}{link controller='BBCodeMediaProviderEdit' object=$mediaProvider}{/link}{/if}">
        <div class="section">
index b31738f01cbf2855021a68cacd79668ffa2ba737..5efe640ed6c0d12392aff6eb347521831568cab0 100644 (file)
@@ -84,9 +84,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 {if $action == 'edit' && !$lastVersion|empty}
        <p class="info">{lang}wcf.acp.box.lastVersion{/lang}</p>
index 270c96ceec99ee239ac03246f903e732e9e5ae45..e5910ec8b8bec7172c30f5bf33883e494bc6ec09 100644 (file)
@@ -14,9 +14,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form id="adForm" method="post" action="{if $action == 'add'}{link controller='CaptchaQuestionAdd'}{/link}{else}{link controller='CaptchaQuestionEdit' id=$captchaQuestion->questionID}{/link}{/if}">
        <div class="section">
index b95cd355f63b66b5d35d4fd322f52238f42c86ae..812033c80f794e1ab062f6184fcf3273a263db15 100644 (file)
@@ -48,9 +48,7 @@
        {/hascontent}
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller=$addController application=$objectType->getProcessor()->getApplication()}{/link}{else}{link controller=$editController application=$objectType->getProcessor()->getApplication() object=$category}{/link}{/if}">
        {event name='beforeSections'}
index b759c262c960f6153a39e7d62befd9019442cac0..5e4803ba424b4d6cdf8daf1f98e53eef4c5213e4 100644 (file)
@@ -14,9 +14,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action === 'add'}{link controller='ContactOptionAdd'}{/link}{else}{link controller='ContactOptionEdit' id=$optionID}{/link}{/if}">
        {include file='customOptionAdd'}
index f67830f3039b90df4568286f885a36ed44078b57..33d099241ad411524f9cee75edd701077ebec488 100644 (file)
@@ -14,9 +14,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action === 'add'}{link controller='ContactRecipientAdd'}{/link}{else}{link controller='ContactRecipientEdit' id=$recipientID}{/link}{/if}">
        <div class="section">
index 012189854c68871b65d343103a4ab8873a0ed63f..944cb961a26a0cbc9ef5327370bd7182ad84e497 100644 (file)
        </nav>
 </header>
 
-{include file='formError'}
-
 <p class="info">{lang}wcf.acp.cronjob.intro{/lang}</p>
 
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='CronjobAdd'}{/link}{else}{link controller='CronjobEdit' id=$cronjobID}{/link}{/if}">
        <div class="section">
diff --git a/wcfsetup/install/files/acp/templates/formNotice.tpl b/wcfsetup/install/files/acp/templates/formNotice.tpl
new file mode 100644 (file)
index 0000000..f63d721
--- /dev/null
@@ -0,0 +1,3 @@
+{include file='formError'}
+
+{include file='formSuccess'}
index c28fd2de36f9993b39c33d30c2fb88692cc81b32..54fdb4dd3201bd1bc079be4cf1f84af41ed77755 100644 (file)
@@ -38,9 +38,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 {if $labelGroupList|count}
        <form method="post" action="{if $action == 'add'}{link controller='LabelAdd'}{/link}{else}{link controller='LabelEdit' object=$label}{/link}{/if}">
index faab5f8bc704e6089a8b03b6636f00f472ecef50..afc3860bbd0189df1cf98e08875e8eaad6bf2bf4 100644 (file)
@@ -33,9 +33,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='LabelGroupAdd'}{/link}{else}{link controller='LabelGroupEdit' object=$labelGroup}{/link}{/if}">
        <div class="section tabMenuContainer">
index 89637d66deade7e3fde62a3587ccda38f48ef2da..099ec958b5df9fda6d444b07fdaaecb08cec2068 100644 (file)
@@ -14,9 +14,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'edit'}{link controller='LanguageEdit' id=$languageID}{/link}{else}{link controller='LanguageAdd'}{/link}{/if}">
        <section class="section">
index b78b08abb00966613086ee6f988e43e07db95e00..a2c026f9b8ff3cba2ab9c264732942ee840f157b 100644 (file)
@@ -17,9 +17,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='MenuAdd'}{/link}{else}{link controller='MenuEdit' id=$menuID}{/link}{/if}">
        {if $action == 'edit' && $menu->identifier == 'com.woltlab.wcf.MainMenu'}
index 1e75a18083185366f22d25fdd4bd6825fb30a514..958bad162e4083dfbaed7106ac43ffc0806e9a0a 100644 (file)
@@ -42,9 +42,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='MenuItemAdd'}{/link}{else}{link controller='MenuItemEdit' id=$itemID}{/link}{/if}">
        <div class="section">
index 67b7f9b5184340ff7acd12c8e53cb48494ac4624..1c17444399b808b143b04fd9d0a12002b61fa1c2 100644 (file)
@@ -34,9 +34,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form id="formContainer" method="post" action="{if $action == 'add'}{link controller='NoticeAdd'}{/link}{else}{link controller='NoticeEdit' object=$notice}{/link}{/if}">
        <div class="section">
index c47139b82cbb72bc3e99aea54458727520deea2c..f3bffa417d9edecfb468e4218d3fdcb146a56ea6 100644 (file)
        </nav>
 </header>
 
-{include file='formError'}
-
 {if $packageUpdateServer|isset && $packageUpdateServer->errorMessage}
        <p class="warning">{lang}wcf.acp.updateServer.lastErrorMessage{/lang}<br>{$packageUpdateServer->errorMessage}</p>
 {/if}
 
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='PackageUpdateServerAdd'}{/link}{else}{link controller='PackageUpdateServerEdit' id=$packageUpdateServerID}{/link}{/if}">
        <div class="section">
index beda9e36f787c657f609e1424320d27d280b8279..c2ad50176e507647fc7cec6a798c698268fb2385 100644 (file)
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
-
 {if $action == 'edit' && !$lastVersion|empty}
        <p class="info">{lang}wcf.acp.page.lastVersion{/lang}</p>
 {/if}
 
+{include file='formNotice'}
+
 <form method="post" action="{if $action == 'add'}{link controller='PageAdd'}{/link}{else}{link controller='PageEdit' id=$pageID}{/link}{/if}">
        <div class="section tabMenuContainer" data-active="{$activeTabMenuItem}" data-store="activeTabMenuItem" id="pageTabMenuContainer">
                <nav class="tabMenu">
index c2fee72d2e188f84dde6ed40e6f4e3caf1c40b35..664e27c74889d310d7495b77ed546ab68190a135 100644 (file)
@@ -31,9 +31,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='PaidSubscriptionAdd'}{/link}{else}{link controller='PaidSubscriptionEdit' id=$subscriptionID}{/link}{/if}">
        <div class="section">
index 806b95fb99f40b434e5fe9a866cbafd6b6fa9210..91c9eda940292155b65aa4dcca5340d4cb17c72a 100644 (file)
@@ -31,9 +31,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='PaidSubscriptionUserAdd' id=$subscriptionID}{/link}{else}{link controller='PaidSubscriptionUserEdit' id=$subscriptionUserID}{/link}{/if}">
        <div class="section">
index 4bf6c71843a951575467d2c119b7d26e74be2238..e3480b01100d58b98f954756d8d02fc5f2bbf00d 100644 (file)
@@ -14,9 +14,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='SmileyAdd'}{/link}{else}{link controller='SmileyEdit' id=$smiley->smileyID}{/link}{/if}" enctype="multipart/form-data">
        <section class="section">
index a835e8f5c8f66746956a85a970734290069f4cf3..94ef30885dd5df25d58b5d54aff29389a253d552 100644 (file)
@@ -63,9 +63,7 @@
        <p class="info">{lang}wcf.acp.style.protected{/lang}</p>
 {/if}
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='StyleAdd'}{/link}{else}{link controller='StyleEdit' id=$styleID}{/link}{/if}">
        <div class="section tabMenuContainer" data-active="{$activeTabMenuItem}" data-store="activeTabMenuItem" id="styleTabMenuContainer">
index 71145f81c27db28b1f94082c689f35aaa39cd900..b24a0d22f21a0b2f4bd1e82199fdfbf75d1e77ff 100644 (file)
@@ -14,9 +14,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='TagAdd'}{/link}{else}{link controller='TagEdit' object=$tagObj}{/link}{/if}">
        <div class="section">
index 29432046c24316be8c7a45443251e883a4a9fa4f..889849eec76840acefea05b10d6030c9caf2a948 100644 (file)
@@ -16,9 +16,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 {if $availableTemplateGroups|count}
        <form method="post" action="{if $action == 'add'}{link controller='TemplateAdd'}{/link}{else}{link controller='TemplateEdit' id=$templateID}{/link}{/if}">
index 221154f4f7ad96b0a2898fa149edc4e6be5cad4e..d0cfc210686ef8d97c0526a698e79fa5c592c3f7 100644 (file)
@@ -32,9 +32,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='TemplateGroupAdd'}{/link}{else}{link controller='TemplateGroupEdit' id=$templateGroupID}{/link}{/if}">
        <div class="section">
index ff137c49fc20ccb6f611bb7f4f83abf833420977..c25f94ad8587c640cd7e76008953e6e6f1c169dd 100644 (file)
@@ -62,9 +62,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 {if $trophyCategories|count}
        <form id="trophyForm" method="post" action="{if $action == 'add'}{link controller='TrophyAdd'}{/link}{else}{link controller='TrophyEdit' id=$trophy->getObjectID()}{/link}{/if}">
index 644f256094807676ccd2898a5321e2d9e0c85c76..83763a71de4101eff1c6ccb6c4ee8da760f667f3 100644 (file)
        </nav>
 </header>
 
-{include file='formError'}
-
 {if $userID|isset && $__wcf->user->userID == $userID}
        <p class="warning">{lang}wcf.acp.user.edit.warning.selfEdit{/lang}</p>
 {/if}
 
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='UserAdd'}{/link}{else}{link controller='UserEdit' id=$userID}{/link}{/if}">
        <div class="section tabMenuContainer">
index 64936d4198cb89cc2fe9d298a2f5020e37aee452..a98b842c001e40934bf80afafebd079254f243db 100644 (file)
@@ -65,8 +65,6 @@
        </nav>
 </header>
 
-{include file='formError'}
-
 {if VISITOR_USE_TINY_BUILD && $groupIsGuest}
        <p class="warning">{lang}wcf.acp.group.excludedInTinyBuild.notice{/lang}</p>
 {/if}
@@ -79,7 +77,7 @@
        <p class="warning">{lang}wcf.acp.group.edit.warning.selfIsMember{/lang}</p>
 {/if}
 
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='UserGroupAdd'}{/link}{else}{link controller='UserGroupEdit' id=$groupID}{/link}{/if}">
        <div class="section">
index 29a299cda397fea27877fc3474160a37149679b4..920154e47d482c477a645f2558758e843c8c0683 100644 (file)
@@ -14,9 +14,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='UserGroupAssignmentAdd'}{/link}{else}{link controller='UserGroupAssignmentEdit' object=$assignment}{/link}{/if}">
        <div class="section">
index 27bae71f068473c33947f8b6188baedff058f0a0..30517b4aa1fac0261ea6adf39b39320e9d758adb 100644 (file)
@@ -15,9 +15,7 @@
 
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 {if !$availableCategories|empty}
        <form method="post" action="{if $action == 'add'}{link controller='UserOptionAdd'}{/link}{else}{link controller='UserOptionEdit' id=$optionID}{/link}{/if}">
index 1c7612b21b836fb121111993a9b85ca6ada7e14d..d1a5fdbcc8f1f66287924947c17083418c014bd1 100644 (file)
@@ -15,9 +15,7 @@
 
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='UserOptionCategoryAdd'}{/link}{else}{link controller='UserOptionCategoryEdit' id=$categoryID}{/link}{/if}">
        <div class="section">
index 677577f149007c2f649775ce81261cb1e33519f5..97bb4bc7656057150cc31b7e77596fad1bfa89da 100644 (file)
@@ -38,9 +38,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 <form method="post" action="{if $action == 'add'}{link controller='UserRankAdd'}{/link}{else}{link controller='UserRankEdit' id=$rankID}{/link}{/if}">
        <div class="section">
index 3e559cbe0b9042b4ba290aa9362d3f3b29a0967a..769d0934161c62e720f6bfce04481cb45e49441e 100644 (file)
@@ -35,9 +35,7 @@
        </nav>
 </header>
 
-{include file='formError'}
-
-{include file='formSuccess'}
+{include file='formNotice'}
 
 {if $hasSuitableTrophy}
        <form method="post" action="{if $action == 'add'}{link controller='UserTrophyAdd'}{/link}{else}{link controller='UserTrophyEdit' id=$userTrophy->getObjectID()}{/link}{/if}">