Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/06/2012 09:03:08 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Update input-buttons to button-buttons in theme compatability.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-theme-compat/bbpress/form-topic-tag.php

    r3734 r3882  
    4343
    4444                    <div class="bbp-submit-wrapper">
    45                         <input type="submit" name="submit" tabindex="<?php bbp_tab_index(); ?>" value="<?php esc_attr_e( 'Update', 'bbpress' ); ?>" /><br />
     45                        <button type="submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit"><?php esc_attr_e( 'Update', 'bbpress' ); ?></button>
    4646
    4747                        <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" />
     
    7171
    7272                    <div class="bbp-submit-wrapper">
    73                         <input type="submit" name="submit" tabindex="<?php bbp_tab_index(); ?>" value="<?php esc_attr_e( 'Merge', 'bbpress' ); ?>"
    74                             onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to merge the "%s" tag into the tag you specified?', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');" />
     73                        <button type="submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to merge the "%s" tag into the tag you specified?', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Merge', 'bbpress' ); ?></button>
    7574
    7675                        <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" />
     
    10099
    101100                        <div class="bbp-submit-wrapper">
    102                             <input type="submit" name="submit" tabindex="<?php bbp_tab_index(); ?>" value="<?php _e( 'Delete', 'bbpress' ); ?>"
    103                                 onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to delete the "%s" tag? This is permanent and cannot be undone.', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');" />
     101                            <button type="submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to delete the "%s" tag? This is permanent and cannot be undone.', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Delete', 'bbpress' ); ?></button>
    104102
    105103                            <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" />
Note: See TracChangeset for help on using the changeset viewer.