<commit_before><ul class="nav">
	{foreach from=$list item=item}
		{if !empty($item.children)}
			<li class="{$item.class|escape}{if !empty($item.selected)} active{/if}">
				<a href="#menu_option{$item.optionId|escape}" class="collapse-toggle" data-toggle="collapse">
					{tr}{$item.name|escape}{/tr}
					<b class="caret"></b>
				</a>
				<ul id="menu_option{$item.optionId|escape}" class="nav collapse">
					{foreach from=$item.children item=sub}
						<li class="{$sub.class|escape}{if !empty($sub.selected)} active{/if}">
							<a href="{$sub.sefurl|escape}">{icon name="menuitem"} {tr}{$sub.name|escape}{/tr}</a>
						</li>
					{/foreach}
				</ul>
			</li>
		{else}
			<li class="{$item.class|escape}{if !empty($item.selected)}active{/if}"><a href="{$item.sefurl|escape}">{tr}{$item.name|escape}{/tr}</a></li>
		{/if}
	{/foreach}
</ul>
<commit_msg>[FIX] Fixed smarty notices for undefined vars in bootstrap templates/bootstrap_menu.tpl.<commit_after><ul class="nav">
	{foreach from=$list item=item}
		{if !empty($item.children)}
			<li class="{$item.class|escape|default:null}{if !empty($item.selected)} active{/if}">
				<a href="#menu_option{$item.optionId|escape}" class="collapse-toggle" data-toggle="collapse">
					{tr}{$item.name|escape}{/tr}
					<b class="caret"></b>
				</a>
				<ul id="menu_option{$item.optionId|escape}" class="nav collapse">
					{foreach from=$item.children item=sub}
						<li class="{$sub.class|escape|default:null}{if !empty($sub.selected)} active{/if}">
							<a href="{$sub.sefurl|escape}">{icon name="menuitem"} {tr}{$sub.name|escape}{/tr}</a>
						</li>
					{/foreach}
				</ul>
			</li>
		{else}
			<li class="{$item.class|escape|default:null}{if !empty($item.selected)}active{/if}"><a href="{$item.sefurl|escape}">{tr}{$item.name|escape}{/tr}</a></li>
		{/if}
	{/foreach}
</ul>

{'fraction_non_alphanumeric': 0.2415485278080698, 'fraction_numerical': 0.0, 'mean_word_length': 4.752351097178684, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '2334795', 'n_tokens_mistral': 784, 'n_tokens_neox': 676, 'n_words': 101}