Apply explicit styling for buttons
authorAlexander Ebert <ebert@woltlab.com>
Sun, 29 May 2022 15:17:50 +0000 (17:17 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 9 Jun 2022 14:36:26 +0000 (16:36 +0200)
See #4834

50 files changed:
com.woltlab.wcf/templates/__buttonFormField.tpl
com.woltlab.wcf/templates/__formButton.tpl
com.woltlab.wcf/templates/__mediaSetCategoryDialog.tpl
com.woltlab.wcf/templates/__multifactorTotpDeviceNoDeleteButton.tpl
com.woltlab.wcf/templates/__wysiwygPreviewFormButton.tpl
com.woltlab.wcf/templates/accountSecurity.tpl
com.woltlab.wcf/templates/articleAdd.tpl
com.woltlab.wcf/templates/articleAddDialog.tpl
com.woltlab.wcf/templates/commentAddGuestDialog.tpl
com.woltlab.wcf/templates/commentEditor.tpl
com.woltlab.wcf/templates/commentListAddComment.tpl
com.woltlab.wcf/templates/commentResponseEditor.tpl
com.woltlab.wcf/templates/manageSubscription.tpl
com.woltlab.wcf/templates/mediaEditor.tpl
com.woltlab.wcf/templates/membersList.tpl
com.woltlab.wcf/templates/messageFormPreviewButton.tpl
com.woltlab.wcf/templates/messageUserConsent.tpl
com.woltlab.wcf/templates/moderationList.tpl
com.woltlab.wcf/templates/moderationQueueAssignUser.tpl
com.woltlab.wcf/templates/moderationReportDialog.tpl
com.woltlab.wcf/templates/poll.tpl
com.woltlab.wcf/templates/signatureEdit.tpl
com.woltlab.wcf/templates/userProfileAboutEditable.tpl
wcfsetup/install/files/acp/templates/__buttonFormField.tpl
wcfsetup/install/files/acp/templates/__devtoolsProjectInstructionsFormField.tpl
wcfsetup/install/files/acp/templates/__formButton.tpl
wcfsetup/install/files/acp/templates/__mediaSetCategoryDialog.tpl
wcfsetup/install/files/acp/templates/__optionRewriteTest.tpl
wcfsetup/install/files/acp/templates/__wysiwygPreviewFormButton.tpl
wcfsetup/install/files/acp/templates/articleAdd.tpl
wcfsetup/install/files/acp/templates/articleAddDialog.tpl
wcfsetup/install/files/acp/templates/articleCategoryDialog.tpl
wcfsetup/install/files/acp/templates/boxAddDialog.tpl
wcfsetup/install/files/acp/templates/devtoolsNotificationTest.tpl
wcfsetup/install/files/acp/templates/devtoolsNotificationTestDialog.tpl
wcfsetup/install/files/acp/templates/devtoolsProjectList.tpl
wcfsetup/install/files/acp/templates/devtoolsProjectSync.tpl
wcfsetup/install/files/acp/templates/languageItemEditDialog.tpl
wcfsetup/install/files/acp/templates/mediaEditor.tpl
wcfsetup/install/files/acp/templates/package.tpl
wcfsetup/install/files/acp/templates/packageUpdate.tpl
wcfsetup/install/files/acp/templates/packageUpdateUnauthorized.tpl
wcfsetup/install/files/acp/templates/pageAddDialog.tpl
wcfsetup/install/files/acp/templates/pageHeaderSearch.tpl
wcfsetup/install/files/acp/templates/pluginStoreAuthorization.tpl
wcfsetup/install/files/acp/templates/sitemapList.tpl
wcfsetup/install/files/acp/templates/stat.tpl
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/acp/templates/tagSetAsSynonyms.tpl
wcfsetup/install/files/acp/templates/trophyAdd.tpl

index 9e1bf13304eda68bc2ec348b959ea421cf7a36d7..bbcde24e662d89190d2f295b22d63019a9f7e270 100644 (file)
@@ -3,6 +3,6 @@
        *}id="{@$field->getPrefixedId()}" {*
        *}name="{@$field->getPrefixedId()}" {*
        *}value="{$field->getValue()}"{*
-       *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+       *}{if !$field->getFieldClasses()|empty} class="button {implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
        *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
 *}>{$field->getButtonLabel()}</button>
