Introduce src dir.
[librarian.git] / librarian / epub / xsltLast.xsl
diff --git a/librarian/epub/xsltLast.xsl b/librarian/epub/xsltLast.xsl
deleted file mode 100644 (file)
index 3949878..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<xsl:stylesheet version="1.0"\r
-    xmlns="http://www.w3.org/1999/xhtml"\r
-    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
-    xmlns:dc="http://purl.org/dc/elements/1.1/"\r
-    xmlns:wl="http://wolnelektury.pl/functions"\r
-    xmlns:date="http://exslt.org/dates-and-times">\r
-  <xsl:output method="html" version="1.0" encoding="utf-8" />\r
-  <xsl:output doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />\r
-  <xsl:output doctype-public="-//W3C//DTD XHTML 1.1//EN" />\r
-\r
-  <xsl:template match="/">\r
-    <html>\r
-      <head>\r
-        <link rel="stylesheet" href="style.css" type="text/css" />\r
-        <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />\r
-        <title>\r
-          <xsl:text>Strona redakcyjna</xsl:text>\r
-        </title>\r
-      </head>\r
-      <body>\r
-        <div id="book-text" >\r
-          <p class="info">\r
-              <xsl:choose>\r
-                  <xsl:when test="//dc:rights.license">\r
-                      Ten utwór jest udostepniony na licencji\r
-                      <a>\r
-                          <xsl:attribute name="href">\r
-                              <xsl:value-of select="//dc:rights.license" />\r
-                          </xsl:attribute>\r
-                          <xsl:value-of select="//dc:rights" />\r
-                      </a>\r
-                  </xsl:when>\r
-                  <xsl:otherwise>\r
-                    Ten utwór nie jest chroniony prawem autorskim i znajduje się w domenie\r
-                    publicznej, co oznacza że możesz go swobodnie wykorzystywać, publikować\r
-                    i rozpowszechniać. Jeśli utwór opatrzony jest dodatkowymi materiałami\r
-                    (przypisy, motywy literackie etc.), które podlegają prawu autorskiemu, to\r
-                    te dodatkowe materiały udostępnione są na licencji\r
-                    <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons\r
-                    Uznanie Autorstwa – Na Tych Samych Warunkach 3.0 PL</a>.\r
-                  </xsl:otherwise>\r
-              </xsl:choose>\r
-          </p>\r
-\r
-          <p class="info">Źródło: <a>\r
-              <xsl:attribute name="href">\r
-                  <xsl:value-of select="//dc:identifier.url" />\r
-              </xsl:attribute>\r
-              <xsl:attribute name="title">\r
-                  <xsl:value-of select="wl:person_name(//dc:creator/text())" />, <xsl:value-of select="//dc:title" />\r
-              </xsl:attribute>\r
-              <xsl:value-of select="//dc:identifier.url" />\r
-          </a></p>\r
-\r
-          <xsl:if test="//dc:source" >\r
-            <p class="info">Tekst opracowany na podstawie: <xsl:value-of select="//dc:source" /></p>\r
-          </xsl:if>\r
-\r
-          <xsl:if test="//dc:description" >\r
-            <p class="info"><xsl:value-of select="//dc:description" /></p>\r
-          </xsl:if>\r
-\r
-          <xsl:call-template name="editors" />\r
-\r
-          <p class="info">&#160;</p>\r
-          <p class="minor info">\r
-              Plik wygenerowany dnia <span id="file_date"><xsl:value-of select="substring(date:date(), 1, 10)" /></span>.\r
-          </p>\r
-\r
-        </div>\r
-      </body>\r
-    </html>\r
-  </xsl:template>\r
-\r
-  <xsl:template match="text()" >\r
-    <xsl:value-of select="." disable-output-escaping="yes" />\r
-  </xsl:template>\r
-\r
-  <xsl:template name="editors">\r
-    <xsl:if test="//dc:contributor.editor|//dc:contributor.technical_editor">\r
-        <p class="info">\r
-            <xsl:text>Opracowanie redakcyjne i przypisy: </xsl:text>\r
-            <xsl:for-each select="//dc:contributor.editor|//dc:contributor.technical_editor">\r
-                <xsl:if test="position() != 1">, </xsl:if>\r
-                <xsl:apply-templates mode="person" />\r
-            </xsl:for-each>.\r
-        </p>\r
-    </xsl:if>\r
-  </xsl:template>\r
-\r
-  <xsl:template match="dc:contributor.editor|dc:contributor.technical_editor">\r
-      <br /><xsl:apply-templates mode='person' />\r
-  </xsl:template>\r
-\r
-  <xsl:template match="text()" mode="person">\r
-    <xsl:value-of select="wl:person_name(.)" />\r
-  </xsl:template>\r
-</xsl:stylesheet>
\ No newline at end of file