<{if !$settings.settings.disable_admin_menu && $user_id}>
	<div id="admin-menu">
		<a href="<{$admin_url}>" class="btn">Administration</a>
		<a href="<{$admin_url}>/page-builder" class="btn">Page Builder</a>

		<{if $inc && in_array($inc, ['basket.html', 'address.html', 'search.html', 'also.html'])}>
			<a href="<{$admin_url}>/page-builder/new?type=<{$inc|replace:".html":""}>" class="btn">Rediger design</a>
		<{elseif $product}>
			<a href="<{$admin_url}>/page-builder/new?type=product&id=<{$product->getProductId()}>" class="btn">Rediger design</a>
			<a href="<{$product->getUrl('edit')}>" class="btn">Rediger indhold</a>
			<a href="<{$product->getUrl('add')}>" class="btn">Læg på lager</a>
		<{elseif $category}>
			<a href="<{$admin_url}>/page-builder/new?type=category&id=<{$category->getCategoryId()}>" class="btn">Rediger design</a>
			<a href="<{$category->getUrl('edit')}>" class="btn">Rediger indhold</a>
			<a href="<{$category->getUrl('order')}>" class="btn">Produktrækkefølge</a>
		<{elseif $landing_page}>
			<a href="<{$admin_url}>/page-builder/new?type=landing_page&id=<{$landing_page->getLandingPageId()}>" class="btn">Rediger design</a>
			<a href="<{$landing_page->getUrl('edit')}>" class="btn">Rediger indhold</a>
		<{elseif $page}>
			<a href="<{$admin_url}>/page-builder/new?type=static_page&id=<{$page->getPageId()}>" class="btn">Rediger design</a>
			<a href="<{$page->getUrl('edit')}>" class="btn">Rediger indhold</a>
		<{elseif $blog_post}>
			<a href="<{$admin_url}>/page-builder/new?type=blog_post&id=<{$blog_post->getBlogPostId()}>" class="btn">Rediger design</a>
			<a href="<{$blog_post->getUrl('edit')}>" class="btn">Rediger indhold</a>
		<{/if}>
	</div>
<{/if}>