index f5be9fcdb91c5e437650297b8cfd741e7b0c427b..ba0213dbc71d818746ff80134f7de9321577bee2 100644 (file)
@@ -8,7 +8,7 @@
                *}>
 {else}
        <button id="{@$button->getPrefixedId()}"{*
-               *}{if !$button->getClasses()|empty} class="{implode from=$button->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+               *}{if !$button->getClasses()|empty} class="button {implode from=$button->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
                *}{foreach from=$button->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
                *}{if $button->getAccessKey()} accesskey="{$button->getAccessKey()}"{/if}{*
        *}>{$button->getLabel()}</button>
index 9e0c3348e61cd9a3b1b70f81f8b3f8a7b03a69ae..4c17bdb7a0137c8a2e7e0b038e2b16cf0ad2c0f5 100644 (file)
@@ -24,5 +24,5 @@
 </div>
 
 <div class="formSubmit">
-       <button data-type="submit" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+       <button data-type="submit" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
 </div>
index 1d4047c15787b183fcac0604b194ed28e1cf39a8..7cb0b1bdb7ad473dbdcd9e68e9b4f4099a703eff 100644 (file)
@@ -1,4 +1,4 @@
-<button type="button" id="{@$button->getPrefixedId()}" class="jsStaticDialog" data-dialog-id="{@$button->getPrefixedId()}DeletionInfo">{$button->getLabel()}</button>
+<button type="button" id="{@$button->getPrefixedId()}" class="button jsStaticDialog" data-dialog-id="{@$button->getPrefixedId()}DeletionInfo">{$button->getLabel()}</button>
 <div style="display: none;" id="{@$button->getPrefixedId()}DeletionInfo" data-title="{lang}wcf.user.security.multifactor.totp.lastDevice.title{/lang}">
        {lang deviceName=$device[deviceName]}wcf.user.security.multifactor.totp.lastDevice{/lang}
 </div>
index d61999dfcd6ce5d7fa1fbcacb9b242a91dcf9c77..a21f888285186682da8ce2456016911ed7f3248a 100644 (file)
@@ -1,5 +1,5 @@
 <button id="{@$button->getPrefixedId()}"{*
-       *}{if !$button->getClasses()|empty} class="{implode from=$button->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+       *}{if !$button->getClasses()|empty} class="button {implode from=$button->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
        *}{foreach from=$button->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
        *}{if $button->getAccessKey()} accesskey="{$button->getAccessKey()}"{/if}{*
 *}>{$button->getLabel()}</button>
index bc160423c5c2c67401bb93cbe26447fa479e613a..8dc6e8ba35d4e2c04df4aea2a8bb943469c16b5f 100644 (file)
@@ -89,7 +89,7 @@
                                        
                                        {if !$session->isCurrentSession()}
                                                <div class="accountSecurityButtons">
-                                                       <button class="small sessionDeleteButton" data-session-id="{$session->getSessionID()}">{lang}wcf.user.security.deleteSession{/lang}</button>
+                                                       <button class="button small sessionDeleteButton" data-session-id="{$session->getSessionID()}">{lang}wcf.user.security.deleteSession{/lang}</button>
                                                </div>
                                        {/if}
                                </div>
index 654027d861aed7a74c307aa1cd8f6cb12199ee9d..786e5e58f29eff543f3e5772807663bbf37c89c5 100644 (file)
        
        <div class="formSubmit">
                <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
-               <button id="buttonMessagePreview" class="jsOnly">{lang}wcf.global.button.preview{/lang}</button>
+               <button id="buttonMessagePreview" class="button jsOnly">{lang}wcf.global.button.preview{/lang}</button>
                <input type="hidden" name="isMultilingual" value="{@$isMultilingual}">
                <input type="hidden" name="timeNowReference" value="{@TIME_NOW}">
                {csrfToken}
index a0a5fcf75291dbbf3d294e7c4aaa5411e6dd421e..44818279213d26bf44b2d6193a0d22953a9612a7 100644 (file)
@@ -11,7 +11,7 @@
                </dl>
                
                <div class="formSubmit">
-                       <button class="buttonPrimary">{lang}wcf.global.button.next{/lang}</button>
+                       <button class="button buttonPrimary">{lang}wcf.global.button.next{/lang}</button>
                </div>
        </div>
 </div>
index e1a16a1658c212fb20de37f30297e5d5adb6dd1b..633049d886138a60520538203ed1d95b265292ea 100644 (file)
@@ -22,5 +22,5 @@
 
 <div class="formSubmit">
        <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
-       <button data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
+       <button clas="button" data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
 </div>
index 60461e8ee590d0404a8335b4ae8226537a847b21..4e70877adc66d95c666376fdd5382e8a0e2e5558 100644 (file)
@@ -6,11 +6,11 @@
 {include file='messageFormTabsInline'}
 
 <div class="formSubmit">
