Преглед на файлове

Merge branch 'licensing' of gogsadmin/prayer-generator into master

gogsadmin преди 1 година
родител
ревизия
6abf648c44
променени са 6 файла, в които са добавени 31 реда и са изтрити 3 реда
  1. 2 0
      COPYING
  2. 1 0
      license/ESV.txt
  3. 1 0
      license/KJV.txt
  4. 1 0
      license/MKJV.txt
  5. 1 0
      license/UKJV.txt
  6. 25 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/KJV.txt

@@ -0,0 +1 @@
+General public license for distribution for any purpose. Rights in The Authorized Version of the Bible (King James Bible) in the United Kingdom are vested in the Crown and administered by the Crown’s patentee, Cambridge University Press.

+ 1 - 0
license/MKJV.txt

@@ -0,0 +1 @@
+Copyright (c) Jay P. Green, Sr. 1993. Licensed for non-commercial distribution granted to CrossWire on Oct. 3, 2002

+ 1 - 0
license/UKJV.txt

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

+ 25 - 3
xml/pg_view_style.xsl

@@ -81,15 +81,37 @@ 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">
+          Copyright (c) Daniel Sheffield 2022. All right reserved.
+          <br/>
+          Powered <a href="https://www.crosswire.org/jsword/">JSword</a> an implementation of <a href="https://www.crosswire.org/sword/index.jsp">The SWORD Project</a>'s SWORD API brought to you by the <a href="https://crosswire.org">The CrossWire Bible Society</a>.
+          <br/>
+          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 and copyright information of each respective work.
+          </td>
+        </tr>
+        </tfoot>
         </table>
         </div>
       </body>