<commit_before>{* $Id$ *} 
{if !$hide_page_header}
	{if $prefs.feature_siteloc eq 'page' and $prefs.feature_breadcrumbs eq 'y'}
		{if $prefs.feature_siteloclabel eq 'y'}{tr}Location : {/tr}{/if}
		{breadcrumbs type="trail" loc="page" crumbs=$crumbs}
		{if $prefs.feature_page_title eq 'y'}
			{breadcrumbs type="pagetitle" loc="page" crumbs=$crumbs machine_translate=$machine_translate_to_lang source_lang=$pageLang target_lang=$machine_translate_to_lang}
		{/if}
	{/if}

	{if $beingStaged eq 'y'}
	<div class="tocnav">
	{tr}This is the staging copy of{/tr} <a class="link" href="tiki-index.php?page={$approvedPageName|escape:'url'}">{tr}the approved version of this page.{/tr}</a>
	{if $outOfSync eq 'y'}
		{if $canApproveStaging == 'y'}
			<div class="notif-pad">
				{if $lastSyncVersion}
					<a class="link" href="tiki-pagehistory.php?page={$page|escape:'url'}&amp;diff2={$lastSyncVersion}&amp;diff_style=sidediff">{tr}View changes since last approval.{/tr}</a>
				{else}
					{tr}Viewing of changes since last approval is possible only after first approval.{/tr}
				{/if}
				<form action="tiki-approve_staging_page.php" method="post">
					<input type="hidden" name="page" value="{$page|escape}" />
					<div class="notif-pad-2">
						<div class="notif-row">
							<input type="radio" name="action" value="approve" id="staging_approve" />
							&nbsp;
							<label for="staging_approve">{tr}Approve changes{/tr}</label>
							<div class="notif-pad-3" id="staging_approve_details">
								{if empty($pageLang) || ($pageLang == 'en') || ($pageLang =='en-US')}
								<input type="checkbox" name="outofdate" value="1" id="staging_outofdate">
								&nbsp;
								<label for="staging_outofdate">{tr}Mark other translations as out of date{/tr}</label>
								{if !empty($outofdate_desc)}
									<div class="notif-highlight" id="staging_outofdate_details">{$outofdate_desc|escape}</div>
								{/if}
							{/if}
							    <div class="notif-pad-2">
								<label for="approve_summary">{tr}Feedback to the author (optional):{/tr}</label>
								<br/>
								<textarea id="approve_summary" name="approve_comment" rows="3" cols="50"></textarea>
								</div>
							</div>
							<div class="notif-row">
								<input type="radio" name="action" value="reject" id="staging_reject" />
								&nbsp;
								<label for="staging_reject">{tr}Reject changes{/tr}</label>
								<div class="notif-pad-3" id="staging_reject_details">
									<label for="reject_summary">{tr}Reason for rejecting (will be e-mailed to editor):{/tr}</label>
									<br/>
									<textarea id="reject_summary" name="reject_comment" rows="3" cols="50"></textarea>
								</div>
							</div>
							<input type="submit" name="staging_action" value="{tr}Submit{/tr}"/>
						</div>
					</div>
				</form>
				{else}
					{tr}Latest changes will be synchronized after approval.{/tr}
				{/if} {*canApproveStaging*}
				</div>
			{/if}
	</div>
	{/if} {*beingStaged*}
	
	{if $needsFirstApproval == 'y' and $canApproveStaging == 'y'}
		<div class="tocnav">
			{tr}This is a new staging page that has not been approved before. Edit and manually move it to the category for approved pages to approve it for the first time.{/tr}
		</div>
	{/if}

{/if} {*hide_page_header*}

{if !$prefs.wiki_topline_position or $prefs.wiki_topline_position eq 'top' or $prefs.wiki_topline_position eq 'both'}
	{include file=tiki-wiki_topline.tpl}
{/if}

{if $print_page ne 'y'}
	{if $prefs.page_bar_position eq 'top'}
		{include file=tiki-page_bar.tpl}
	{/if}
{/if}