-       <button class="buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
+       <button class="button buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
        
        {include file='messageFormPreviewButton' previewMessageFieldID=$wysiwygSelector previewButtonID=$wysiwygSelector|concat:'_PreviewButton' previewMessageObjectType='com.woltlab.wcf.comment' previewMessageObjectID=$comment->commentID}
        
-       <button data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
+       <button class="button" data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
 </div>
 
 {include file='wysiwyg'}
index 0a6614a5939d8ea7175362f2e04331798b80e112..5b14b062c5cb954cf960f3bb5217a1fbce385f5e 100644 (file)
@@ -18,7 +18,7 @@
                        {include file='wysiwyg'}
                        
                        <div class="formSubmit">
-                               <button class="buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
+                               <button class="button buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
                                
                                {include file='messageFormPreviewButton' previewMessageFieldID=$wysiwygSelector previewButtonID=$wysiwygSelector|concat:'_PreviewButton' previewMessageObjectType='com.woltlab.wcf.comment' previewMessageObjectID=0}
                        </div>
@@ -49,7 +49,7 @@
                                {include file='wysiwyg' wysiwygSelector=$_commentResponseWysiwygSelector}
                                
                                <div class="formSubmit">
-                                       <button class="buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
+                                       <button class="button buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
                                        
                                        {include file='messageFormPreviewButton' previewMessageFieldID=$_commentResponseWysiwygSelector previewButtonID=$_commentResponseWysiwygSelector|concat:'_PreviewButton' previewMessageObjectType='com.woltlab.wcf.comment.response' previewMessageObjectID=0}
                                </div>
index 72cd3e6a45577c66ed7b76792ae4ff2935239e71..22008fd1687776849b77079c63c2f48b39060b11 100644 (file)
@@ -6,11 +6,11 @@
 {include file='messageFormTabsInline'}
 
 <div class="formSubmit">
-       <button class="buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
+       <button class="button buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
        
        {include file='messageFormPreviewButton' previewMessageFieldID=$wysiwygSelector previewButtonID=$wysiwygSelector|concat:'_PreviewButton' previewMessageObjectType='com.woltlab.wcf.comment.response' previewMessageObjectID=$response->responseID}
        
-       <button data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
+       <button class="button" data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
 </div>
 
 {include file='wysiwyg'}
index d62f7bef1c9a6ab04b75d43a09610e8e60eab3bc..bcbd288c9a0b56ef345648115de26bce9ee72ce7 100644 (file)
@@ -16,5 +16,5 @@
 </div>
 
 <div class="formSubmit">
-       <button class="jsButtonSave buttonPrimary">{lang}wcf.global.button.save{/lang}</button>
+       <button class="button jsButtonSave buttonPrimary">{lang}wcf.global.button.save{/lang}</button>
 </div>
\ No newline at end of file
index e25e443cbd132694152dcd4b92c4f2f8731de3c7..3a8982234801ad958e162994c133efc8e7381da1 100644 (file)
 {include file='aclSimple'}
 
 <div class="formSubmit">
-       <button data-type="submit" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+       <button data-type="submit" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
 </div>
index 2a925b56c8039239c66a7a375455650429d9c36c..d66d558259142a1bfe2b2f72e06d9eb25f8a9b34 100644 (file)
@@ -72,7 +72,7 @@
                        {/hascontent}
                        
                        <div class="containerListFilterOptions jsOnly">
-                               <button class="small jsStaticDialog" data-dialog-id="membersListSortFilter"><span class="icon icon16 fa-filter"></span> {lang}wcf.global.filter{/lang}</button>
+                               <button class="button small jsStaticDialog" data-dialog-id="membersListSortFilter"><span class="icon icon16 fa-filter"></span> {lang}wcf.global.filter{/lang}</button>
                        </div>
                </div>
                <ol class="containerList userList">
index 8ed77481822bfc8ec1a504b085e35a09e5db3518..640daa4664d6512f76f0414936545b7e85ad97f2 100644 (file)
@@ -3,7 +3,7 @@
 {if !$previewMessageObjectType|isset}{assign var=previewMessageObjectType value=''}{/if}
 {if !$previewMessageObjectID|isset}{assign var=previewMessageObjectID value=0}{/if}
 
