Merge pull request 'Update to upstream master' (#1) from 20xd6/simple_blog:master into master

Reviewed-on: #1
This commit is contained in:
manfromhuh 2022-07-05 15:10:54 -04:00
commit 6b06c36b0b
3 changed files with 15 additions and 4 deletions

1
README.md Normal file
View File

@ -0,0 +1 @@
# simple_blog

View File

@ -43,12 +43,12 @@
//echo "</pre>\n";
echo "<ul id=\"tag_menu\">\n";
$coloum_number = 0;
for ($row_number = 0; $row_number < $tags_rows; $row_number++){
#echo $row_number;
for ($row_number = 0; $row_number <= $tags_coloums; $row_number++){
//echo $row_number;
$section_title = $tags_csv[0][$coloum_number];
echo "\t<li id=\"" . $section_title . "\"><b>" . $section_title . " </b>\n";
for ($row = 1; $row < $tags_coloums; $row++){
#echo "rn: " . $row_number . "\ncn:" . $coloum_number;
//echo "rn: " . $row . "\ncn:" . $coloum_number ." ";
$tag_content = $tags_csv[$row][$coloum_number];
if ($tag_content == ""){
break;

View File

@ -8,7 +8,7 @@ include_once ($_SERVER['DOCUMENT_ROOT'].'/common/menu.php');
?>
<article>
<p>A summery of all licenses that apply to this website.</p>
<h2>Code License</h2>
<h2>simple_blog License</h2>
<font size="2">
Copyright <?php echo(strftime("%Y")); ?> 20xd6<br>
<br>
@ -46,5 +46,15 @@ JMenu is <a href="/license/MIT.php">MIT Licensed</a>.</p>
<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');?>
<h3><a href="https://github.com/erusev/parsedown-extra">Parsedown Extra</a></h3>
<blockquote><p>An extension of <a href="https://github.com/erusev/parsedown">Parsedown</a> that adds support for <a href="https://michelf.ca/projects/php-markdown/extra/">Markdown Extra.</a></p></blockquote>
<p>Pasrsedown-extra is used primarily to add support for footnotes in articles. <br/>Parsedown-extra is <a href="/license/MIT.php">MIT Licensed</a>.</p>
<?php display_file($_SERVER['DOCUMENT_ROOT'].'/common/vendor/erusev/parsedown-extra/LICENSE.txt');?>
<h3>Prism</h3>
<blockquote><p>Prism is a lightweight, robust, and elegant syntax highlighting library. It's a spin-off project from <a href="https://dabblet.com/">Dabblet</a>.<br/>
You can learn more on <a href="https://prismjs.com/">prismjs.com</a>.</p></blockquote>
<p>Prism is used for syntax highlighting is simple_blog.<br/>
Prism is <a href="/license/MIT.php">MIT Licensed</a>.</p>
<?php display_file("MIT_License.txt"); ?>
</article>
<?php include_once ($_SERVER['DOCUMENT_ROOT'].'/common/footer.php');?>