projects
/
pompage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ADD Fin de l'extension firefox, il reste cependant à la tester complétement
[pompage.git]
/
xsl
/
yopyop.xsl
diff --git
a/xsl/yopyop.xsl
b/xsl/yopyop.xsl
index
11cc6c0
..
57ec067
100644
(file)
--- a/
xsl/yopyop.xsl
+++ b/
xsl/yopyop.xsl
@@
-1,15
+1,19
@@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
\r
<xsl:template match="filmographie">
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
\r
<xsl:template match="filmographie">
- <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
\r
+
<head>
<title>DivX</title>
\r
<link rel="stylesheet" href="../css/yopyop.css" type="text/css" />
\r
<script type="text/javascript" src="../js/yopyop.js" ></script>
<head>
<title>DivX</title>
\r
<link rel="stylesheet" href="../css/yopyop.css" type="text/css" />
\r
<script type="text/javascript" src="../js/yopyop.js" ></script>
- </head>
- <body>
\r
- <div class="entete">
+ </head>
\r
+
+ <body onload="doRecherche()" >
\r
+
\r
+ <div class="entete" >
<h1>DivX - TV</h1>
\r
<h1>DivX - TV</h1>
\r
+ <div id="nbFilms" ></div>
\r
<img src="../img/logo.png" />
\r
<form class="formulaireRecherche">
\r
<p>
\r
<img src="../img/logo.png" />
\r
<form class="formulaireRecherche">
\r
<p>
\r
@@
-25,25
+29,24
@@
</p>
\r
</form>
\r
</div>
\r
</p>
\r
</form>
\r
</div>
\r
+
\r
<div class="contenu">
<div class="contenu">
- <table id="liste">
- <tr>
- <th class="titre">Titre</th>
- <th class="annee">Année</th>
\r
- <th class="duree">Durée</th>
\r
- <th class="lien">Lien</th>
\r
- <th class="fichier">Fichier</th>
- </tr>
\r
-
+ <table id="liste">
<xsl:for-each select="film">
<xsl:sort select="annee" order="descending" />
\r
<xsl:sort select="titre" />
<xsl:for-each select="film">
<xsl:sort select="annee" order="descending" />
\r
<xsl:sort select="titre" />
- <tr id="ligne{@id}">
+ <tr id="ligne{@id}">
\r
+ <td class="fichier">
\r
+ <div>
\r
+ <ul><a></a>
\r
+ <xsl:for-each select="fichiers/fichier"><li><a href="divx://{.}"><xsl:value-of select="."/></a></li></xsl:for-each>
\r
+ </ul>
\r
+ </div>
\r
+ </td>
\r
+ <td class="lien"><div><a href="{url}"></a></div></td>
<td onclick="detailFilm('{@id}')" class="titre" id="titre{@id}"><xsl:value-of select="titre"/></td>
<td class="annee"><xsl:value-of select="annee"/></td>
\r
<td onclick="detailFilm('{@id}')" class="titre" id="titre{@id}"><xsl:value-of select="titre"/></td>
<td class="annee"><xsl:value-of select="annee"/></td>
\r
- <td class="duree"><xsl:value-of select="duree"/> min</td>
\r
- <td class="lien"><a href="{url}">GO</a></td>
\r
- <td class="fichier"><a href="divx:///{fichier}">GO</a></td>
+ <td class="duree"><xsl:value-of select="duree"/> min</td>
</tr>
\r
<tr>
\r
<td colspan="5" class="detail">
\r
</tr>
\r
<tr>
\r
<td colspan="5" class="detail">
\r
@@
-66,15
+69,19
@@
</tr>
\r
<tr>
\r
<td class="titreDetail">Synopsis</td>
\r
</tr>
\r
<tr>
\r
<td class="titreDetail">Synopsis</td>
\r
- <td><xsl:value-of select="synopsis"/></td>
\r
+ <td>
\r
+ <xsl:for-each select="synopsis/p"><p><xsl:value-of select="."/></p></xsl:for-each>
\r
+ </td>
\r
</tr>
\r
</table>
\r
</td>
\r
</tr>
</tr>
\r
</table>
\r
</td>
\r
</tr>
- </xsl:for-each>
- </table>
\r
+ </xsl:for-each>
+ </table>
\r
</div>
\r
</div>
\r
- <div class="pied"></div>
+
\r
+ <div class="pied"><p>by pifou <a href="../xpi/divxlist.xpi">extension firefox</a></p></div>
\r
+
</body>
</html>
</xsl:template>
</body>
</html>
</xsl:template>