-<button id="{$previewButtonID}" class="jsOnly">{lang}wcf.global.button.preview{/lang}</button>
+<button id="{$previewButtonID}" class="button jsOnly">{lang}wcf.global.button.preview{/lang}</button>
 
 <script data-relocate="true">
        $(function() {
index 0cd19d93155c02b1fd565efb6194d4369ad230a4..dd8c92226f0301c208c13e30b03d68048b48b064 100644 (file)
@@ -5,7 +5,7 @@
        </div>
        <div class="messageUserConsentDescription">{lang}wcf.message.user.consent.description{/lang}</div>
        <div class="messageUserConsentButtonContainer">
-               <button class="small jsButtonMessageUserConsentEnable">{lang}wcf.message.user.consent.button.enable{/lang}</button>
+               <button class="button small jsButtonMessageUserConsentEnable">{lang}wcf.message.user.consent.button.enable{/lang}</button>
        </div>
        <div class="messageUserConsentNotice">{lang}wcf.message.user.consent.notice{/lang}</div>
 </div>
index 9be41867c1b635538b4080acb54fe6031c48d3be..7f83b5a6fb322c6b679223abfb5a4d29f93d47f9 100644 (file)
@@ -81,7 +81,7 @@
                                                </li>
                                        {/hascontent}
                                        <li class="columnApplyFilter jsOnly">
-                                               <button class="small jsStaticDialog" data-dialog-id="moderationListSortFilter"><span class="icon icon16 fa-filter"></span> {lang}wcf.global.filter{/lang}</button>
+                                               <button class="button small jsStaticDialog" data-dialog-id="moderationListSortFilter"><span class="icon icon16 fa-filter"></span> {lang}wcf.global.filter{/lang}</button>
                                        </li>
                                </ol>
                        </li>
index 7005546cfc28c27b468a900929ee3e3d87c044a2..91a2faa89a4b30bf7a3da852cf2c83b30f17313f 100644 (file)
@@ -28,7 +28,7 @@
        </dl>
        
        <div class="formSubmit">
-               <button data-type="submit">{lang}wcf.global.button.submit{/lang}</button>
+               <button class="button" data-type="submit">{lang}wcf.global.button.submit{/lang}</button>
        </div>
 </div>
 
index 0c1a6401825f0b734108bedda4b299a8cf320e23..208c09cf151fe3a74b6841b31ed5370dcc566f8e 100644 (file)
@@ -17,6 +17,6 @@
        {event name='sections'}
        
        <div class="formSubmit">
-               <button class="jsSubmitReport buttonPrimary" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
+               <button class="button jsSubmitReport buttonPrimary" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
        </div>
 {/if}
\ No newline at end of file
index ffb63f47fb48851bacd244de4245e5f4329ee9c5..d36addc73ba84db6687c83a0341194df4d7747a3 100644 (file)
                <div class="formSubmit jsOnly"{if !$poll->canVote() && $__pollView === 'result' && !$poll->canSeeResult()} style="display: none"{/if}>
                        {content}
                                {if $__wcf->getUser()->userID}
-                                       <button class="small votePollButton"{if $poll->canVote() && $__pollView === 'vote'} disabled{else} hidden{/if}>{lang}wcf.poll.button.vote{/lang}</button>
-                                       <button class="small showVoteFormButton"{if $__pollView === 'vote' || !$poll->canVote()} hidden{/if}>{lang}wcf.poll.button.showVote{/lang}</button>
-                                       <button class="small showResultsButton"{if $__pollView === 'result' || !$poll->canSeeResult()} hidden{/if}>{lang}wcf.poll.button.showResult{/lang}</button>
+                                       <button class="button small votePollButton"{if $poll->canVote() && $__pollView === 'vote'} disabled{else} hidden{/if}>{lang}wcf.poll.button.vote{/lang}</button>
+                                       <button class="button small showVoteFormButton"{if $__pollView === 'vote' || !$poll->canVote()} hidden{/if}>{lang}wcf.poll.button.showVote{/lang}</button>
+                                       <button class="button small showResultsButton"{if $__pollView === 'result' || !$poll->canSeeResult()} hidden{/if}>{lang}wcf.poll.button.showResult{/lang}</button>
                                {/if}
                                {if $poll->canViewParticipants() || ($poll->canVote() && $poll->isPublic)}
-                                       <button class="small showPollParticipantsButton"{if $__pollView === 'vote' || !$poll->canSeeResult()} hidden{/if}>{lang}wcf.poll.button.showParticipants{/lang}</button>
+                                       <button class="button small showPollParticipantsButton"{if $__pollView === 'vote' || !$poll->canSeeResult()} hidden{/if}>{lang}wcf.poll.button.showParticipants{/lang}</button>
                                {/if}
 
                                {event name='pollButtons'}
index 5d629c913433bd5fb1fcd619bc1102a9327758e8..4dc87b4baa58eae98e98003f9bdfa487d1d297f4 100644 (file)
@@ -60,7 +60,7 @@
        {if !$__wcf->user->disableSignature}
                <div class="formSubmit">
                        <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
-                       <button id="previewButton" class="jsOnly" accesskey="p">{lang}wcf.global.button.preview{/lang}</button>
+                       <button id="previewButton" class="button jsOnly" accesskey="p">{lang}wcf.global.button.preview{/lang}</button>
                        {csrfToken}
                </div>
        {/if}
index aa3c5280ea70508876166e7c1e60292c6e2c4529..c2b308de9397fd2480ac14b8daeb52e0a37bdc3b 100644 (file)
@@ -24,8 +24,8 @@
 {/foreach}
 
 <div class="formSubmit">
-       <button class="buttonPrimary" accesskey="s" data-type="save">{lang}wcf.global.button.save{/lang}</button>
-       <button data-type="restore">{lang}wcf.global.button.cancel{/lang}</button>
+       <button class="button buttonPrimary" accesskey="s" data-type="save">{lang}wcf.global.button.save{/lang}</button>
+       <button class="button" data-type="restore">{lang}wcf.global.button.cancel{/lang}</button>
 </div>
 
 <script data-relocate="true">
index 9e1bf13304eda68bc2ec348b959ea421cf7a36d7..bbcde24e662d89190d2f295b22d63019a9f7e270 100644 (file)
@@ -3,6 +3,6 @@
        *}id="{@$field->getPrefixedId()}" {*
        *}name="{@$field->getPrefixedId()}" {*
        *}value="{$field->getValue()}"{*
-       *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+       *}{if !$field->getFieldClasses()|empty} class="button {implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
        *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
 *}>{$field->getButtonLabel()}</button>
