diff options
| author | spiderr <spider@viovio.com> | 2013-04-04 01:32:48 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-04 01:32:48 -0400 |
| commit | d5d5b022ea1f9d0040b59b2472795f6e104e47f3 (patch) | |
| tree | 50f64996cb63d1b7789769dbb65171e9682b8557 | |
| parent | b9ca8f285103325066cac12c8b3e6ef056a040f8 (diff) | |
| download | boards-d5d5b022ea1f9d0040b59b2472795f6e104e47f3.tar.gz boards-d5d5b022ea1f9d0040b59b2472795f6e104e47f3.tar.bz2 boards-d5d5b022ea1f9d0040b59b2472795f6e104e47f3.zip | |
cleanup edit forms
| -rw-r--r-- | templates/admin_boards.tpl | 4 | ||||
| -rw-r--r-- | templates/board_assign.tpl | 4 | ||||
| -rw-r--r-- | templates/board_edit.tpl | 4 | ||||
| -rw-r--r-- | templates/boards_rss_form.tpl | 2 | ||||
| -rw-r--r-- | templates/comment_post.tpl | 6 | ||||
| -rw-r--r-- | templates/list_posts.tpl | 4 | ||||
| -rw-r--r-- | templates/list_topics.tpl | 2 | ||||
| -rw-r--r-- | templates/mailing_list.tpl | 14 | ||||
| -rw-r--r-- | templates/post_display.tpl | 2 | ||||
| -rw-r--r-- | templates/topic_move.tpl | 2 | ||||
| -rw-r--r-- | templates/user_preferences_inc.tpl | 4 |
11 files changed, 24 insertions, 24 deletions
diff --git a/templates/admin_boards.tpl b/templates/admin_boards.tpl index 4e2330d..165b30e 100644 --- a/templates/admin_boards.tpl +++ b/templates/admin_boards.tpl @@ -17,7 +17,7 @@ </div> <div class="control-group submit"> - <input type="submit" name="homeTabSubmit" value="{tr}Change preferences{/tr}" /> + <input type="submit" class="btn" name="homeTabSubmit" value="{tr}Change preferences{/tr}" /> </div> {/legend} *} @@ -122,7 +122,7 @@ </div> {/legend} <div class="control-group submit"> - <input type="submit" name="listTabSubmit" value="{tr}Change preferences{/tr}" /> + <input type="submit" class="btn" name="listTabSubmit" value="{tr}Change preferences{/tr}" /> </div> {/form} {/strip} diff --git a/templates/board_assign.tpl b/templates/board_assign.tpl index d3b07be..5bf3384 100644 --- a/templates/board_assign.tpl +++ b/templates/board_assign.tpl @@ -36,7 +36,7 @@ </div> <div class="control-group submit"> - <input type="submit" value="{tr}Assign Content to Board{/tr}" name="action" /> + <input type="submit" class="btn" value="{tr}Assign Content to Board{/tr}" name="action" /> </div> {/form} {else} @@ -85,7 +85,7 @@ </table> <div class="control-group submit"> - <input type="submit" value="{tr}Remove{/tr}" name="action" /> + <input type="submit" class="btn" value="{tr}Remove{/tr}" name="action" /> </div> {/form} {/if} diff --git a/templates/board_edit.tpl b/templates/board_edit.tpl index 5a683d6..3337f8b 100644 --- a/templates/board_edit.tpl +++ b/templates/board_edit.tpl @@ -58,8 +58,8 @@ {include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_mini_tpl"} <div class="control-group submit"> - <input type="submit" name="preview" value="{tr}Preview{/tr}" /> - <input type="submit" name="save_bitboard" value="{tr}Save{/tr}" /> + <input type="submit" class="btn" name="preview" value="{tr}Preview{/tr}" /> + <input type="submit" class="btn" name="save_bitboard" value="{tr}Save{/tr}" /> </div> {/legend} {/form} diff --git a/templates/boards_rss_form.tpl b/templates/boards_rss_form.tpl index 9384942..e7fa510 100644 --- a/templates/boards_rss_form.tpl +++ b/templates/boards_rss_form.tpl @@ -40,7 +40,7 @@ </div> <div class="control-group submit"> - <input type="submit" name="get_feed" value="Get Feed" /> + <input type="submit" class="btn" name="get_feed" value="Get Feed" /> </div> {/legend} {/form} diff --git a/templates/comment_post.tpl b/templates/comment_post.tpl index d156362..1699119 100644 --- a/templates/comment_post.tpl +++ b/templates/comment_post.tpl @@ -36,9 +36,9 @@ {textarea noformat=1 label="Comment" id="commentpost" name="comment_data" rows="6"}{$postComment.data}{/textarea} <div class="control-group submit"> - <input type="submit" name="post_comment_preview" value="{tr}Preview{/tr}"/> - <input type="submit" name="post_comment_submit" value="{tr}Post{/tr}"/> - <input type="submit" name="post_comment_cancel" value="{tr}Cancel{/tr}"/> + <input type="submit" class="btn" name="post_comment_preview" value="{tr}Preview{/tr}"/> + <input type="submit" class="btn" name="post_comment_submit" value="{tr}Post{/tr}"/> + <input type="submit" class="btn" name="post_comment_cancel" value="{tr}Cancel{/tr}"/> </div> {/legend} {/if} diff --git a/templates/list_posts.tpl b/templates/list_posts.tpl index 0a649e9..eed9240 100644 --- a/templates/list_posts.tpl +++ b/templates/list_posts.tpl @@ -33,9 +33,9 @@ <option value="50" {if $maxComments eq 50}selected="selected"{/if}>50</option> <option value="100" {if $maxComments eq 100}selected="selected"{/if}>100</option> <option value="999999" {if $maxComments eq 999999}selected="selected"{/if}>All</option> - </select> <input type="submit" name="comments_setOptions" value="set" id="set_btn"/> + </select> <input type="submit" class="btn" name="comments_setOptions" value="set" id="set_btn"/> </label> - <input type="submit" name="comments_setOptions" value="set" /> + <input type="submit" class="btn" name="comments_setOptions" value="set" /> <script type="text/javascript">/*<![CDATA[*/ document.getElementById('set_btn').parentNode.removeChild(document.getElementById('set_btn')); /*]]>*/</script> diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl index 52f05e1..77979f2 100644 --- a/templates/list_topics.tpl +++ b/templates/list_topics.tpl @@ -148,7 +148,7 @@ {/if} </select> - <noscript><div><input type="submit" value="{tr}Submit{/tr}" /></div></noscript> + <noscript><div><input type="submit" class="btn" value="{tr}Submit{/tr}" /></div></noscript> </div> {/if} {/form} diff --git a/templates/mailing_list.tpl b/templates/mailing_list.tpl index 7a4a594..ce83cae 100644 --- a/templates/mailing_list.tpl +++ b/templates/mailing_list.tpl @@ -24,10 +24,10 @@ {forminput} {if mailman_findmember($board->getPreference('boards_mailing_list'),$gBitUser->getField('email'))} <p>{tr}You are currently subscribed to the mailing list using the email:{/tr} {$gBitUser->getField('email')}</p> - <input type="submit" name="unsubscribe" value="Unsubscribe" /> + <input type="submit" class="btn" name="unsubscribe" value="Unsubscribe" /> {else} <p>{tr}You are currently not subscribed to the mailing list.{/tr}</p> - <input type="submit" name="subscribe" value="Subscribe" /> + <input type="submit" class="btn" name="subscribe" value="Subscribe" /> {/if} {/forminput} </div> @@ -71,7 +71,7 @@ {formfeedback warning="The Mailing List Address does not match the configured board mailing list."} {/if} {formhelp note="All messages posted to this email address will mirrored on the board. The 'Board Sync Inbox' email account must be subscribed to this list and receive the messages in its INBOX."} - <input type="submit" name="save_list_address" value="Save" /> + <input type="submit" class="btn" name="save_list_address" value="Save" /> {/forminput} </div> <div> @@ -87,10 +87,10 @@ {forminput} {if mailman_findmember($board->getPreference('boards_mailing_list'),$boardSyncInbox)} <p>{$boardSyncInbox} {tr}is subscribed to{/tr} {$boardsMailingList}</p> - <input type="submit" name="unsubscribe_boardsync" value="Unsubscribe" /> + <input type="submit" class="btn" name="unsubscribe_boardsync" value="Unsubscribe" /> {else} <p>{$boardSyncInbox} {tr}is currently not subscribed to the mailing list.{/tr}</p> - <input type="submit" name="subscribe_boardsync" value="Subscribe" /> + <input type="submit" class="btn" name="subscribe_boardsync" value="Subscribe" /> {/if} {/forminput} </div> @@ -119,7 +119,7 @@ </div> <div class="control-group submit"> {forminput} - <input type="submit" name="delete_list" value="Delete List" /> + <input type="submit" class="btn" name="delete_list" value="Delete List" /> {/forminput} </div> <div class="control-group"> @@ -149,7 +149,7 @@ </div> <div class="control-group submit"> {forminput} - <input type="submit" name="create_list" value="Create List" /> + <input type="submit" class="btn" name="create_list" value="Create List" /> {/forminput} </div> {/legend} diff --git a/templates/post_display.tpl b/templates/post_display.tpl index 7a2ebb1..31a4d05 100644 --- a/templates/post_display.tpl +++ b/templates/post_display.tpl @@ -61,7 +61,7 @@ <textarea style="vertical-align: top;" rows="3" cols="10" name="warning_message" onclick="this.value=''; this.innerHTML=''; this.onclick=null;"> Enter Warning Message </textarea> - <input type="submit" value="Warn" /> + <input type="submit" class="btn" value="Warn" /> {/form} </div> {/if} diff --git a/templates/topic_move.tpl b/templates/topic_move.tpl index 82c1b80..ac0ee0e 100644 --- a/templates/topic_move.tpl +++ b/templates/topic_move.tpl @@ -27,7 +27,7 @@ {/forminput} </div> <div class="control-group submit"> - <input type="submit" name="move_thread" value="{tr}Move Topic{/tr}" /> + <input type="submit" class="btn" name="move_thread" value="{tr}Move Topic{/tr}" /> </div> {/form} </div><!-- end .body --> diff --git a/templates/user_preferences_inc.tpl b/templates/user_preferences_inc.tpl index 16ccd3e..6b90cd5 100644 --- a/templates/user_preferences_inc.tpl +++ b/templates/user_preferences_inc.tpl @@ -25,7 +25,7 @@ </div> {/foreach} <div class="control-group submit"> - <input type="submit" name="boards[submit]" value="{tr}Change Settings{/tr}" /> + <input type="submit" class="btn" name="boards[submit]" value="{tr}Change Settings{/tr}" /> </div> {/form} {/if} @@ -35,7 +35,7 @@ {formfeedback warning=$error} {textarea gContent=$signatureContent name=bitboarduprefs[edit]" rows=4}{$editUser->getPreference('signature_content_data')}{/textarea} <div class="control-group submit"> - <input type="submit" name="preview" value="{tr}Preview{/tr}" /> <input type="submit" name="save_bitboarduprefs" value="{tr}Save{/tr}" /> + <input type="submit" class="btn" name="preview" value="{tr}Preview{/tr}" /> <input type="submit" name="save_bitboarduprefs" value="{tr}Save{/tr}" /> </div> {/form} |
