A change was made to the <h2> header for the license applying to simple_blog itself to clarify what that license is for. The GPL is only attached to the code used to render the site and not the Markdown parser or menu CSS. These components are licensed MIT.
51 lines
2.6 KiB
PHP
51 lines
2.6 KiB
PHP
<?php
|
|
function display_file($license_file){
|
|
$out = file_get_contents($license_file);
|
|
echo "<pre><code>".$out."</code></pre>";
|
|
}
|
|
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/header.php');
|
|
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/menu.php');
|
|
?>
|
|
<article>
|
|
<p>A summery of all licenses that apply to this website.</p>
|
|
<h2>simple_blog License</h2>
|
|
<font size="2">
|
|
Copyright <?php echo(strftime("%Y")); ?> 20xd6<br>
|
|
<br>
|
|
This program is free software; you can redistribute it and/or modify<br>
|
|
it under the terms of the GNU General Public License as published by<br>
|
|
the Free Software Foundation; either version 2 of the License, or<br>
|
|
(at your option) any later version.<br>
|
|
<br>
|
|
This program is distributed in the hope that it will be useful,<br>
|
|
but <b>WITHOUT ANY WARRANTY</b>; without even the implied warranty of<br>
|
|
<b>MERCHANTABILITY</b> or <b>FITNESS FOR A PARTICULAR PURPOSE</b>. See the<br>
|
|
GNU General Public License for more details.<br>
|
|
<br>
|
|
You should have received a copy of the GNU General Public License<br>
|
|
along with this program; if not, write to the Free Software<br>
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,<br>
|
|
MA 02110-1301, USA.<br>
|
|
<br>
|
|
A copy of the GPL may be found <a href="/license/GPLv2.php">here</a>.
|
|
</font>
|
|
<br><br>
|
|
<h2>Website's Writings</h2>
|
|
<p>
|
|
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a> unless otherwise noted.
|
|
</p>
|
|
<h2>Specific File Licenses</h2>
|
|
<h3><a href="https://github.com/jamesjohnson280/JMenu">Jmenu</a></h3>
|
|
<blockquote><p>A simple responsive CSS Menu library. JMenu requires no Javascript and it's easy to customize.</p></blockquote>
|
|
<p>JMenu is used to create the responsive menus on this site.<br>
|
|
JMenu has been customized to match the color scheme of the site.<br/>
|
|
JMenu is <a href="/license/MIT.php">MIT Licensed</a>.</p>
|
|
<?php display_file("MIT_License.txt"); ?>
|
|
<h3><a href="https://github.com/erusev/parsedown">Parsedown</a></h3>
|
|
<blockquote><p>Better Markdown Parser in PHP - <a href="http://parsedown.org/demo">Demo</a>.</p></blockquote>
|
|
<p>Parsedown is used for all of the Markdown processing for this site.<br/>
|
|
Parsedown is <a href="/license/MIT.php">MIT Licensed</a>.</p>
|
|
<?php display_file($_SERVER['DOCUMENT_ROOT'].'/common/vendor/erusev/parsedown/LICENSE.txt');?>
|
|
</article>
|
|
<?php include_once ($_SERVER['DOCUMENT_ROOT'].'/common/footer.php');?>
|