index fb739e6174db50a12a75810620dffa893bd8e4c9..8f3fcd7e21844f2adfa0fca313a57d4046436a0d 100644 (file)
                        </div>
                        
                        <div class="formSubmit">
-                               <button data-type="submit" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+                               <button data-type="submit" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
                        </div>
                {/capture}
                
                        </div>
                        
                        <div class="formSubmit">
-                               <button data-type="submit" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+                               <button data-type="submit" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
                        </div>
                {/capture}
                
index f5be9fcdb91c5e437650297b8cfd741e7b0c427b..ba0213dbc71d818746ff80134f7de9321577bee2 100644 (file)
@@ -8,7 +8,7 @@
                *}>
 {else}
        <button id="{@$button->getPrefixedId()}"{*
-               *}{if !$button->getClasses()|empty} class="{implode from=$button->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+               *}{if !$button->getClasses()|empty} class="button {implode from=$button->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
                *}{foreach from=$button->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
                *}{if $button->getAccessKey()} accesskey="{$button->getAccessKey()}"{/if}{*
        *}>{$button->getLabel()}</button>
index 9e0c3348e61cd9a3b1b70f81f8b3f8a7b03a69ae..4c17bdb7a0137c8a2e7e0b038e2b16cf0ad2c0f5 100644 (file)
@@ -24,5 +24,5 @@
 </div>
 
 <div class="formSubmit">
-       <button data-type="submit" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+       <button data-type="submit" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
 </div>
index d0ea6b8599c4f47b35c722ad9060de826663d546..b30b947cb09ae4729f8c514ae5db124ae02c1865 100644 (file)
@@ -20,7 +20,7 @@
                </div>
                
                <div class="formSubmit">
-                       <button id="rewriteTestStart" class="buttonPrimary">{lang}wcf.acp.option.url_omit_index_php.button.runTestAgain{/lang}</button>
+                       <button id="rewriteTestStart" class="button buttonPrimary">{lang}wcf.acp.option.url_omit_index_php.button.runTestAgain{/lang}</button>
                </div>
        </div>
        <script data-relocate="true">
index d61999dfcd6ce5d7fa1fbcacb9b242a91dcf9c77..a21f888285186682da8ce2456016911ed7f3248a 100644 (file)
@@ -1,5 +1,5 @@
 <button id="{@$button->getPrefixedId()}"{*
-       *}{if !$button->getClasses()|empty} class="{implode from=$button->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+       *}{if !$button->getClasses()|empty} class="button {implode from=$button->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
        *}{foreach from=$button->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
        *}{if $button->getAccessKey()} accesskey="{$button->getAccessKey()}"{/if}{*
 *}>{$button->getLabel()}</button>
