Skip to:
Content

bbPress.org

Ticket #2538: 2538.diff

File 2538.diff, 2.8 KB (added by netweb, 11 years ago)
  • includes/admin/settings.php

     
    12441244 *
    12451245 * @since bbPress (r2643)
    12461246 *
    1247  * @uses screen_icon() To display the screen icon
    12481247 * @uses settings_fields() To output the hidden fields for the form
    12491248 * @uses do_settings_sections() To output the settings sections
    12501249 */
     
    12531252
    12541253        <div class="wrap">
    12551254
    1256                 <?php screen_icon(); ?>
    1257 
    12581255                <h2><?php esc_html_e( 'Forums Settings', 'bbpress' ) ?></h2>
    12591256
    12601257                <form action="options.php" method="post">
     
    14951492/**
    14961493 * The main settings page
    14971494 *
    1498  * @uses screen_icon() To display the screen icon
    14991495 * @uses settings_fields() To output the hidden fields for the form
    15001496 * @uses do_settings_sections() To output the settings sections
    15011497 */
     
    15041500
    15051501        <div class="wrap">
    15061502
    1507                 <?php screen_icon( 'tools' ); ?>
    1508 
    15091503                <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( esc_html__( 'Import Forums', 'bbpress' ) ); ?></h2>
    15101504
    15111505                <form action="#" method="post" id="bbp-converter-settings">
  • includes/admin/tools.php

     
    2121 * @uses check_admin_referer() To verify the nonce and the referer
    2222 * @uses wp_cache_flush() To flush the cache
    2323 * @uses do_action() Calls 'admin_notices' to display the notices
    24  * @uses screen_icon() To display the screen icon
    2524 * @uses wp_nonce_field() To add a hidden nonce field
    2625 */
    2726function bbp_admin_repair() {
     
    2928
    3029        <div class="wrap">
    3130
    32                 <?php screen_icon( 'tools' ); ?>
    33 
    3431                <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( __( 'Repair Forums', 'bbpress' ) ); ?></h2>
    3532
    3633                <p><?php esc_html_e( 'bbPress keeps track of relationships between forums, topics, replies, and topic tags, and users. Occasionally these relationships become out of sync, most often after an import or migration. Use the tools below to manually recalculate these relationships.', 'bbpress' ); ?></p>
     
    11681165 *
    11691166 * @uses check_admin_referer() To verify the nonce and the referer
    11701167 * @uses do_action() Calls 'admin_notices' to display the notices
    1171  * @uses screen_icon() To display the screen icon
    11721168 * @uses wp_nonce_field() To add a hidden nonce field
    11731169 */
    11741170function bbp_admin_reset() {
     
    11761172
    11771173        <div class="wrap">
    11781174
    1179                 <?php screen_icon( 'tools' ); ?>
    1180 
    11811175                <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( __( 'Reset Forums', 'bbpress' ) ); ?></h2>
    11821176                <p><?php esc_html_e( 'Revert your forums back to a brand new installation. This process cannot be undone.', 'bbpress' ); ?></p>
    11831177                <p><strong><?php esc_html_e( 'Backup your database before proceeding.', 'bbpress' ); ?></strong></p>