<commit_before><?php

	$tbg_response->setTitle(__('Configuration center'));
	
?>
<div class="update_div rounded_box lightgrey">
	<div class="header"><?php echo __('Check for the latest updates'); ?></div>
	<?php echo __('Checking for updates and installing the latest releases ensures you have the latest improvements, fixes and features for The Bug Genie.'); ?>
	<br>
	<?php echo __('You currently have version %thebuggenie_version% of The Bug Genie.', array('%thebuggenie_version%' => TBGSettings::getVersion(false))); ?>
	<div id="update_button"><a href="javascript:void(0);" onClick="TBG.Config.updateCheck('<?php echo make_url('configure_update_check'); ?>');"><?php echo __('Check for updates now'); ?></a></div>
	<div id="update_spinner" style="display: none;"><?php echo image_tag('spinning_32.gif'); ?></div>
</div>
<?php if (count($outdated_modules) > 0): ?>
	<div class="update_div rounded_box yellow" style="margin-top: 20px;">
		<div class="header"><?php echo __('You have %count% outdated modules. They have been disabled until you upgrade them, you can upgrade them from Module settings.', array('%count%' => count($outdated_modules))); ?></div>
	</div>
<?php endif; ?>
<table style="table-layout: fixed; width: 1000px; margin: 10px 0 0 10px;" cellpadding=0 cellspacing=0>
	<tr>
		<td valign="top">
			<div style="margin-left: 5px;"><commit_msg>Put a warning message in configuration if magic quotes are on<commit_after><?php

	$tbg_response->setTitle(__('Configuration center'));
	
?>
<div class="update_div rounded_box lightgrey">
	<div class="header"><?php echo __('Check for the latest updates'); ?></div>
	<?php echo __('Checking for updates and installing the latest releases ensures you have the latest improvements, fixes and features for The Bug Genie.'); ?>
	<br>
	<?php echo __('You currently have version %thebuggenie_version% of The Bug Genie.', array('%thebuggenie_version%' => TBGSettings::getVersion(false))); ?>
	<div id="update_button"><a href="javascript:void(0);" onClick="TBG.Config.updateCheck('<?php echo make_url('configure_update_check'); ?>');"><?php echo __('Check for updates now'); ?></a></div>
	<div id="update_spinner" style="display: none;"><?php echo image_tag('spinning_32.gif'); ?></div>
</div>
<?php if (count($outdated_modules) > 0): ?>
	<div class="update_div rounded_box yellow" style="margin-top: 20px;">
		<div class="header"><?php echo __('You have %count% outdated modules. They have been disabled until you upgrade them, you can upgrade them from Module settings.', array('%count%' => count($outdated_modules))); ?></div>
	</div>
<?php endif; ?>
<?php if (!get_magic_quotes_gpc()): ?>
	<div class="update_div rounded_box red" style="margin-top: 20px;">
		<div class="header"><?php echo __('You appear to have Magic Quotes enabled. This will cause problems with The Bug Genie, and so it is highly recommended that you disable it in your PHP configuration. Please note that this feature has been deprecated by the PHP developers, and so leaving it enabled is not advised. %furtherdetails%', array('%furtherdetails%' => '<a href="http://www.php.net/manual/en/security.magicquotes.php">'.__('Further details').'</a>')); ?></div>
	</div>
<?php endif; ?>
<table style="table-layout: fixed; width: 1000px; margin: 10px 0 0 10px;" cellpadding=0 cellspacing=0>
	<tr>
		<td valign="top">
			<div style="margin-left: 5px;">
{'fraction_non_alphanumeric': 0.17146247404331058, 'fraction_numerical': 0.011865915158706615, 'mean_word_length': 6.362445414847161, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '7478772', 'n_tokens_mistral': 1071, 'n_tokens_neox': 1017, 'n_words': 341}