index 7eb214f6ad1673c24ef8c5ea29a0d48308a99e5c..86e3dd406c7daccd0680f0cc7d3adda095874463 100644 (file)
        
        <div class="formSubmit">
                <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
-               <button id="buttonMessagePreview" class="jsOnly">{lang}wcf.global.button.preview{/lang}</button>
+               <button id="buttonMessagePreview" class="button jsOnly">{lang}wcf.global.button.preview{/lang}</button>
                <input type="hidden" name="isMultilingual" value="{@$isMultilingual}">
                <input type="hidden" name="timeNowReference" value="{@TIME_NOW}">
                {csrfToken}
index a0a5fcf75291dbbf3d294e7c4aaa5411e6dd421e..44818279213d26bf44b2d6193a0d22953a9612a7 100644 (file)
@@ -11,7 +11,7 @@
                </dl>
                
                <div class="formSubmit">
-                       <button class="buttonPrimary">{lang}wcf.global.button.next{/lang}</button>
+                       <button class="button buttonPrimary">{lang}wcf.global.button.next{/lang}</button>
                </div>
        </div>
 </div>
index a58197f8b9bcbc75ecc2211f44f0361d852dfc2d..a0a0552c190e5675ea892796bfb11f13be58a92e 100644 (file)
@@ -14,5 +14,5 @@
 </div>
 
 <div class="formSubmit">
-       <button data-type="submit">{lang}wcf.global.button.submit{/lang}</button>
+       <button class="button" data-type="submit">{lang}wcf.global.button.submit{/lang}</button>
 </div>
index 679f71fd062e26102fbee6e4c8bb30011078c935..86e30968f2d61b93de753cf812c6a6fd2e47ed06 100644 (file)
@@ -27,7 +27,7 @@
                {/if}
                
                <div class="formSubmit">
-                       <button class="buttonPrimary">{lang}wcf.global.button.next{/lang}</button>
+                       <button class="button buttonPrimary">{lang}wcf.global.button.next{/lang}</button>
                </div>
        </div>
 </div>
index d35fccfceffee2d7f8086449b7a61894585fa296..0d6bc39db69daa0c3b0143b5ce636a3488b19e49 100644 (file)
@@ -22,7 +22,7 @@
                        {foreach from=$eventList item=event}
                                <dt>{lang}wcf.user.notification.{$event->objectType}.{$event->eventName}{/lang}</dt>
                                <dd>
-                                       <button class="small jsTestEventButton" data-event-id="{$event->eventID}" data-title="{lang}wcf.user.notification.{$event->objectType}.{$event->eventName}{/lang}">{lang}wcf.acp.devtools.notificationTest.button.test{/lang}</button>
+                                       <button class="button small jsTestEventButton" data-event-id="{$event->eventID}" data-title="{lang}wcf.user.notification.{$event->objectType}.{$event->eventName}{/lang}">{lang}wcf.acp.devtools.notificationTest.button.test{/lang}</button>
                                </dd>
                        {/foreach}
                </dl>
index 8bd53e0b38d9af78c12a885ee079001abd2f47e1..2dfabb63f1942efb703e2350b3f41b2dce95f1e2 100644 (file)
 {/if}
 
 <div class="formSubmit">
-       <button class="small buttonPrimary" id="notificationTestAllSectionButton">{lang}wcf.acp.devtools.notificationTest.button.showAll{/lang}</button>
+       <button class="small button buttonPrimary" id="notificationTestAllSectionButton">{lang}wcf.acp.devtools.notificationTest.button.showAll{/lang}</button>
        <button class="small button" id="notificationTestTitleSectionButton">{lang}wcf.acp.devtools.notificationTest.titles{/lang}</button>
        <button class="small button" id="notificationTestMessageSectionButton">{lang}wcf.acp.devtools.notificationTest.messages{/lang}</button>
        <button class="small button" id="notificationTestLinkSectionButton">{lang}wcf.acp.devtools.notificationTest.links{/lang}</button>
index 27da5aa0e338523e7b90e6f39789ef3d9d1210b7..e492bbbfed89eb5c5d753fd61f8cf7b084c70a17 100644 (file)
@@ -83,7 +83,7 @@
        </dl>
        
        <div class="formSubmit">
-               <button id="projectQuickSetupSubmit" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+               <button id="projectQuickSetupSubmit" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
        </div>
 </div>
 
index cba4af41b6a15d03b33721811b0b63b54daac422..cd8075003b0b42232f8669bc725f4d8f0724fd8f 100644 (file)
@@ -65,7 +65,7 @@
                                                </td>
                                                {if $_isSupported}
                                                        {if $_targetCount}
