{if !isset($preview)}
	<div class="clearfix articletrailer">
		<span>
			{if $show_size eq 'y'}
				({$size} {tr}bytes{/tr})
			{/if}
		</span>
		<div class="actions hidden-print float-sm-right">
			<div class="btn-group">
				{if $prefs.feature_multilingual eq 'y' and $lang and $prefs.show_available_translations eq 'y'}
					{include file='translated-lang.tpl' object_type='article'}
				{/if}
				<div class="btn-group">
					{if ! $js}<ul class="cssmenu_horiz"><li>{/if}
					<a class="btn btn-link" data-toggle="dropdown" data-hover="dropdown" href="#">
						{icon name='menu-extra'}
					</a>
					<div class="dropdown-menu dropdown-menu-right">
						<h6 class="dropdown-header">
							{tr}Article actions{/tr}
						</h6>
						<div class="dropdown-divider"></div>
						{if $tiki_p_edit_article eq 'y'}
							<a class="dropdown-item" href="tiki-edit_article.php?articleId={$articleId}">
								{icon name='edit'} {tr}Edit{/tr}
							</a>
						{/if}
						{if $prefs.feature_cms_print eq 'y'}
							<a class="dropdown-item" href="tiki-print_article.php?articleId={$articleId}">
								{icon name='print'} {tr}Print{/tr}
							</a>
						{/if}
						{if $prefs.user_favorites eq 'y'}
							{favorite type="article" object=$articleId button_classes="dropdown-item icon"}
						{/if}
						{if $prefs.feature_tell_a_friend eq 'y' && $tiki_p_tell_a_friend eq 'y'}
							<a  class="dropdown-item" href="tiki-tell_a_friend.php?url={$smarty.server.REQUEST_URI|escape:'url'}">
								{icon name='envelope'} {tr}Send a link{/tr}
							</a>
						{/if}
						{if $prefs.feature_share eq 'y' && $tiki_p_share eq 'y'}
							<a class="dropdown-item tips" href="tiki-share.php?url={$smarty.server.REQUEST_URI|escape:'url'}">
								{icon name='share'} {tr}Share{/tr}
							</a>
						{/if}
						{if $prefs.feature_cms_sharethis eq "y"}
							<div class="dropdown-item">
								{capture name=shared_title}
									{tr}ShareThis{/tr}
								{/capture}
								{literal}<script type="text/javascript">
									//Create your sharelet with desired properties and set button element to false
									var object{/literal}{$articleId}{literal} = SHARETHIS.addEntry({},
											{button:false});
									//Output your customized button
									document.write('<a id="share{/literal}{$articleId}{literal}" href="javascript:void(0);">{/literal}{icon name="sharethis"} {tr}ShareThis{/tr}{literal}</a>');
									//Tie customized button to ShareThis button functionality.
									var element{/literal}{$articleId}{literal} = document.getElementById("share{/literal}{$articleId}{literal}"); object{/literal}{$articleId}{literal}.attachButton(element{/literal}{$articleId}{literal}); </script>{/literal}
							</div>
						{/if}
						{if $prefs.sefurl_short_url eq 'y'}
							<a class="dropdown-item" id="short_url_link" href="#" onclick="(function() { $(document.activeElement).attr('href', 'tiki-short_url.php?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title)); })();">
								{icon name="link"} {tr}Get a short URL{/tr}
								{assign var="hasPageAction" value="1"}
							</a>
						{/if}
							{if $tiki_p_remove_article eq 'y'}
								<a class="dropdown-item" href="tiki-list_articles.php?remove={$articleId}">
									{icon name='remove'} {tr}Remove{/tr}
								</a>
							{/if}
					</div>
					{if ! $js}</li></ul>{/if}
				</div>
			</div>
		</div>
	</div>
{/if}
