From 43c07155f8e0e1fcc3b44ac105a0f767e4068b58 Mon Sep 17 00:00:00 2001 From: josch Date: Fri, 26 Oct 2007 16:25:47 +0000 Subject: [PATCH] user can choose between cortado and video plugin git-svn-id: http://yolanda.mister-muffin.de/svn@140 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/video.pl | 1 + trunk/xsl/xhtml.xsl | 91 ++++++++++++++++++++++++++++++--------------- 2 files changed, 63 insertions(+), 29 deletions(-) diff --git a/trunk/video.pl b/trunk/video.pl index 8eb1d05..8521a3c 100644 --- a/trunk/video.pl +++ b/trunk/video.pl @@ -115,6 +115,7 @@ if($query->url_param('title') or $query->url_param('id')) push @{ $page->{'video'} }, { 'thumbnail' => "$domain/video-stills/$id", + 'cortado' => $query->param('cortado') eq 'false' ? "false" : "true", 'filesize' => $filesize, 'duration' => $duration, 'width' => $width, diff --git a/trunk/xsl/xhtml.xsl b/trunk/xsl/xhtml.xsl index 65ed9ec..fc7d07c 100755 --- a/trunk/xsl/xhtml.xsl +++ b/trunk/xsl/xhtml.xsl @@ -588,35 +588,68 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +