This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<?pcf-stylesheet path="/xsl/data-file.xsl" title="Library Database" extension="html"?> | |
<!DOCTYPE document SYSTEM "http://commons.omniupdate.com/dtd/standard.dtd"> | |
<document xmlns:ouc="http://omniupdate.com/XSL/Variables"> | |
<ouc:info><tcf>section.tcf</tcf><tmpl>properties.tmpl</tmpl></ouc:info> | |
<page type="library-database"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Template that takes a URL and formats the content: --> | |
<xsl:template name="GetContentFromSingleDataFile"> | |
<xsl:param name="data-url" /> | |
<!-- Get the full path to the data file: --> | |
<xsl:variable name="full-path" select="concat($ou:root, $ou:site, $data-url)" /> | |
<!-- Get Data File Content --> | |
<xsl:variable name="page-content" select="doc($full-path)/document" /> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Template that takes a URL and formats the content: --> | |
<xsl:template name="GetContentFromSingleDataFile"> | |
<xsl:param name="data-url" /> | |
<!-- Get the full path to the data file: --> | |
<xsl:variable name="full-path" select="concat($ou:root, $ou:site, $data-url)" /> | |
<!-- Get Data File Content --> | |
<xsl:variable name="page-content" select="doc($full-path)/document" /> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="GetDataFilesWithTag"> | |
<!-- Get the current file's path --> | |
<xsl:variable name="current-page" | |
select="concat('ou:/Tag/GetTags?', 'site=', $ou:site, '&path=', replace($ou:path, '.html', '.pcf')" /> | |
<!-- Get the first Tag that is associated with this subject listing page --> | |
<xsl:variable name="page-tag" select="doc( $current-page ) )/tags/tag[1]/name" /> | |
<!-- Get Data Files With the Tag --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:variable name="page-path" select="replace($ou:path, '.html', '.pcf')" /> | |
<xsl:for-each select="doc( concat('ou:/Tag/GetTags?', 'site=', $ou:site, '&path=', $page-path ) )/tags/tag"> | |
<li><xsl:value-of select="name" /></li> | |
</xsl:for-each> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template match="ouc:div/*/script|ouc:div/script"> | |
<xsl:comment>Scripts in the content region have been disabled.</xsl:comment> | |
</xsl:template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="main-template"> | |
<xsl:call-template name="remaining-template-loop"> | |
<xsl:with-param name="total" select="10"/> | |
</xsl:call-template> | |
</xsl:template> | |
<xsl:template name="remaining-template-loop"> | |
<xsl:param name="total" /> | |
<xsl:param name="count" select="1" /> | |
<xsl:if test="$count < $total"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var concat = require('gulp-concat'); | |
var minifyCss = require('gulp-minify-css'); | |
gulp.task('sass', function () { | |
gulp.src('./source/sass/**/*.scss') | |
.pipe(sass().on('error', sass.logError)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Linq; | |
using System.Web; | |
using UNCWebcomm; | |
using System.Runtime.Serialization; //Add Reference to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Import Namespace="System.Data" %> | |
--- | |
<asp:Repeater ID="Repeater1" runat="server"> | |
<ItemTemplate> | |
<h2><%# DataBinder.Eval(Container, "DataItem[\"FirstLetter\"]")%></h2> | |
<ul> | |
<asp:Repeater ID="Repeater2" runat="server" |