Bläddra i källkod

add links to copyright and license info for each work present

Pi 1 år sedan
förälder
incheckning
1004802610
4 ändrade filer med 24 tillägg och 3 borttagningar
  1. 2 0
      COPYING
  2. 1 0
      license/ESV.txt
  3. 1 0
      license/UKJV.txt
  4. 20 3
      xml/pg_view_style.xsl

+ 2 - 0
COPYING

@@ -0,0 +1,2 @@
+Copyright (c) Daniel Sheffield 2022
+All rights reserved.

+ 1 - 0
license/ESV.txt

@@ -0,0 +1 @@
+Scripture quotations marked ESV are from The Holy Bible, English Standard Version, copyright © 2001 by Crossway Bibles, a division of Good News Publishers. Used by permission. All rights reserved.

+ 1 - 0
license/UKJV.txt

@@ -0,0 +1 @@
+Freely distributable. Public Domain. I love Jesus (UKJV).

+ 20 - 3
xml/pg_view_style.xsl

@@ -81,15 +81,32 @@ All rights reserved.
                 <xsl:when test="$elementtype = 'translation'">
                 </xsl:when>
                 <xsl:otherwise>
-                  <td class="opt-md opt-lg opt-xl opt-xxl" style="line-height: 0.5;">
+                  <td class="opt-md opt-lg opt-xl opt-xxl">
                   <xsl:value-of select="translate(translate(.,' ','&#160;'),'-','&#8209;')"/>
-                  <p/>
-                  <xsl:value-of select="preceding-sibling::translation"/></td>
+                  <br/>
+                  <a>
+                  <xsl:attribute name="href">/license/<xsl:value-of select="preceding-sibling::translation"/>.txt</xsl:attribute>
+                  <xsl:value-of select="preceding-sibling::translation"/>
+                  </a>
+                  </td>
                 </xsl:otherwise>
                 </xsl:choose>
               </xsl:for-each>
             </tr>
           </xsl:for-each>
+        <tfoot>
+        <tr>
+          <td colspan="3">Quotes are taken from various translations as indicated. See 
+          <xsl:for-each select="//row/translation[not(.=preceding::*)]">
+          <a>
+          <xsl:attribute name="href">/license/<xsl:value-of select="."/>.txt</xsl:attribute>
+          <xsl:value-of select="."/>
+          </a>,
+          </xsl:for-each>
+          for the license of each respective work.
+          </td>
+        </tr>
+        </tfoot>
         </table>
         </div>
       </body>