<commit_before>{* $Id$ *}
{if !isset($show_heading) or $show_heading neq "n"}
	{if strlen($heading) > 0 and $prefs.feature_blog_heading eq 'y'}
		{eval var=$heading}
	{else}
		{include file='blog_heading.tpl'}
	{/if}

	<div class="blogactions clearfix">
        <div class="btn-group">
		{if $tiki_p_blog_post eq "y"}
			{if ($user and $creator eq $user) or $tiki_p_blog_admin eq "y" or $public eq "y"}
				<a class="btn btn-default btn-small bloglink" href="tiki-blog_post.php?blogId={$blogId}" alt="{tr}Post{/tr}" title="{tr}Post{/tr}">{icon name=post}</a>
			{/if}
		{/if}
		{if $prefs.feed_blog eq "y"}
			<a class="btn btn-default btn-small bloglink" href="tiki-blog_rss.php?blogId={$blogId}" alt="{tr}RSS feed{/tr}" title="{tr}RSS feed{/tr}">{icon name=rss}</a>
		{/if}
		{if ($user and $creator eq $user) or $tiki_p_blog_admin eq "y"}
			<a class="btn btn-default btn-small bloglink" href="tiki-edit_blog.php?blogId={$blogId}" alt="{tr}Edit Blog{/tr}" title="{tr}Edit Blog{/tr}">{icon name=edit}</a>
			{if $allow_comments eq 'y'}
				<a class='btn btn-default btn-small bloglink' href='tiki-list_comments.php?types_section=blogs&amp;blogId={$blogId}' alt="{tr}List all comments{/tr}" title="{tr}List all comments{/tr}">{icon name=comments}</a>
			{/if}
		{/if}

		{if $user and $prefs.feature_user_watches eq 'y'}
			{if $user_watching_blog eq 'n'}
				<a href="tiki-view_blog.php?blogId={$blogId}&amp;watch_event=blog_post&amp;watch_object={$blogId}&amp;watch_action=add" class="btn btn-default btn-small" alt="{tr}Monitor this Blog{/tr}" title="{tr}Monitor this Blog{/tr}">{icon name=watch}</a>
			{else}
				<a href="tiki-view_blog.php?blogId={$blogId}&amp;watch_event=blog_post&amp;watch_object={$blogId}&amp;watch_action=remove" class="btn btn-default btn-small" alt="{tr}Stop Monitoring this Blog{/tr}" title="{tr}Stop Monitoring this Blog{/tr}">{icon name=stop_watching}</a>
			{/if}
		{/if}
		{if $prefs.feature_group_watches eq 'y' and ( $tiki_p_admin_users eq 'y' or $tiki_p_admin eq 'y' )}
			<a href="tiki-object_watches.php?objectId={$blogId|escape:"url"}&amp;watch_event=blog_post&amp;objectType=blog&amp;objectName={$title|escape:"url"}&amp;objectHref={'tiki-view_blog.php?blogId='|cat:$blogId|escape:"url"}" class="btn btn-default btn-small icon">{icon _id='eye_group' alt="{tr}Group Monitor{/tr}"}</a>
		{/if}

		{if $user and $prefs.feature_user_watches eq 'y'}
			{if $category_watched eq 'y'}
				{tr}Watched by categories:{/tr}
				{section name=i loop=$watching_categories}
					<a href="tiki-browse_categories.php?parentId={$watching_categories[i].categId}" class="btn btn-default btn-small">{$watching_categories[i].name|escape}</a>&nbsp;
				{/section}
			{/if}
		{/if}
	</div></div><commit_msg>[REF] Reinstate good Indentation.<commit_after>{* $Id$ *}
{if !isset($show_heading) or $show_heading neq "n"}
	{if strlen($heading) > 0 and $prefs.feature_blog_heading eq 'y'}
		{eval var=$heading}
	{else}
		{include file='blog_heading.tpl'}
	{/if}

	<div class="blogactions clearfix">
        <div class="btn-group">
		    {if $tiki_p_blog_post eq "y"}
			    {if ($user and $creator eq $user) or $tiki_p_blog_admin eq "y" or $public eq "y"}
				    <a class="btn btn-default btn-small bloglink" href="tiki-blog_post.php?blogId={$blogId}" alt="{tr}Post{/tr}" title="{tr}Post{/tr}">{icon name=post}</a>
			    {/if}
		    {/if}
		    {if $prefs.feed_blog eq "y"}
			    <a class="btn btn-default btn-small bloglink" href="tiki-blog_rss.php?blogId={$blogId}" alt="{tr}RSS feed{/tr}" title="{tr}RSS feed{/tr}">{icon name=rss}</a>
		    {/if}
		    {if ($user and $creator eq $user) or $tiki_p_blog_admin eq "y"}
			    <a class="btn btn-default btn-small bloglink" href="tiki-edit_blog.php?blogId={$blogId}" alt="{tr}Edit Blog{/tr}" title="{tr}Edit Blog{/tr}">{icon name=edit}</a>
			    {if $allow_comments eq 'y'}
				    <a class='btn btn-default btn-small bloglink' href='tiki-list_comments.php?types_section=blogs&amp;blogId={$blogId}' alt="{tr}List all comments{/tr}" title="{tr}List all comments{/tr}">{icon name=comments}</a>
			    {/if}
		    {/if}

		    {if $user and $prefs.feature_user_watches eq 'y'}
			    {if $user_watching_blog eq 'n'}
				    <a href="tiki-view_blog.php?blogId={$blogId}&amp;watch_event=blog_post&amp;watch_object={$blogId}&amp;watch_action=add" class="btn btn-default btn-small" alt="{tr}Monitor this Blog{/tr}" title="{tr}Monitor this Blog{/tr}">{icon name=watch}</a>
			    {else}
				    <a href="tiki-view_blog.php?blogId={$blogId}&amp;watch_event=blog_post&amp;watch_object={$blogId}&amp;watch_action=remove" class="btn btn-default btn-small" alt="{tr}Stop Monitoring this Blog{/tr}" title="{tr}Stop Monitoring this Blog{/tr}">{icon name=stop_watching}</a>
			    {/if}
		    {/if}
		    {if $prefs.feature_group_watches eq 'y' and ( $tiki_p_admin_users eq 'y' or $tiki_p_admin eq 'y' )}
			    <a href="tiki-object_watches.php?objectId={$blogId|escape:"url"}&amp;watch_event=blog_post&amp;objectType=blog&amp;objectName={$title|escape:"url"}&amp;objectHref={'tiki-view_blog.php?blogId='|cat:$blogId|escape:"url"}" class="btn btn-default btn-small icon">{icon _id='eye_group' alt="{tr}Group Monitor{/tr}"}</a>
		    {/if}

    		{if $user and $prefs.feature_user_watches eq 'y'}
	    		{if $category_watched eq 'y'}
		    		{tr}Watched by categories:{/tr}
			    	{section name=i loop=$watching_categories}
				    	<a href="tiki-browse_categories.php?parentId={$watching_categories[i].categId}" class="btn btn-default btn-small">{$watching_categories[i].name|escape}</a>&nbsp;
				    {/section}
			    {/if}
		    {/if}
        </div>
    </div>
{'fraction_non_alphanumeric': 0.19533475783475784, 'fraction_numerical': 0.00035612535612535614, 'mean_word_length': 5.046286329386437, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 45, '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': '7632414', 'n_tokens_mistral': 2353, 'n_tokens_neox': 2153, 'n_words': 397}