<commit_before><?php
/**
 * The post/page editor tab for forum preferences.
 *
 * @package   Muut
 * @copyright 2014 Muut Inc
 */
global $post;
$tab;

$meta_name = $tab['meta_name'];
$forum_settings = Muut_Post_Utility::getPostOption( $post->ID, 'forum_settings' );
$forum_defaults = muut()->getOption( 'forum_defaults' );

$hide_online = isset( $forum_settings['hide_online'] ) ? $forum_settings['hide_online'] : $forum_defaults['hide_online'];
$disable_uploads = isset( $forum_settings['disable_uploads'] ) ? $forum_settings['disable_uploads'] : $forum_defaults['disable_uploads'];
?>
<div class="enabled_tab_wrapper">
	<p>
		<span class="description"><?php _e( 'This will embed your entire forum with navigation on this page.', 'muut' ); ?></span>
	</p>
	<p>
		<span class="checkbox_row"><input type="checkbox" name="<?php echo $meta_name; ?>[hide_online]" id="muut_forum_hide_online" value="1" <?php checked( $hide_online, '1' ); ?> /><label for="muut_forum_hide_online"><?php _e( 'Hide online users', 'muut' ); ?></label></span>
		<span class="checkbox_row"><input type="checkbox" name="<?php echo $meta_name; ?>[disable_uploads]" id="muut_forum_disable_uploads" value="1" <?php checked( $disable_uploads, '1' ); ?> /><label for="muut_forum_disable_uploads"><?php _e( 'Disable image uploads', 'muut' ); ?></label></span>
	</p>
</div>
<div class="disabled_tab_wrapper">
	<p>
		<span class="description"><?php printf( __( 'In order to embed the forum, you must disable commenting. %sClick here%s to do that now.', 'muut' ), '<a href="#" class="disabled_comments_link">', '</a>' ); ?></span>
	</p>
	<p>
		<span class="description"><?php _e( 'This will embed your entire forum with navigation on this page.', 'muut' ); ?></span>
	</p>
</div><commit_msg>Fixed typo in forum tab for disable comments link.<commit_after><?php
/**
 * The post/page editor tab for forum preferences.
 *
 * @package   Muut
 * @copyright 2014 Muut Inc
 */
global $post;
$tab;

$meta_name = $tab['meta_name'];
$forum_settings = Muut_Post_Utility::getPostOption( $post->ID, 'forum_settings' );
$forum_defaults = muut()->getOption( 'forum_defaults' );

$hide_online = isset( $forum_settings['hide_online'] ) ? $forum_settings['hide_online'] : $forum_defaults['hide_online'];
$disable_uploads = isset( $forum_settings['disable_uploads'] ) ? $forum_settings['disable_uploads'] : $forum_defaults['disable_uploads'];
?>
<div class="enabled_tab_wrapper">
	<p>
		<span class="description"><?php _e( 'This will embed your entire forum with navigation on this page.', 'muut' ); ?></span>
	</p>
	<p>
		<span class="checkbox_row"><input type="checkbox" name="<?php echo $meta_name; ?>[hide_online]" id="muut_forum_hide_online" value="1" <?php checked( $hide_online, '1' ); ?> /><label for="muut_forum_hide_online"><?php _e( 'Hide online users', 'muut' ); ?></label></span>
		<span class="checkbox_row"><input type="checkbox" name="<?php echo $meta_name; ?>[disable_uploads]" id="muut_forum_disable_uploads" value="1" <?php checked( $disable_uploads, '1' ); ?> /><label for="muut_forum_disable_uploads"><?php _e( 'Disable image uploads', 'muut' ); ?></label></span>
	</p>
</div>
<div class="disabled_tab_wrapper">
	<p>
		<span class="description"><?php printf( __( 'In order to embed the forum, you must disable commenting. %sClick here%s to do that now.', 'muut' ), '<a href="#" class="disable_comments_link">', '</a>' ); ?></span>
	</p>
	<p>
		<span class="description"><?php _e( 'This will embed your entire forum with navigation on this page.', 'muut' ); ?></span>
	</p>
</div>
{'fraction_non_alphanumeric': 0.1961060948081264, 'fraction_numerical': 0.004514672686230248, 'mean_word_length': 6.4789029535864975, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4535176', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1184, 'n_words': 305}