SPAWN MOAR OVERLORDS

git-svn-id: http://yolanda.mister-muffin.de/svn@185 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-11-25 04:44:14 +00:00
parent 85e5e37351
commit eb8305abac
3 changed files with 38 additions and 12 deletions

View file

@ -127,9 +127,16 @@ sub fill_results
'rdf:about' => "$domain/download/$id", 'rdf:about' => "$domain/download/$id",
'dc:title' => [$title], 'dc:title' => [$title],
'dc:creator' => [$creator], 'dc:creator' => [$creator],
'dc:subject' => [$subject],
'dc:description' => [$description],
'dc:publisher' => [$publisher],
'dc:contributor' => [$contributor],
'dc:date' => [$timestamp], 'dc:date' => [$timestamp],
'dc:identifier' => ["$domain/video/$title/$id" . ($duration == 0 ? "/edit=true" : "")], 'dc:identifier' => ["$domain/video/$title/$id" . ($duration == 0 ? "/edit=true" : "")],
'dc:publisher' => [$publisher] 'dc:source' => [$source],
'dc:language' => [$language],
'dc:coverage' => [$coverage],
'dc:rights' => [$rights]
}, },
'cc:License' => 'cc:License' =>
{ {

View file

@ -175,7 +175,31 @@ span.protip:before
content: "( "; content: "( ";
} }
span.videotitle
{
font-size: 1.5em;
}
table.videometadata
{
border-width: 0px;
width: 100%;
}
table.videometadata tr td.leftcell
{
color: #606060;
text-align: right;
width: 50%;
}
table.videometadata tr td.rightcell
{
text-align: left;
width: 50%;
}
td td
{ {
vertical-align: top; vertical-align: top;
} }

View file

@ -26,14 +26,17 @@
</img> </img>
</a> </a>
</td> </td>
<td><h2> <td>
<span class="videotitle">
<a> <a>
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:value-of select="rdf:RDF/cc:Work/dc:identifier" /> <xsl:value-of select="rdf:RDF/cc:Work/dc:identifier" />
</xsl:attribute> </xsl:attribute>
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" /> <xsl:value-of select="rdf:RDF/cc:Work/dc:title" />
</a> </a>
</h2> </span>
<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:description" />
<table class="videometadata"> <table class="videometadata">
<tr> <tr>
<td class="leftcell"> <td class="leftcell">
@ -46,14 +49,6 @@
<xsl:value-of select="concat($hours, ':', format-number($minutes, '00'), ':', format-number($seconds, '00'))" /> <xsl:value-of select="concat($hours, ':', format-number($minutes, '00'), ':', format-number($seconds, '00'))" />
</td> </td>
</tr> </tr>
<tr>
<td class="leftcell">
<xsl:value-of select="$locale_strings[@id='viewcount']" />:
</td>
<td class="rightcell">
<xsl:value-of select="@viewcount" />
</td>
</tr>
</table> </table>
<xsl:if test="@edit='true'"> <xsl:if test="@edit='true'">
<a> <a>