<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY amp   "&#38;">
<!ENTITY copy   "&#169;">
<!ENTITY gt   "&#62;">
<!ENTITY hellip "&#8230;">
<!ENTITY laquo  "&#171;">
<!ENTITY lsaquo   "&#8249;">
<!ENTITY lsquo   "&#8216;">
<!ENTITY lt   "&#60;">
<!ENTITY nbsp   "&#160;">
<!ENTITY quot   "&#34;">
<!ENTITY raquo  "&#187;">
<!ENTITY rsaquo   "&#8250;">
<!ENTITY rsquo   "&#8217;">
]>
<!-- 
Implementations Skeleton - 05/12/2016

INTERIOR PAGE 
A simple page type.

Contributors: Your Name Here
Last Updated: Enter Date Here
-->
<xsl:stylesheet version="3.0" 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:ou="http://omniupdate.com/XSL/Variables"
    xmlns:fn="http://omniupdate.com/XSL/Functions"
    xmlns:ouc="http://omniupdate.com/XSL/Variables"
    exclude-result-prefixes="ou xsl xs fn ouc">
							
	<xsl:import href="common-2020.xsl"/>	
		
	<xsl:template name="template-headcode"/>
	<xsl:template name="template-footcode"/>
	
	<xsl:template name="page-content"> 

<!-- 		<div id="{div/@id}">
			<h1><xsl:value-of select='ouc:properties[@label="config"]/parameter[@name="heading"]'/></h1>
		</div>			 -->
					
		<!-- see breadcrumbs xsl -->
		<div id="breadcrumb">
			<xsl:call-template name="breadcrumb">
				<xsl:with-param name="path" select="$ou:dirname"/>								
			</xsl:call-template>
		</div>

	
		<!-- If Sidebar is enabled - Edited sidebar editable region per ticket #41335 - OU Support-->
		<xsl:if test="$sidebar = 'true'">
		<div id="sidebar-show">
				Show/Hide information in sidebar
		</div>			
		<div id="sidebar-right">
		<xsl:apply-templates select="ouc:div[@label='sidebar right']" />
		</div>
		<div id="sidebar-left">
		<xsl:apply-templates select="ouc:div[@label='sidebar left']" />
		</div>
			
		</xsl:if>
		

	
	<main>
		<!--<div id="content-wrap">
		<xsl:apply-templates select="ouc:div[@label='maincontent']" />	
		</div>-->
		<!-- begin edit -->
		<xsl:choose>
  		<xsl:when test="$sidebar = 'true'"><div id="content-wrap-sidebar"><xsl:apply-templates select="ouc:div[@label='maincontent']" /></div></xsl:when>
		<xsl:otherwise><div id="content-wrap"><xsl:apply-templates select="ouc:div[@label='maincontent']" /></div>
		</xsl:otherwise>
		</xsl:choose>
		<!-- end edit -->
	</main>
		
		<div id="last-updated-bar">
			<!-- <script>
				var date = new Date(document.lastModified)
				document.writeln("Last Updated " + (date.getMonth() + 1) + "/" + date.getDate() + "/" + date.getFullYear())
			</script> -->
			
			<!-- edited for ticket #36630 -->
			<p>Last Updated <xsl:value-of select="ou:dateFromDateTime($ou:modified,'/')" /></p>
		</div>
		
	</xsl:template>
	
	
	<xsl:template match="div[@class='test-zz2']"  >
	
	     <h1><xsl:value-of select='/document/ouc:properties[@label="config"]/parameter[@name="heading"]'/></h1>
	</xsl:template>
	
	
		
</xsl:stylesheet>
