diff options
Diffstat (limited to '_site')
-rw-r--r-- | _site/about/index.php | 8 | ||||
-rw-r--r-- | _site/admin/callback/index.php | 4 | ||||
-rw-r--r-- | _site/admin/denied/index.php | 2 | ||||
-rw-r--r-- | _site/admin/index.php | 2 | ||||
-rw-r--r-- | _site/admin/login/index.php | 2 | ||||
-rw-r--r-- | _site/admin/offline/index.php | 6 | ||||
-rw-r--r-- | _site/admin/status/index.php | 4 | ||||
-rw-r--r-- | _site/articles/index.php | 2 | ||||
-rw-r--r-- | _site/feed.xml/index.php | 16 | ||||
-rw-r--r-- | _site/home/index.php | 2 | ||||
-rw-r--r-- | _site/includes/articles/getlist.php | 4 | ||||
-rw-r--r-- | _site/includes/dom/footer.php | 4 | ||||
-rw-r--r-- | _site/includes/dom/header.php | 20 |
13 files changed, 38 insertions, 38 deletions
diff --git a/_site/about/index.php b/_site/about/index.php index 04994e5..ed49405 100644 --- a/_site/about/index.php +++ b/_site/about/index.php @@ -1,4 +1,4 @@ -<?php $_TITLE = "About Blogchain"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> +<?php $_TITLE = "About UnchainedTech"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> <div class="container" style="margin-top:30px;text-align: center;"> <h2>What's that? Who's behind it?</h2> @@ -7,9 +7,9 @@ <div class="container"> <img src="/logo.svg" style="margin-bottom:15px;"> - <p>Blogchain is a tech-centric blog written by two people on their free time. Whether it is the new Windows update or the latest iPhone, the Blogchain writers will always find a topic to talk about.</p> + <p>UnchainedTech is a tech-centric blog written by two people on their free time. Whether it is the new Windows update or the latest iPhone, the UnchainedTech writers will always find a topic to talk about.</p> - <p>Blogchain is proudly powered by open-source software! Namely: + <p>UnchainedTech is proudly powered by open-source software! Namely: <ul> <li><a href="https://github.com/erusev/parsedown" target="_blank">Parsedown</a></li> <li><a href="https://php.net" target="_blank">PHP</a></li> @@ -20,7 +20,7 @@ <li>and much more...</li> </ul></p> - <p>Last but not least, Blogchain wouldn't be so easy to develop without <a href="https://jetbrains.com" target="_blank">JetBrains software</a>. Huge thanks to them for giving me (Minteck) a free license to help me develop my FLOSS software faster than ever!</p> + <p>Last but not least, UnchainedTech wouldn't be so easy to develop without <a href="https://jetbrains.com" target="_blank">JetBrains software</a>. Huge thanks to them for giving me (Minteck) a free license to help me develop my FLOSS software faster than ever!</p> <h2>Who is behind this blog?</h2> <div class="list-group no-link"> diff --git a/_site/admin/callback/index.php b/_site/admin/callback/index.php index 4243799..9c85d46 100644 --- a/_site/admin/callback/index.php +++ b/_site/admin/callback/index.php @@ -41,7 +41,7 @@ curl_setopt($crl, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', "Accept: application/json", "Authorization: token " . $data["access_token"], - "User-Agent: Blogchain-Admin/0.0.0 (nekostarfan@gmail.com)" + "User-Agent: UnchainedTech-Admin/0.0.0 (nekostarfan@gmail.com)" )); $result = curl_exec($crl); @@ -53,7 +53,7 @@ if (!in_array($ndata["login"], json_decode(file_get_contents($_SERVER['DOCUMENT_ } file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/admin/tokens/" . $data["access_token"], $ndata["login"]); -setcookie("ADMIN_TOKEN", $data["access_token"], 0, "/", "blogchain.minteck.ro.lt", true, true); +setcookie("ADMIN_TOKEN", $data["access_token"], 0, "/", "unchainedtech.minteck.ro.lt", true, true); header("Location: /admin"); die();
\ No newline at end of file diff --git a/_site/admin/denied/index.php b/_site/admin/denied/index.php index 8eb88c2..ec51020 100644 --- a/_site/admin/denied/index.php +++ b/_site/admin/denied/index.php @@ -3,7 +3,7 @@ <div class="container" style="margin-top:30px;text-align: center;"> <h1>Access is denied</h1> <h4 style="margin-bottom:20px;">This is a "staff only" page</h4> - <p>You tried to access a page that is on Blogchain's Administrators Workplace, which you cannot get access to because your GitHub account is not registered as a Blogchain Administrator.</p> + <p>You tried to access a page that is on UnchainedTech's Administrators Workplace, which you cannot get access to because your GitHub account is not registered as a UnchainedTech Administrator.</p> <p>You probably want to <a href="/" style="text-decoration: underline;">go back home</a>.</p> </div> diff --git a/_site/admin/index.php b/_site/admin/index.php index 62d4fa7..4697dfd 100644 --- a/_site/admin/index.php +++ b/_site/admin/index.php @@ -1,4 +1,4 @@ -<?php $__ADMIN = true; $_TITLE = "Blogchain Administration"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> +<?php $__ADMIN = true; $_TITLE = "UnchainedTech Administration"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> <div class="container" style="margin-top:30px;text-align: center;"> <h2>Welcome back <?= $_USER ?>!</h2> diff --git a/_site/admin/login/index.php b/_site/admin/login/index.php index 0741757..44db39c 100644 --- a/_site/admin/login/index.php +++ b/_site/admin/login/index.php @@ -1,4 +1,4 @@ <?php -header("Location: https://github.com/login/oauth/authorize?client_id=" . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/admin/credentials.json"), true)["id"] . "&redirect_uri=https://blogchain.minteck.ro.lt/admin/callback/&allow_signups=false&scope=read:user"); +header("Location: https://github.com/login/oauth/authorize?client_id=" . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/admin/credentials.json"), true)["id"] . "&redirect_uri=https://unchainedtech.minteck.ro.lt/admin/callback/&allow_signups=false&scope=read:user"); die();
\ No newline at end of file diff --git a/_site/admin/offline/index.php b/_site/admin/offline/index.php index aa39eca..a013a17 100644 --- a/_site/admin/offline/index.php +++ b/_site/admin/offline/index.php @@ -1,11 +1,11 @@ -<?php $_TITLE = "Blogchain Administration"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> +<?php $_TITLE = "UnchainedTech Administration"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> <div class="container" style="margin-top:30px;text-align: center;"> - <h2>Extensively and simply manage Blogchain</h2> + <h2>Extensively and simply manage UnchainedTech</h2> <p>View unpublished articles, get statistics, export data and more.</p> <p> - <a class="btn btn-primary" href="https://minteck.ro.lt/admin/blogchain">Login with Minteck Central Admin</a> + <a class="btn btn-primary" href="https://minteck.ro.lt/admin/unchainedtech">Login with Minteck Central Admin</a> <a class="btn btn-primary" href="/admin/login">Login with GitHub</a> </p> </div> diff --git a/_site/admin/status/index.php b/_site/admin/status/index.php index 6d46f34..40671c2 100644 --- a/_site/admin/status/index.php +++ b/_site/admin/status/index.php @@ -1,4 +1,4 @@ -<?php $__ADMIN = true; $_TITLE = "Data Sync Status - Blogchain Administration"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> +<?php $__ADMIN = true; $_TITLE = "Data Sync Status - UnchainedTech Administration"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> <div class="container" style="margin-top:30px;text-align: center;"> <h2>Data Sync Status</h2> @@ -9,7 +9,7 @@ <ul> <?php - $commit = json_decode(gh_api("repos/Minteck/Blogchain-Content/commits"), true)[0]; + $commit = json_decode(gh_api("repos/Minteck/UnchainedTech-Content/commits"), true)[0]; if (!isset($commit["commit"]["verification"]) || !isset($commit["commit"]["verification"]["verified"]) || !$commit["commit"]["verification"]["verified"]) { echo("<li class='list-admin-warning'>This version is <b>not</b> digitally signed, its content may have been compromised.</li>"); } diff --git a/_site/articles/index.php b/_site/articles/index.php index 1ac8e1e..fcac33a 100644 --- a/_site/articles/index.php +++ b/_site/articles/index.php @@ -2,7 +2,7 @@ <div class="container" style="margin-top:30px;text-align: center;"> <h2>Here be dragons!</h2> - <p>This is the complete list of all the posts that were on Blogchain one day. Yep, they are all here!</p> + <p>This is the complete list of all the posts that were on UnchainedTech one day. Yep, they are all here!</p> </div> <?php $list = getArticlesList() ?> <div class="container"> diff --git a/_site/feed.xml/index.php b/_site/feed.xml/index.php index 3b03dad..dfb6da7 100644 --- a/_site/feed.xml/index.php +++ b/_site/feed.xml/index.php @@ -15,25 +15,25 @@ $list = getArticlesList(); <!-- - This is Blogchain's RSS feed! + This is UnchainedTech's RSS feed! Only the last 10 articles are shown to preserve your and my bandwidth. - Blogchain is - (c) Blogchain Authors, All rights reserved. + UnchainedTech is + (c) UnchainedTech Authors, All rights reserved. --> <channel> - <title>Blogchain</title> - <link>https://blogchain.minteck.ro.lt</link> - <description>Blogchain is a tech-centric blog written by two people on their free time</description> - <copyright><?= date('Y') ?> Blogchain Authors, All rights reserved.</copyright> + <title>UnchainedTech</title> + <link>https://unchainedtech.minteck.ro.lt</link> + <description>UnchainedTech is a tech-centric blog written by two people on their free time</description> + <copyright><?= date('Y') ?> UnchainedTech Authors, All rights reserved.</copyright> <language>en-us</language> <?php $index = 0; foreach ($list as $item): ?> <?php if ($index < 10 && !$item["admin"]): ?> <item> <title><?= $item["title"] ?></title> - <link>https://blogchain.minteck.ro.lt/article/<?= $item["id"] ?></link> + <link>https://unchainedtech.minteck.ro.lt/article/<?= $item["id"] ?></link> <description><?= $item["content"]["full"] ?></description> <pubdate><?php diff --git a/_site/home/index.php b/_site/home/index.php index 51f4197..a17cb4b 100644 --- a/_site/home/index.php +++ b/_site/home/index.php @@ -1,7 +1,7 @@ <?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> <div class="container" style="margin-top:30px;text-align: center;"> - <h2>Welcome to Blogchain!</h2> + <h2>Welcome to UnchainedTech!</h2> <p>If you want a blog that talks about unknown technology and whose authors do weird experiments with tech stuff, you've come to the right place!</p> </div> <?php $list = getArticlesList() ?> diff --git a/_site/includes/articles/getlist.php b/_site/includes/articles/getlist.php index 8018472..8a342f1 100644 --- a/_site/includes/articles/getlist.php +++ b/_site/includes/articles/getlist.php @@ -20,7 +20,7 @@ function getArticlesList($ordered = true) { $list[$id] = [ "date" => date("Y-m-d"), "title" => $id, - "author" => "Blogchain", + "author" => "UnchainedTech", "cover" => null, "extract" => "", "admin" => false @@ -105,7 +105,7 @@ function getArticlesList($ordered = true) { $list[$id] = [ "date" => date("Ymd"), "title" => $id, - "author" => [ "Blogchain Authors" ], + "author" => [ "UnchainedTech Authors" ], "cover" => null, "extract" => "", "admin" => true diff --git a/_site/includes/dom/footer.php b/_site/includes/dom/footer.php index 2b0a1f2..af25872 100644 --- a/_site/includes/dom/footer.php +++ b/_site/includes/dom/footer.php @@ -4,7 +4,7 @@ <hr> <div class="container"> - <p># blogchain <a href="https://twitter.com/_Minteck" target="_blank">--support</a> <a href="https://github.com/Minteck/Blogchain-Software" target="_blank">--code</a> <a href="/about">--version</a>_<br> + <p># unchainedtech <a href="https://twitter.com/_Minteck" target="_blank">--support</a> <a href="https://github.com/Minteck/UnchainedTech-Software" target="_blank">--code</a> <a href="/about">--version</a>_<br> <span style="color:black !important;"> <?php @@ -17,7 +17,7 @@ ?> </span></p> - <small><p style="text-align: center;">ยฉ <?= date('Y') ?> Blogchain Authors, All rights reserved. ยท <a href="https://minteck-projects.alwaysdata.net/legal" target="_blank" style="text-decoration: underline;">Legal</a></p></small> + <small><p style="text-align: center;">ยฉ <?= date('Y') ?> UnchainedTech Authors, All rights reserved. ยท <a href="https://minteck-projects.alwaysdata.net/legal" target="_blank" style="text-decoration: underline;">Legal</a></p></small> </div> </body> diff --git a/_site/includes/dom/header.php b/_site/includes/dom/header.php index 7f4bcf5..8022ae3 100644 --- a/_site/includes/dom/header.php +++ b/_site/includes/dom/header.php @@ -29,7 +29,7 @@ function gh_api($api) { 'Content-Type: application/json', "Accept: application/json", "Authorization: token " . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/admin/credentials.json"), true)["token"], - "User-Agent: Blogchain-Admin/0.0.0 (nekostarfan@gmail.com)" + "User-Agent: UnchainedTech-Admin/0.0.0 (nekostarfan@gmail.com)" )); $result = curl_exec($crl); @@ -51,7 +51,7 @@ function customShutdown() { <!DOCTYPE html> <html> <head> - <title>Something went wrong on Blogchain ๐</title> + <title>Something went wrong on UnchainedTech ๐</title> <style> @font-face { @@ -104,7 +104,7 @@ function customShutdown() { <body> <div style='margin-top:50px;text-align: center;'> <h1>Something went wrong <small>(like, for real!)</small></h1> - <p>An error occured and Blogchain cannot load right now. Even us can make mistakes sometimes, and because you are really nice you will <a href='mailto:nekostarfan@gmail.com'>report this bug</a>.</p> + <p>An error occured and UnchainedTech cannot load right now. Even us can make mistakes sometimes, and because you are really nice you will <a href='mailto:nekostarfan@gmail.com'>report this bug</a>.</p> <p>For you, really tech-savvy people, here is that alien language thing you're probably looking for:</p> <pre> #99{$d["type"]}: "; @@ -132,7 +132,7 @@ foreach ($stlines as $stline) { echo("\n at " . $pp2[0] . ":" . $pp2n[0]); } else if ($stline === "{main}") { - echo("\n at Blogchain.\$Core (PHP " . PHP_VERSION . ")"); + echo("\n at UnchainedTech.\$Core (PHP " . PHP_VERSION . ")"); } } @@ -152,7 +152,7 @@ function customError($errno, $errstr, $errfile = "<unknown file>", $errlin <!DOCTYPE html> <html> <head> - <title>Something went wrong on Blogchain ๐</title> + <title>Something went wrong on UnchainedTech ๐</title> <style> @font-face { @@ -205,12 +205,12 @@ function customError($errno, $errstr, $errfile = "<unknown file>", $errlin <body> <div style='margin-top:50px;text-align: center;'> <h1>Something went wrong <small>(like, for real!)</small></h1> - <p>An error occured and Blogchain cannot load right now. Even us can make mistakes sometimes, and because you are really nice you will <a href='mailto:nekostarfan@gmail.com'>report this bug</a>.</p> + <p>An error occured and UnchainedTech cannot load right now. Even us can make mistakes sometimes, and because you are really nice you will <a href='mailto:nekostarfan@gmail.com'>report this bug</a>.</p> <p>For you, really tech-savvy people, here is that alien language thing you're probably looking for:</p> <pre> #{$errno}: {$errstr} at {$errfile}:{$errline} - at Blogchain.\$Core (PHP " . PHP_VERSION . ") + at UnchainedTech.\$Core (PHP " . PHP_VERSION . ") </pre> </div> </body> @@ -227,8 +227,8 @@ register_shutdown_function("customShutdown"); <html lang="en"> <head> <meta charset="UTF-8"> - <meta name="description" content="<?= $_DESCRIPTION ?? "A page from Blogchain, a blog made by technology enthusiasts that talks about all sorts of stuff." ?>"> - <title><?= isset($_TITLE) ? $_TITLE . " on Blogchain ๐" : "Blogchain" ?></title> + <meta name="description" content="<?= $_DESCRIPTION ?? "A page from UnchainedTech, a blog made by technology enthusiasts that talks about all sorts of stuff." ?>"> + <title><?= isset($_TITLE) ? $_TITLE . " on UnchainedTech ๐" : "UnchainedTech" ?></title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="/logo.svg"> <link rel="stylesheet" href="/css/bootstrap.min.css"> @@ -374,7 +374,7 @@ register_shutdown_function("customShutdown"); </head> <body> <nav class="navbar navbar-expand-sm bg-dark navbar-dark"> - <a class="navbar-brand" href="/"><img id="siteicon" src="/logo-alt.svg" width="32px"> <span style="vertical-align: middle;"># blogchain_ <?= $admin ? '<span class="badge badge-secondary">admin</span>' : '' ?></span></a> + <a class="navbar-brand" href="/"><img id="siteicon" src="/logo-alt.svg" width="32px"> <span style="vertical-align: middle;"># unchainedtech_ <?= $admin ? '<span class="badge badge-secondary">admin</span>' : '' ?></span></a> <ul class="navbar-nav"> <li class="nav-item"> |