diff options
Diffstat (limited to 'pages/docs.inc')
-rw-r--r-- | pages/docs.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/docs.inc b/pages/docs.inc index 58256c7..403a4f9 100644 --- a/pages/docs.inc +++ b/pages/docs.inc @@ -24,7 +24,7 @@ if ($select === "add") { if (ctype_alnum($select) && file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/docs/" . $select . ".json")) { $id = $_documentId = $select; $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/docs/" . $select . ".json"), true); - $titleBase = " · " . $title . " · Cold Haze"; + $titleBase = " · " . $title . " · Ponycule"; $title = $data["name"] . " · " . $title; } else { header("Location: /-/docs"); @@ -58,7 +58,6 @@ function showDocument($item) { ?> <div class="container"> <div> <?php if (isset($data)): ?><div id="page-content"> - <?php if (isset($data["nsfw"]) && $data["nsfw"]): ?><script>requestExplicit("back");</script><?php endif; ?> <h2> <span contenteditable="true" id="document-name" style="outline: none;"><?= $data["name"] ?></span> <a href="/-/docs" class="small btn btn-outline-light" style="float:right;margin-top:5px;vertical-align:middle;opacity:1 !important; color:white;">Back</a> |