<xf:if contentcheck="true">
	<div class="block"{{ widget_data($widget) }}>
		<div class="block-container">
			<h3 class="block-minorHeader">{$title}</h3>
			<div class="block-body block-row" style="text-align: center;">
				<xf:contentcheck>
					<xf:if is="{{ property('uix_shareWidgetModal') }}">
						<xf:if contentcheck="true">
							<a data-xf-click="overlay" data-target=".uix_shareWidgetModal" class="button button--primary"><xf:fa icon="fa-share" /> {{ phrase('thuix_share_this_page') }}</a>
							<div style="display: none">
								<div class="uix_shareWidgetModal">
									<div class="overlay-title">{{ phrase('share') }}</div>
									<div class="block-container">
										<div class="block-body">
											<div class="block-row">
												<xf:contentcheck>
													<xf:macro template="share_page_macros" name="buttons" arg-iconic="{$options.iconic}" />
												</xf:contentcheck>									
											</div>
										</div>
									</div>						
								</div>
							</div>
						</xf:if>
					<xf:else />
							<xf:macro template="share_page_macros" name="buttons" arg-iconic="{$options.iconic}" />
					</xf:if>
				</xf:contentcheck>
			</div>
		</div>
	</div>
</xf:if>