<commit_before><?php
/**											new_assessment.php
 *
 */

$action='new_assessment_action.php';
$choice='new_assessment.php';

$toyear=get_curriculumyear();
if(isset($_POST['curryear']) and $_POST['curryear']!=''){$curryear=$_POST['curryear'];}
else{$curryear=$toyear;}
if(isset($_POST['profid']) and $_POST['profid']!=''){$profid=$_POST['profid'];}
else{$profid='';}

include('scripts/course_respon.php');

$extrabuttons['importfromfile']=array('name'=>'current','value'=>'import_assessment_scores.php');
three_buttonmenu($extrabuttons);
?>

  <div class="topform divgroup">
	<form id="formtoprocess" name="formtoprocess" enctype="multipart/form-data" method="post" action="<?php print $host;?>">
		<fieldset class="divgroup">
			<div class="left">
				<p>
					<label for="Description"><?php print_string('description');?></label>
					<input class="required" type="text" id="Description" tabindex="<?php print $tab++;?>" name="description"  maxlength="59" value="" />
				</p>
				<p>
					<label for="Element"><?php print_string('element',$book);?></label>
					<input class="required" type="text" id="Element" tabindex="<?php print $tab++;?>" name="element"   maxlength="3" value="" />
				</p>
				<p>
					<label for="Printlabel"><?php print_string('printlabel',$book);?></label>
					<input class="required" type="text" id="Printlabel" tabindex="<?php print $tab++;?>" name="printlabel" maxlength="59" value="" />
				</p>
				<p>
<?php
					$listlabelstyle='external';
					include('scripts/list_resultstatus.php');
?>
				</p>
				<p>
					<label><?php print_string('create',$book);?></label>
					<?php $xmldate='Creation'; $required='no'; $todate='0000-00-00'; include('scripts/jsdate-form.php');?>
				</p>

			</div>
			<div class="right">
<?php
					$selstage='%';
					$listlabelstyle='external';
					include('scripts/list_stage.php');
?>
				<div id="displaycurriculum" style="display:none;float:right;width:50%;">
		 			<p class="warn" style="margin:0;"><?php print_string('assessmentcurriculummessage',$book); ?></p>
		 		</div>
<?php
					$selbid='%';
					$listlabelstyle='external';
					$listlabel='subject';
					include('scripts/list_subjects.php');


					$selcomponentstatus='None';
					$listlabelstyle='internal';
					include('scripts/list_componentstatus.php');

					$selstrandstatus='None';
					$listlabelstyle='external';
					include('scripts/list_strandstatus.php');

					$required='no';
					$listlabelstyle='external';
					include('scripts/list_gradescheme.php');
?>
				<div id="displaygrading" style="display:none;float:right;width:40%;">
					<p class="warn" style="margin:0;"><?php print_string('assessmentgradingmessage',$book); ?></p>
				</div>
				<p>
					<label for="Derivation"><?php print_string('derivation',$book);?></label>
					<input type="text" id="Derivation" tabindex="<?php print $tab++;?>" name="derivation"  value="" />
<?php 
					$listname='newprofid';
					$selnewprofid=$profid;
					$required='no';
					$listlabelstyle='external';
					include('scripts/list_assessment_profile.php');
?>
				</p>
				<p>
					<label><?php print_string('deadlineforcompletion');?></label>
					<?php $xmldate='Deadline'; $required='yes'; include('scripts/jsdate-form.php');?>
				</p>
			</div><commit_msg>fixed new_assessment default profile<commit_after><?php
/**											new_assessment.php
 *
 */

$action='new_assessment_action.php';
$choice='new_assessment.php';

$toyear=get_curriculumyear();
if(isset($_POST['curryear']) and $_POST['curryear']!=''){$curryear=$_POST['curryear'];}
else{$curryear=$toyear;}
if(isset($_POST['profid']) and $_POST['profid']!=''){$profid=$_POST['profid'];}
else{$profid='';}

include('scripts/course_respon.php');

$extrabuttons['importfromfile']=array('name'=>'current','value'=>'import_assessment_scores.php');
three_buttonmenu($extrabuttons);
?>

  <div class="topform divgroup">
	<form id="formtoprocess" name="formtoprocess" enctype="multipart/form-data" method="post" action="<?php print $host;?>">
		<fieldset class="divgroup">
			<div class="left">
				<p>
					<label for="Description"><?php print_string('description');?></label>
					<input class="required" type="text" id="Description" tabindex="<?php print $tab++;?>" name="description"  maxlength="59" value="" />
				</p>
				<p>
					<label for="Element"><?php print_string('element',$book);?></label>
					<input class="required" type="text" id="Element" tabindex="<?php print $tab++;?>" name="element"   maxlength="3" value="" />
				</p>
				<p>
					<label for="Printlabel"><?php print_string('printlabel',$book);?></label>
					<input class="required" type="text" id="Printlabel" tabindex="<?php print $tab++;?>" name="printlabel" maxlength="59" value="" />
				</p>
				<p>
<?php
					$listlabelstyle='external';
					include('scripts/list_resultstatus.php');
?>
				</p>
				<p>
					<label><?php print_string('create',$book);?></label>
					<?php $xmldate='Creation'; $required='no'; $todate='0000-00-00'; include('scripts/jsdate-form.php');?>
				</p>

			</div>
			<div class="right">
<?php
					$selstage='%';
					$listlabelstyle='external';
					include('scripts/list_stage.php');
?>
				<div id="displaycurriculum" style="display:none;float:right;width:50%;">
		 			<p class="warn" style="margin:0;"><?php print_string('assessmentcurriculummessage',$book); ?></p>
		 		</div>
<?php
					$selbid='%';
					$listlabelstyle='external';
					$listlabel='subject';
					include('scripts/list_subjects.php');


					$selcomponentstatus='None';
					$listlabelstyle='internal';
					include('scripts/list_componentstatus.php');

					$selstrandstatus='None';
					$listlabelstyle='external';
					include('scripts/list_strandstatus.php');

					$required='no';
					$listlabelstyle='external';
					include('scripts/list_gradescheme.php');
?>
				<div id="displaygrading" style="display:none;float:right;width:40%;">
					<p class="warn" style="margin:0;"><?php print_string('assessmentgradingmessage',$book); ?></p>
				</div>
				<p>
					<label for="Derivation"><?php print_string('derivation',$book);?></label>
					<input type="text" id="Derivation" tabindex="<?php print $tab++;?>" name="derivation"  value="" />
<?php 
					$listname='newprofid';
					$selnewprofid=$profid;
					$required='no';
					$listlabelstyle='';
					include('scripts/list_assessment_profile.php');
?>
				</p>
				<p>
					<label><?php print_string('deadlineforcompletion');?></label>
					<?php $xmldate='Deadline'; $required='yes'; include('scripts/jsdate-form.php');?>
				</p>
			</div>
{'fraction_non_alphanumeric': 0.22235815873986847, 'fraction_numerical': 0.00581128612937758, 'mean_word_length': 5.193181818181818, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1051869', 'n_tokens_mistral': 2661, 'n_tokens_neox': 2224, 'n_words': 316}