<commit_before><?php

	$tbg_response->setTitle(__('Manage projects'));
	$tbg_response->addJavascript('config/projects_ajax.js');
	
?>
<table style="table-layout: fixed; width: 100%" cellpadding=0 cellspacing=0>
<tr>
<?php 

include_component('leftmenu', array('selected_section' => 10));

?>
<td valign="top">
	<table style="width: 100%" cellpadding=0 cellspacing=0>
		<tr>
			<td style="padding-right: 10px;">
				<div class="config_header" style="width: 750px;"><?php echo __('Configure projects'); ?></div>
				<p style="padding-top: 5px;">
					<?php echo __('More information about projects, editions, builds and components is available from the %wiki_help_section%.', array('%wiki_help_section%' => link_tag(make_url('publish_article', array('article_name' => 'Category:Help')), '<b>'.__('Wiki help section').'</b>'))); ?>
				</p>
			</td>
		</tr>
	</table>
	<?php if ($access_level == configurationActions::ACCESS_FULL): ?>
		<div style="width: 700px; padding: 5px 0 5px 0; margin-top: 45px; border: 0; font-size: 14px;"><b><?php echo __('Create a new project'); ?></b></div>
		<div class="rounded_box lightgrey" style="width: 690px; padding: 5px; margin-bottom: 20px;">
			<form accept-charset="<?php echo TBGContext::getI18n()->getCharset(); ?>" action="config.php" method="post" id="add_project_form" onsubmit="addProject('<?php echo make_url('configure_projects_add_project'); ?>');return false;">
				<input type="hidden" name="add_project" value="true">
				<table cellpadding=0 cellspacing=0 style="margin: 0; width: 690px; table-layout: auto;">
					<tr>
						<td style="width: auto; padding-right: 10px;"><b><?php echo __('Project name'); ?></b></td>
						<td style="width: 400px; padding: 2px; text-align: right;">
							<input type="text" style="width: 320px; text-align: left;" name="p_name">
							<input type="submit" style="width: 60px;" value="<?php echo __('Add'); ?>">
						</td>
					</tr>
				</table>
				<table cellpadding=0 cellspacing=0 style="display: none; margin-left: 5px; width: 300px;" id="project_add_indicator">
					<tr>
						<td style="width: 20px; padding: 2px;"><?php echo image_tag('spinning_20.gif'); ?></td>
						<td style="padding: 0px; text-align: left;"><?php echo __('Adding project, please wait'); ?>...</td>
					</tr><commit_msg>remove unecessary padding on project config page<commit_after><?php

	$tbg_response->setTitle(__('Manage projects'));
	$tbg_response->addJavascript('config/projects_ajax.js');
	
?>
<table style="table-layout: fixed; width: 100%" cellpadding=0 cellspacing=0>
<tr>
<?php 

include_component('leftmenu', array('selected_section' => 10));

?>
<td valign="top">
	<table style="width: 100%" cellpadding=0 cellspacing=0>
		<tr>
			<td style="padding-right: 10px;">
				<div class="config_header" style="width: 750px;"><?php echo __('Configure projects'); ?></div>
				<p style="padding-top: 5px;">
					<?php echo __('More information about projects, editions, builds and components is available from the %wiki_help_section%.', array('%wiki_help_section%' => link_tag(make_url('publish_article', array('article_name' => 'Category:Help')), '<b>'.__('Wiki help section').'</b>'))); ?>
				</p>
			</td>
		</tr>
	</table>
	<?php if ($access_level == configurationActions::ACCESS_FULL): ?>
		<div class="rounded_box lightgrey" style="width: 690px; padding: 5px; margin: 10px 0;">
			<form accept-charset="<?php echo TBGContext::getI18n()->getCharset(); ?>" method="post" id="add_project_form" onsubmit="addProject('<?php echo make_url('configure_projects_add_project'); ?>');return false;">
				<input type="hidden" name="add_project" value="true">
				<table cellpadding=0 cellspacing=0 style="margin: 0; width: 690px; table-layout: auto;">
					<tr>
						<td style="width: auto; padding-right: 10px;"><b><?php echo __('Create a new project'); ?></b></td>
						<td style="width: 400px; padding: 2px; text-align: right;">
							<input type="text" style="width: 320px; text-align: left;" name="p_name">
							<input type="submit" style="width: 60px;" value="<?php echo __('Add'); ?>">
						</td>
					</tr>
				</table>
				<table cellpadding=0 cellspacing=0 style="display: none; margin-left: 5px; width: 300px;" id="project_add_indicator">
					<tr>
						<td style="width: 20px; padding: 2px;"><?php echo image_tag('spinning_20.gif'); ?></td>
						<td style="padding: 0px; text-align: left;"><?php echo __('Adding project, please wait'); ?>...</td>
					</tr>
{'fraction_non_alphanumeric': 0.202204228520018, 'fraction_numerical': 0.02766531713900135, 'mean_word_length': 5.28995756718529, 'pattern_counts': {'":': 0, '<': 104, '<?xml version=': 0, '>': 116, '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': '2889372', 'n_tokens_mistral': 1766, 'n_tokens_neox': 1464, 'n_words': 361}