-                                                               <td class="columnIcon"><button class="small jsInvokePip" data-target="{$_targets[0]}">{$_targets[0]}</button></td>
+                                                               <td class="columnIcon"><button class="button small jsInvokePip" data-target="{$_targets[0]}">{$_targets[0]}</button></td>
                                                                <td class="columnText"><small class="jsInvokePipResult" data-target="{$_targets[0]}">{lang}wcf.acp.devtools.sync.status.idle{/lang}</small></td>
                                                        {else}
                                                                <td class="columnText" colspan="2">
@@ -85,7 +85,7 @@
                                                                        class="jsHasPipTargets jsSkipTargetDetection"
                                                                {/if}
                                                        >
-                                                               <td class="columnIcon"><button class="small jsInvokePip" data-target="{$_targets[$i]}">{$_targets[$i]}</button></td>
+                                                               <td class="columnIcon"><button class="button small jsInvokePip" data-target="{$_targets[$i]}">{$_targets[$i]}</button></td>
                                                                <td class="columnText"><small class="jsInvokePipResult" data-target="{$_targets[$i]}">{lang}wcf.acp.devtools.sync.status.idle{/lang}</small></td>
                                                        </tr>
                                                {/section}
index 66b43e286502a0aae7f9ae3a2fb347136d8f6a17..cf0429101c9ecae81af0a545b60799d6a6e592a9 100644 (file)
@@ -46,9 +46,9 @@
 <input type="hidden" name="languageItemID" id="overlayLanguageItemID" value="{@$item->languageItemID}">
 
 <div class="formSubmit">
-       <button class="jsSubmitLanguageItem buttonPrimary" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
+       <button class="button buttonPrimary jsSubmitLanguageItem" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
        
        {if $item->isCustomLanguageItem}
-               <button class="jsDeleteLanguageItem">{lang}wcf.global.button.delete{/lang}</button>
+               <button class="button jsDeleteLanguageItem">{lang}wcf.global.button.delete{/lang}</button>
        {/if}
 </div>
\ No newline at end of file
index e25e443cbd132694152dcd4b92c4f2f8731de3c7..3a8982234801ad958e162994c133efc8e7381da1 100644 (file)
 {include file='aclSimple'}
 
 <div class="formSubmit">
-       <button data-type="submit" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+       <button data-type="submit" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
 </div>
index ceffec10106a15c955b4e3ad007214fbe6ee1b6b..38da9a7ffc5df98353e0c175c35bb1716f6b588c 100644 (file)
@@ -20,7 +20,7 @@
                        <ul>
                                {content}
                                        {if $package->canUninstall()}
-                                               <li><button class="jsUninstallButton" data-object-id="{@$package->packageID}" data-confirm-message="{lang __encode=true}wcf.acp.package.uninstallation.confirm{/lang}" data-is-required="{if $package->isRequired()}true{else}false{/if}" data-is-application="{if $package->isApplication}true{else}false{/if}"><span class="icon icon16 fa-times"></span> <span>{lang}wcf.acp.package.button.uninstall{/lang}</span></button></li>
+                                               <li><button class="button jsUninstallButton" data-object-id="{@$package->packageID}" data-confirm-message="{lang __encode=true}wcf.acp.package.uninstallation.confirm{/lang}" data-is-required="{if $package->isRequired()}true{else}false{/if}" data-is-application="{if $package->isApplication}true{else}false{/if}"><span class="icon icon16 fa-times"></span> <span>{lang}wcf.acp.package.button.uninstall{/lang}</span></button></li>
                                        {/if}
 
                                        {event name='contentHeaderNavigation'}
index a0e134ecba4001bd38bd5342e461b7f9417c3d6e..212526f373358c471581ad0471f33b5a2dc7e3e8 100644 (file)
@@ -35,7 +35,7 @@
 </div>
 
 <div class="formSubmit">
-       <button class="buttonPrimary" id="packageUpdateSubmitButton">{lang}wcf.global.button.submit{/lang}</button>
+       <button class="button buttonPrimary" id="packageUpdateSubmitButton">{lang}wcf.global.button.submit{/lang}</button>
 </div>
 
 <script data-relocate="true">
index e74f9273118f12e886fb75f1b80f3ff3c557bd9c..4081b29467e47b43489586b743a4890301f5a754 100644 (file)
@@ -51,5 +51,5 @@
 </section>
 
 <div class="formSubmit">
