website

Code for the bare sturcture of concealed.world.
git clone git://git.concealed.world/website
Log | Files | Refs | README | LICENSE

commit 6e8a16fdef45577ea6a1fb26310054c9a37fbf94
parent 87cdafeaf7b5ceb2405ac31fc3251c62e944bce2
Author: Nixx <nixx@firemail.cc>
Date:   Tue, 10 Nov 2020 18:52:37 +0000

Moving to xhtml

Diffstat:
Mincludes/start-meta.php | 5+++--
Mincludes/subdirs.php | 3+--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/includes/start-meta.php b/includes/start-meta.php @@ -1,7 +1,8 @@ <?php $_SESSION['title'] = $title; -echo '<!DOCTYPE html>'; -echo '<html>'; +echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'; +echo '<html xmlns="http://www.w3.org/1999/xhtml">'; echo '<head>'; echo '<title>'.$title.'</title>'; echo '<meta name="description" content="concealed.world - '.$title.'"></meta>'; diff --git a/includes/subdirs.php b/includes/subdirs.php @@ -10,8 +10,7 @@ } elseif ($root == "../../") { $upperdirs = getFileList("../"); # Media subdirs to block, until I put something in them - #$mediaarray = array("Music", "Games", "Anime"); - $mediaarray = array(""); + $mediaarray = array("Anime"); foreach ($upperdirs as $dir) { if ($dir['type'] == "dir") { $dirname = explode("/", $dir['name'])[1];