<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY copy   "&#169;">
]>
<!--
07/26/2016	-	Don't display line if only one row.
07/26/2016	-	Center 1st column on 1st Row if not 2nd column 
-->

<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"
	xmlns="http://www.w3.org/1999/xhtml"
	exclude-result-prefixes="ou xsl xs fn ouc"
	expand-text="yes">

	<xsl:import href="common.xsl"/>

	<xsl:template name="common-layout">
 			<xsl:call-template name="common-header" /> 
			<xsl:call-template name="page-content" />
 			<xsl:call-template name="common-footer" /> 
	</xsl:template>

	<xsl:template name="page-content">	
		<div id="HomeSlider" class="carousel slide innerPageSlider" data-ride="carousel">
            <div class="carousel-inner" role="region" aria-label="Marquee Image Slider">
                <div class="carousel-item active">
					<!-- J.R. 3/27/2019 -->
					<!-- header-image -->
					
					
					<xsl:choose>
						
					<xsl:when test="banner-items/banner-1/ouc:div[@label='banner-image-1'] = ''">
						
						<xsl:apply-templates select="ou:multiedit-props-field('banner-image-1')" />
						<!-- <img src="/_resources/images/slide-img3.jpg" alt="Winthrop University - Scholars Walk" class="w-100"/>
					<xsl:apply-templates select="ouc:div[@label = 'inner-banner']" />-->
						
						</xsl:when>
						
						<xsl:otherwise>
							
							<img src="/_resources/images/slide-img3.jpg" alt="Winthrop University - Scholars Walk" class="w-100"/>
					<xsl:apply-templates select="ouc:div[@label = 'inner-banner']" />
							
						</xsl:otherwise>
																						
         <!-- <xsl:otherwise>
					
					<img src="{banner-items/banner-1/ouc:div[@label='banner-image-1']}" alt="{banner-items/banner-1/ouc:div[@label='banner-image-alt-1']}" class="w-100"/>
					<xsl:apply-templates select="ouc:div[@label = 'inner-banner']" />
					
					 </xsl:otherwise>-->
       </xsl:choose>
                <!-- End J.R. 3/27/2019 -->
                </div>
            </div>
        </div>
		<div class="container card-container">
            <nav class="nav-breadcrumb" aria-label="breadcrumb">
            	<ol class="breadcrumb">
					<xsl:call-template name="breadcrumb" />
				</ol>
			</nav>
			<div class="row sm-hide">
                <div class="col-sm-12 padding-lrt">
					<xsl:call-template name="navigation" />
				</div>
			</div>
			<div class="row top-pad">
				<div class="col-sm-12 padding-lrt">
					<h2 class="prgm-title"><xsl:value-of select="ou:pcf-param('heading')" /></h2>
					<xsl:apply-templates select="ouc:div[@label = 'page-content']" />
				</div>
			</div> 
		</div>
	</xsl:template>
	<xsl:template name="common-footer">
		<!--<xsl:copy-of select="ou:include-file('/_resources/includes/footer-homepage.inc')" />-->
		<xsl:call-template name="unparsed-include-file">
			<xsl:with-param name="path">/_resources/includes/footer.inc</xsl:with-param>
		</xsl:call-template>
	</xsl:template>

	<xsl:template name="common-header">
		<!-- <xsl:copy-of select="ou:include-file('/_resources/includes/header-homepage.inc')" />-->
		<xsl:call-template name="unparsed-include-file">
				<xsl:with-param name="path">/_resources/includes/header.inc</xsl:with-param> 
		</xsl:call-template>
	</xsl:template>
</xsl:stylesheet>