-       <button class="buttonPrimary" data-type="submit" data-package-update-server-id="{@$updateServer->packageUpdateServerID}">{lang}wcf.global.button.submit{/lang}</button>
+       <button class="button buttonPrimary" data-type="submit" data-package-update-server-id="{@$updateServer->packageUpdateServerID}">{lang}wcf.global.button.submit{/lang}</button>
 </div>
index 07abf24d391873095454d775fe0ebc441e775975..dcf57f328b5b2abe76b5662a00e07f139d535b26 100644 (file)
@@ -25,7 +25,7 @@
                {/if}
                
                <div class="formSubmit">
-                       <button class="buttonPrimary">{lang}wcf.global.button.next{/lang}</button>
+                       <button class="button buttonPrimary">{lang}wcf.global.button.next{/lang}</button>
                </div>
        </div>
 </div>
index 2ceea051f5b3ad3b8abd91433985e282555d766c..a1a619ad3e61cc16cb00a5bbbfee78328e6594a2 100644 (file)
@@ -18,7 +18,7 @@
                
                <input type="search" name="q" id="pageHeaderSearchInput" class="pageHeaderSearchInput" placeholder="{lang}wcf.global.search.enterSearchTerm{/lang}" autocomplete="off" required value="" data-toggle="search">
                
-               <button class="pageHeaderSearchInputButton" type="submit">
+               <button class="button pageHeaderSearchInputButton" type="submit">
                        <span class="icon icon16 pointer fa-search" title="{lang}wcf.global.search{/lang}"></span>
                </button>
        </div>
index 7d26fa4db2bdafecabda4012edf278f57bc44a2d..61084b5fa944594219e26635b1d9e4a61454407c 100644 (file)
@@ -20,5 +20,5 @@
 </section>
 
 <div class="formSubmit">
-       <button>{lang}wcf.global.button.submit{/lang}</button>
+       <button class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
 </div>
\ No newline at end of file
index 1168b9ec75f9c1ddb70c26929c37b052a480c716..0c236befd33ce0f136cb8fc68e340b6919f19fdd 100644 (file)
@@ -7,7 +7,7 @@
 
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><button id="sitemapRebuildButton"><span class="icon icon16 fa-refresh"></span> <span>{lang}wcf.acp.rebuildData.com.woltlab.wcf.sitemap{/lang}</span></button></li>
+                       <li><button class="button" id="sitemapRebuildButton"><span class="icon icon16 fa-refresh"></span> <span>{lang}wcf.acp.rebuildData.com.woltlab.wcf.sitemap{/lang}</span></button></li>
 
                        {event name='contentHeaderNavigation'}
                </ul>
index ba01ac7b72b70282c555ed0ef5c571e9f2c17d3c..4bfd6029ec49eda0c9fe70481e0cc1f15f2d8473 100644 (file)
@@ -72,7 +72,7 @@
 </section>
 
 <div class="formSubmit">
-       <button class="buttonPrimary" id="statRefreshButton">{lang}wcf.global.button.refresh{/lang}</button>
+       <button class="button buttonPrimary" id="statRefreshButton">{lang}wcf.global.button.refresh{/lang}</button>
 </div>
 
 <div id="chartTooltip" class="balloonTooltip active" style="display: none"></div>
index e0e1bde53e87d60e9bf157afd53fa8d38218c428..fdc111ef51c51a4194669a6682bd36980fed93d6 100644 (file)
        </dl>
        
        <div class="formSubmit">
-               <button id="styleDisableProtectionSubmit" class="buttonPrimary" disabled>{lang}wcf.global.button.submit{/lang}</button>
+               <button id="styleDisableProtectionSubmit" class="button buttonPrimary" disabled>{lang}wcf.global.button.submit{/lang}</button>
        </div>
 </div>
 
index 47b1c65727ea615b7d86ba7aedfc875037d8431a..1b1c32695675cd359196a317a19882f2d8a1a18f 100644 (file)
@@ -9,5 +9,5 @@
 </ul>
 
 <div class="formSubmit">
-       <button data-type="submit">{lang}wcf.global.button.submit{/lang}</button>
+       <button class="button" data-type="submit">{lang}wcf.global.button.submit{/lang}</button>
 </div>
index 485f5230cf5db26476846e31aacc359592058ed8..944b08e77bbed4787a67beea9c5342eefd02c2c6 100644 (file)
        </div>
 
        <div class="formSubmit">
-               <button class="buttonPrimary">{lang}wcf.global.button.save{/lang}</button>
+               <button class="button buttonPrimary">{lang}wcf.global.button.save{/lang}</button>
        </div>
 </div>