{if isset($saved_msg) && $saved_msg neq ''}<commit_msg>[FIX] div closing in wrong place<commit_after>{* $Id$ *} 
{if !$hide_page_header}
	{if $prefs.feature_siteloc eq 'page' and $prefs.feature_breadcrumbs eq 'y'}
		{if $prefs.feature_siteloclabel eq 'y'}{tr}Location : {/tr}{/if}
		{breadcrumbs type="trail" loc="page" crumbs=$crumbs}
		{if $prefs.feature_page_title eq 'y'}
			{breadcrumbs type="pagetitle" loc="page" crumbs=$crumbs machine_translate=$machine_translate_to_lang source_lang=$pageLang target_lang=$machine_translate_to_lang}
		{/if}
	{/if}

	{if $beingStaged eq 'y'}
	<div class="tocnav">
	{tr}This is the staging copy of{/tr} <a class="link" href="tiki-index.php?page={$approvedPageName|escape:'url'}">{tr}the approved version of this page.{/tr}</a>
	{if $outOfSync eq 'y'}
		{if $canApproveStaging == 'y'}
			<div class="notif-pad">
				{if $lastSyncVersion}
					<a class="link" href="tiki-pagehistory.php?page={$page|escape:'url'}&amp;diff2={$lastSyncVersion}&amp;diff_style=sidediff">{tr}View changes since last approval.{/tr}</a>
				{else}
					{tr}Viewing of changes since last approval is possible only after first approval.{/tr}
				{/if}
				<form action="tiki-approve_staging_page.php" method="post">
					<input type="hidden" name="page" value="{$page|escape}" />
					<div class="notif-pad-2">
						<div class="notif-row">
							<input type="radio" name="action" value="approve" id="staging_approve" />
							&nbsp;
							<label for="staging_approve">{tr}Approve changes{/tr}</label>
							<div class="notif-pad-3" id="staging_approve_details">
								{if empty($pageLang) || ($pageLang == 'en') || ($pageLang =='en-US')}
								<input type="checkbox" name="outofdate" value="1" id="staging_outofdate">
								&nbsp;
								<label for="staging_outofdate">{tr}Mark other translations as out of date{/tr}</label>
								{if !empty($outofdate_desc)}
									<div class="notif-highlight" id="staging_outofdate_details">{$outofdate_desc|escape}</div>
								{/if}
							{/if}
							    <div class="notif-pad-2">
								<label for="approve_summary">{tr}Feedback to the author (optional):{/tr}</label>
								<br/>
								<textarea id="approve_summary" name="approve_comment" rows="3" cols="50"></textarea>
								</div>
							</div>
							<div class="notif-row">
								<input type="radio" name="action" value="reject" id="staging_reject" />
								&nbsp;
								<label for="staging_reject">{tr}Reject changes{/tr}</label>
								<div class="notif-pad-3" id="staging_reject_details">
									<label for="reject_summary">{tr}Reason for rejecting (will be e-mailed to editor):{/tr}</label>
									<br/>
									<textarea id="reject_summary" name="reject_comment" rows="3" cols="50"></textarea>
								</div>
							</div>
							<input type="submit" name="staging_action" value="{tr}Submit{/tr}"/>
						</div>
					</div>
				</form>
				</div>
				{else}
					{tr}Latest changes will be synchronized after approval.{/tr}
				{/if} {*canApproveStaging*}
			{/if}{*outOfSync*}
	</div>
	{/if} {*beingStaged*}
	
	{if $needsFirstApproval == 'y' and $canApproveStaging == 'y'}
		<div class="tocnav">
			{tr}This is a new staging page that has not been approved before. Edit and manually move it to the category for approved pages to approve it for the first time.{/tr}
		</div>
	{/if}

{/if} {*hide_page_header*}

{if !$prefs.wiki_topline_position or $prefs.wiki_topline_position eq 'top' or $prefs.wiki_topline_position eq 'both'}
	{include file=tiki-wiki_topline.tpl}
{/if}

{if $print_page ne 'y'}
	{if $prefs.page_bar_position eq 'top'}
		{include file=tiki-page_bar.tpl}
	{/if}
{/if}

{if isset($saved_msg) && $saved_msg neq ''}
{'fraction_non_alphanumeric': 0.17617728531855956, 'fraction_numerical': 0.0033240997229916896, 'mean_word_length': 3.9122448979591837, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '2334803', 'n_tokens_mistral': 3175, 'n_tokens_neox': 2603, 'n_words': 557}