Ticket #2538: 2538.diff
File 2538.diff, 2.8 KB (added by , 11 years ago) |
---|
-
includes/admin/settings.php
1244 1244 * 1245 1245 * @since bbPress (r2643) 1246 1246 * 1247 * @uses screen_icon() To display the screen icon1248 1247 * @uses settings_fields() To output the hidden fields for the form 1249 1248 * @uses do_settings_sections() To output the settings sections 1250 1249 */ … … 1253 1252 1254 1253 <div class="wrap"> 1255 1254 1256 <?php screen_icon(); ?>1257 1258 1255 <h2><?php esc_html_e( 'Forums Settings', 'bbpress' ) ?></h2> 1259 1256 1260 1257 <form action="options.php" method="post"> … … 1495 1492 /** 1496 1493 * The main settings page 1497 1494 * 1498 * @uses screen_icon() To display the screen icon1499 1495 * @uses settings_fields() To output the hidden fields for the form 1500 1496 * @uses do_settings_sections() To output the settings sections 1501 1497 */ … … 1504 1500 1505 1501 <div class="wrap"> 1506 1502 1507 <?php screen_icon( 'tools' ); ?>1508 1509 1503 <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( esc_html__( 'Import Forums', 'bbpress' ) ); ?></h2> 1510 1504 1511 1505 <form action="#" method="post" id="bbp-converter-settings"> -
includes/admin/tools.php
21 21 * @uses check_admin_referer() To verify the nonce and the referer 22 22 * @uses wp_cache_flush() To flush the cache 23 23 * @uses do_action() Calls 'admin_notices' to display the notices 24 * @uses screen_icon() To display the screen icon25 24 * @uses wp_nonce_field() To add a hidden nonce field 26 25 */ 27 26 function bbp_admin_repair() { … … 29 28 30 29 <div class="wrap"> 31 30 32 <?php screen_icon( 'tools' ); ?>33 34 31 <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( __( 'Repair Forums', 'bbpress' ) ); ?></h2> 35 32 36 33 <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> … … 1168 1165 * 1169 1166 * @uses check_admin_referer() To verify the nonce and the referer 1170 1167 * @uses do_action() Calls 'admin_notices' to display the notices 1171 * @uses screen_icon() To display the screen icon1172 1168 * @uses wp_nonce_field() To add a hidden nonce field 1173 1169 */ 1174 1170 function bbp_admin_reset() { … … 1176 1172 1177 1173 <div class="wrap"> 1178 1174 1179 <?php screen_icon( 'tools' ); ?>1180 1181 1175 <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( __( 'Reset Forums', 'bbpress' ) ); ?></h2> 1182 1176 <p><?php esc_html_e( 'Revert your forums back to a brand new installation. This process cannot be undone.', 'bbpress' ); ?></p> 1183 1177 <p><strong><?php esc_html_e( 'Backup your database before proceeding.', 'bbpress' ); ?></strong></p>