<commit_before><div class="t_navbar margin-bottom-md">
	{self_link print='y'}{icon name='print' hspace='1' align='right' alt="{tr}Print{/tr}"}{/self_link}

	{if $mid ne "tiki-directory_browse.tpl"}
		{button href="tiki-directory_browse.php" class="btn btn-default" _icon_name="view" _text="{tr}Browse{/tr}"}
	{/if}

	{if $tiki_p_admin_directory_cats eq 'y' or $tiki_p_admin_directory_sites eq 'y' or $tiki_p_validate_links eq 'y'}
		{button href="tiki-directory_admin.php" class="btn btn-default" _icon_name="cog" _text="{tr}Admin{/tr}"}
	{/if}

	{button href="tiki-directory_ranking.php?sort_mode=created_desc" class="btn btn-default" _icon_name="star" _text="{tr}New Sites{/tr}"}

	{if $prefs.directory_cool_sites eq "y"}
		{button href="tiki-directory_ranking.php?sort_mode=hits_desc" class="btn btn-default" _icon_name="ok" _text="{tr}Cool Sites{/tr}"}
	{/if}

	{if $tiki_p_submit_link eq 'y' or $tiki_p_autosubmit_link eq 'y'}
		{if isset($addtocat)}
			{button href="tiki-directory_add_site.php?addtocat=$addtocat" class="btn btn-default" _icon_name="add" _text="{tr}Add a Site{/tr}"}
		{else}
			{button href="tiki-directory_add_site.php" class="btn btn-default" _icon_name="add" _text="{tr}Add a Site{/tr}"}
		{/if}

		{if $tiki_p_admin_directory_cats eq 'y'}<commit_msg>[FIX] Fix inconsistency by putting print icon in button. Todo: Link class (icon color)  is wrong.<commit_after><div class="t_navbar margin-bottom-md">
    <button class='btn btn-default'>{self_link print='y'}{icon name='print' text="{tr}Print{/tr}"}{/self_link}</button>

	{if $mid ne "tiki-directory_browse.tpl"}
		{button href="tiki-directory_browse.php" class="btn btn-default" _icon_name="view" _text="{tr}Browse{/tr}"}
	{/if}

	{if $tiki_p_admin_directory_cats eq 'y' or $tiki_p_admin_directory_sites eq 'y' or $tiki_p_validate_links eq 'y'}
		{button href="tiki-directory_admin.php" class="btn btn-default" _icon_name="cog" _text="{tr}Admin{/tr}"}
	{/if}
	{button href="tiki-directory_ranking.php?sort_mode=created_desc" class="btn btn-default" _icon_name="star" _text="{tr}New Sites{/tr}"}

	{if $prefs.directory_cool_sites eq "y"}
		{button href="tiki-directory_ranking.php?sort_mode=hits_desc" class="btn btn-default" _icon_name="ok" _text="{tr}Cool Sites{/tr}"}
	{/if}

	{if $tiki_p_submit_link eq 'y' or $tiki_p_autosubmit_link eq 'y'}
		{if isset($addtocat)}
			{button href="tiki-directory_add_site.php?addtocat=$addtocat" class="btn btn-default" _icon_name="add" _text="{tr}Add a Site{/tr}"}
		{else}
			{button href="tiki-directory_add_site.php" class="btn btn-default" _icon_name="add" _text="{tr}Add a Site{/tr}"}
		{/if}

		{if $tiki_p_admin_directory_cats eq 'y'}
{'fraction_non_alphanumeric': 0.17812852311161217, 'fraction_numerical': 0.0003757985719654265, 'mean_word_length': 6.806451612903226, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6938410', 'n_tokens_mistral': 1137, 'n_tokens_neox': 1060, 'n_words': 194}