
	<div id="zenario_at_top_left_menu">
		<ul>
			<li class="zenario_at_top_left_dropdown zenario_at_button_with_children">
				<a
					class="zenario_at_top_left_org_link"
					href="{{zenarioATLinks.organizer|escape}}#zenario__organizer/panels/start_page"
					id="zenario_organizer_button"
					onclick="return !(window.zenarioA && zenarioA.organizerDropDownMenu(this, event));"
				><span class="zenario_at_button_main">
					Go to Organizer
				</span></a>
				<ul>{{zenarioT.microTemplate('zenario_toolbar_organizer_link', zenarioO.getNavigation().items)}}</ul>
			</li>
		</ul>
	</div>
	<div id="zenario_at_title">
		<div class="zenario_at_title_label">Admin Toolbar</div>
		<div class="zenario_at_title_for">for {{zenarioATLinks.tag|escape}}</div>
	</div>
	
	<% if (m.current_toolbar_tab_grouping == 'preview') { %>
		<div id="zenario_at_logout_link">
			<a
				id="zenario_logout_button"
				{{zenarioATLinks.logout}}
				title="{{zenarioA.phrase.logout}}"
				data-tooltip-options='{"tooltipClass": "zenario_admin_tooltip"}'
			></a>
		</div>
	<% } %>
	<div id="zenario_at">
		<div class="zenario_at_container zenario_at_tabs_container">
			<div class="zenario_at_content zenario_at_tabs">
				{{zenarioT.microTemplate('zenario_toolbar_tab', m.tabs)}}
			</div>
		</div>
		
		<% if (m.current_toolbar.page_mode != 'layout') { %>
			<div class="zenario_at_status_icons_container">
				<div class="zenario_at_status_icons">
					{{zenarioT.microTemplate('zenario_toolbar_status_icon', m.sections.icons)}}
				</div>
			</div>
		<% } %>
		
		<div class="zenario_at_container zenario_at_toolbar_container">
			<div id="zenario_at_toolbars">
				
				<!--
					The "display: none;" is to hide these icons when drawing the temporary HTML in the
					pageBodyAdminToolbar() function.
					When actually drawing this microtemplate, the "if (false)" will stop
					the "display: none;" from being output.
				-->
				
				<!--
					These icons may be visible or hidden depending on which toolbar tab is clicked.
					This is done in CSS rather than any visibility logic in this microtemplate.
				-->
				<div class="zenario_at_topRightIcons" style="<% if (false) { %>display: none;<% } %>">
					<% if (zenarioT.showDevTools()) { %>
						<div
							class="zenario_at_dev_icon zenario_topRightIcon zenario_debug"
							onclick="zenarioA.debug(this, event, 'zenarioAT');"
						><div></div></div>
					<% } %>
					
					<% if (zenarioA.hasPriv('_PRIV_VIEW_DIAGNOSTICS')) { %>
						<div
							class="zenario_at_dev_icon zenario_topRightIcon organizer_diagnostics"
							<% if ( zenarioA.pageMode != 'menu' && zenarioA.pageMode != 'layout' ) { %>
								onclick="zenarioA.reloadPage(false, true, 'diagnostics');"
								title="View site diagnostics"
							<% } %>
						></div>
					<% } %>
					
					<div
						class="zenario_at_dev_icon zenario_topRightIcon organizer_info_box"
						<% if ( zenarioA.pageMode != 'menu' && zenarioA.pageMode != 'layout' ) { %>
							onclick="zenarioA.infoBox();"
							title="About Zenario"
						<% } %>
					></div>
					<% if (zenarioA.hasPriv('_PRIV_EDIT_SITE_SETTING')) { %>
						<div
							class="zenario_at_dev_icon zenario_topRightIcon organizer_help_box"
							data-step="16" data-position="bottom-right-aligned"
							data-intro="{{'<p><strong>Help</strong></p><p>Click here for Help.</p>'|escape}}"
							<% if ( zenarioA.pageMode != 'menu' && zenarioA.pageMode != 'layout' ) { %>
								onclick="zenarioAB.open('zenario_help_line', {currentUrl: document.location.href});"
								title="Zenario support line"
							<% } %>
							data-tooltip-options="
								{position: {my: 'left center', at: 'right top', collision: 'flipfit'}}
							"
						></div>
					<% } %>
				
					<% if (zenarioA.hasPriv('_PRIV_EDIT_SITE_SETTING')) { %>
						<div
							<% if ( zenarioA.pageMode != 'menu' && zenarioA.pageMode != 'layout' ) { %>
								onclick="zenarioAB.enableOrDisableSite();"
							<% } %>
							
							<% var iconClassName = 'zenario_at_dev_icon zenario_topRightIcon'; %>
							<% if (zenarioA.siteSettings.in_moratorium) { %>
								<% iconClassName += ' site_in_moratorium'; %>
							<% } %>
						
							<% if (zenarioA.siteSettings.site_enabled) { %>
								<% if (zenarioA.siteSettings.site_in_dev_mode) { %>
									class="{{iconClassName}} site_enabled_development site_mode"
									<% if ( zenarioA.pageMode != 'menu' && zenarioA.pageMode != 'layout' ) { %>
										title="Site enabled; developer mode"
									<% } %>
								<% } else { %>
									class="{{iconClassName}} site_enabled site_mode"
								<% } %>
							<% } else { %>
								<% if (zenarioA.siteSettings.site_in_dev_mode) { %>
									class="{{iconClassName}} site_disabled site_mode"
									<% if ( zenarioA.pageMode != 'menu' && zenarioA.pageMode != 'layout' ) { %>
										title="Site disabled; developer mode"
									<% } %>
								<% } else { %>
									class="{{iconClassName}} site_disabled site_mode"
									<% if ( zenarioA.pageMode != 'menu' && zenarioA.pageMode != 'layout' ) { %>
										title="Site disabled"
									<% } %>
								<% } %>
							<% } %>
						></div>
					<% } %>
					
			</div>
				{{zenarioT.microTemplate(m.toolbar_microtemplate, m)}}
			</div>
		</div>
	</div>
