<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet>
<!--
SECTION PROPERTIES for Kitchen Sink v2

Contributors: Your Name Here
Last Updated 4/2013
-->
<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.xsl"/>
			
		<xsl:template match="/directory">
		<xsl:if test="$ou:action!='pub'">
		<xsl:text disable-output-escaping="yes">&lt;</xsl:text>!DOCTYPE html<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
		<xsl:text disable-output-escaping="yes">&lt;</xsl:text>html lang="en"<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
		<head>
		<link href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.css" rel="stylesheet" />
		<link href="/_resources/css/oustaging.css" rel="stylesheet" />
		</head>
		<body id="info">

		<div class="ou silver">
			<div class="row">
				
				<div class="span16">
				<h1>Section Properties</h1>
				To edit the following section propeties, please check out this page and go to the Page Properties screen.<br/>
				Changes will take effect immmediately OUCampus - this file does not need to be published. <br/> 
				However, the PCF files in this folder must be republished for changes to appear on <xsl:value-of select="concat($domain,$dirname)"/>.<br/>
				
				<br/>
				<h2>Properties for the folder "<xsl:value-of select="if ($ou:dirname!='/') then(normalize-space(ou:current_folder($ou:dirname))) else '/'"/>"</h2>
				<dl>	
				<xsl:for-each select="config//parameter/@prompt">
				<dt><xsl:value-of select="../@prompt"/></dt>
				<dd><xsl:value-of select="ou:propsparam(../@name)"/></dd>
				</xsl:for-each>
				</dl>	 
				
				</div> <!-- end row span16 -->
			</div> <!-- end span16 -->
		</div> <!-- end ou silver -->

		<div style="display:none;">
			<ouc:div label="fake" group="fake" button="hide"/>
		</div>
		
		</body>
		
		<xsl:text disable-output-escaping="yes">&lt;</xsl:text>/html<xsl:text disable-output-escaping="yes">&gt;</xsl:text>	
	</xsl:if>
	</xsl:template>


</xsl:stylesheet>
