{* $Id: tiki-integrator.tpl 17630 2009-03-26 03:37:22Z luciash $ *}

<div class="integrated-page">
  {$data}
</div>

<hr />
<div class="navbar">
	{assign var=thisrepID value=$repID|escape}
	{if $cached eq 'y'}
		{if strlen($file) gt 0}
			{button href="tiki-integrator.php?repID=$thisrepID&amp;file=$file&amp;clear_cache" _title="{tr}Clear cached version and refresh cache{/tr}" _text="{tr}Refresh{/tr}"}
		{else}
			{button href="tiki-integrator.php?repID=$thisrepID&amp;clear_cache" _title="{tr}Clear cached version and refresh cache{/tr}" _text="{tr}Refresh{/tr}"}
		{/if}
	{/if}

	{button href="tiki-list_integrator_repositories.php" _text="{tr}List Repositories{/tr}"}

	{* Show config buttons only for admins *}
	{if $tiki_p_admin eq 'y' or $tiki_p_admin_integrator eq 'y'}
		{assign var=thisfile value=$file|escape}
		{button href="tiki-admin_integrator_rules.php?repID=$thisrepID&amp;file=$thisfile" _text="{tr}configure rules{/tr}"}
		{button href="tiki-admin_integrator.php?action=edit&amp;repID=$thisrepID" _text="{tr}Edit Repository{/tr}"}
	{/if}
</div>
