<commit_before>{if count($showstructs) ne 0}
<tr class="formcolor">
	<td>{tr}Structures:{/tr}</td>
	<td>
  [ <a class="link" href="javascript:show('showstructs');">{tr}show structures{/tr}</a>
  | <a class="link" href="javascript:hide('showstructs');">{tr}hide structures{/tr}</a> ]
	<div id="showstructs" style="display:none;">
	<table>
		{foreach from=$showstructs item=page_info }
			<tr><td>{$page_info.pageName}{if !empty($page_info.page_alias)}({$page_info.page_alias}){/if}</td></tr>
		{/foreach}  
	</table>
  
  {if $tiki_p_edit_structures eq 'y'}
    <a href="tiki-admin_structures.php" class="link">{tr}Manage structures{/tr}</a>
  {/if}
  </div>
  </td>
</tr>
{/if}<commit_msg>Disable the need to confirm (lost edit protection) when toggling the structures list.<commit_after>{if count($showstructs) ne 0}
<tr class="formcolor">
	<td>{tr}Structures:{/tr}</td>
	<td>
  [ <a class="link" href="javascript:show('showstructs');" onclick="needToConfirm = false;">{tr}show structures{/tr}</a>
  | <a class="link" href="javascript:hide('showstructs');" onclick="needToConfirm = false;">{tr}hide structures{/tr}</a> ]
	<div id="showstructs" style="display:none;">
	<table>
		{foreach from=$showstructs item=page_info }
			<tr><td>{$page_info.pageName}{if !empty($page_info.page_alias)}({$page_info.page_alias}){/if}</td></tr>
		{/foreach}  
	</table>
  
  {if $tiki_p_edit_structures eq 'y'}
    <a href="tiki-admin_structures.php" class="link">{tr}Manage structures{/tr}</a>
  {/if}
  </div>
  </td>
</tr>
{/if}
{'fraction_non_alphanumeric': 0.224934036939314, 'fraction_numerical': 0.0013192612137203166, 'mean_word_length': 5.958715596330276, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '7124327', 'n_tokens_mistral': 603, 'n_tokens_neox': 583, 'n_words': 95}