From 20d9406ad92fc61cbc038d1e46104874d35252bf Mon Sep 17 00:00:00 2001 From: David Bartley Date: Sat, 11 Aug 2007 21:55:47 -0400 Subject: [PATCH] Generate two media pages (on-campus and external) instead of using dynamic SSI pages. --- media/.htaccess | 1 - xsl/media.xsl | 53 ++++++++++++++++++++++++++----------------------- 2 files changed, 28 insertions(+), 26 deletions(-) delete mode 100644 media/.htaccess diff --git a/media/.htaccess b/media/.htaccess deleted file mode 100644 index b22fc48..0000000 --- a/media/.htaccess +++ /dev/null @@ -1 +0,0 @@ -AddHandler server-parsed .html diff --git a/xsl/media.xsl b/xsl/media.xsl index 83dd007..e7078ad 100644 --- a/xsl/media.xsl +++ b/xsl/media.xsl @@ -29,10 +29,29 @@ + + + true + + + -uw + + If you are in residence, downloading these files will not count against + your ResNet quota.

+
+ +
+
+ + + + + + + href="{translate(concat($g_root, '/media/', @title , $suffix, '.html'), ' ', ' ')}"> <xsl:value-of select="@title" /> @@ -49,43 +68,27 @@

View

- - - - - - - - - + + +

Download

- - If you are in residence, downloading these files will not count - against your ResNet quota. -

- + HTTP (web browser): - - + - - - - - - +

BitTorrent: .torrent - + - +