From 7b4af63a90a726b98a59b83e53f040a7a566a11d Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 10 Nov 2021 17:53:13 +0100 Subject: Update --- .../cms-special/admin/$resources/admin.js | 0 .../cms-special/admin/$resources/common.css | 0 .../cms-special/admin/$resources/header.php | 0 .../cms-special/admin/$resources/index-auto.css | 0 .../cms-special/admin/$resources/index-dark.css | 0 .../cms-special/admin/$resources/index.css | 0 .../cms-special/admin/$resources/postcontent.php | 2 +- .../cms-special/admin/$resources/precontent.php | 44 ++++++++++++---------- .../cms-special/admin/$resources/responsive.css | 0 .../admin/$resources/spotlight-test.php | 2 +- .../cms-special/admin/$resources/spotlight.php | 2 +- 11 files changed, 27 insertions(+), 23 deletions(-) mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/admin.js mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/common.css mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/header.php mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/index-auto.css mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/index-dark.css mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/index.css mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/postcontent.php mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/precontent.php mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/responsive.css mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/spotlight-test.php mode change 100755 => 100644 Neutron-trunk/cms-special/admin/$resources/spotlight.php (limited to 'Neutron-trunk/cms-special/admin/$resources') diff --git a/Neutron-trunk/cms-special/admin/$resources/admin.js b/Neutron-trunk/cms-special/admin/$resources/admin.js old mode 100755 new mode 100644 diff --git a/Neutron-trunk/cms-special/admin/$resources/common.css b/Neutron-trunk/cms-special/admin/$resources/common.css old mode 100755 new mode 100644 diff --git a/Neutron-trunk/cms-special/admin/$resources/header.php b/Neutron-trunk/cms-special/admin/$resources/header.php old mode 100755 new mode 100644 diff --git a/Neutron-trunk/cms-special/admin/$resources/index-auto.css b/Neutron-trunk/cms-special/admin/$resources/index-auto.css old mode 100755 new mode 100644 diff --git a/Neutron-trunk/cms-special/admin/$resources/index-dark.css b/Neutron-trunk/cms-special/admin/$resources/index-dark.css old mode 100755 new mode 100644 diff --git a/Neutron-trunk/cms-special/admin/$resources/index.css b/Neutron-trunk/cms-special/admin/$resources/index.css old mode 100755 new mode 100644 diff --git a/Neutron-trunk/cms-special/admin/$resources/postcontent.php b/Neutron-trunk/cms-special/admin/$resources/postcontent.php old mode 100755 new mode 100644 index 573a1d9..cface57 --- a/Neutron-trunk/cms-special/admin/$resources/postcontent.php +++ b/Neutron-trunk/cms-special/admin/$resources/postcontent.php @@ -3,4 +3,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Neutron-trunk/cms-special/admin/$resources/precontent.php b/Neutron-trunk/cms-special/admin/$resources/precontent.php old mode 100755 new mode 100644 index b133975..e32c599 --- a/Neutron-trunk/cms-special/admin/$resources/precontent.php +++ b/Neutron-trunk/cms-special/admin/$resources/precontent.php @@ -47,19 +47,19 @@ if (isset($lang["admin-titles"][$pageid])) { $invalid = false; -if (isset($_COOKIE['_NEUTRON_ADMIN_TOKEN']) && $_COOKIE['_NEUTRON_ADMIN_TOKEN'] != "." && $_COOKIE['_NEUTRON_ADMIN_TOKEN'] != ".." && $_COOKIE['_NEUTRON_ADMIN_TOKEN'] != "/") { +if (isset($_COOKIE['_NEUTRON_ADMIN_TOKEN']) && $_COOKIE['_NEUTRON_ADMIN_TOKEN'] != "." && $_COOKIE['_NEUTRON_ADMIN_TOKEN'] != ".." && $_COOKIE['_NEUTRON_ADMIN_TOKEN'] != "/" && strpos($_COOKIE['_NEUTRON_ADMIN_TOKEN'], "/") === false) { if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/data/tokens/" . $_COOKIE['_NEUTRON_ADMIN_TOKEN'])) { } else { - require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php";quit(""); + require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php";quit(""); } } else { - require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php";quit(""); + require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php";quit(""); } if (isset($_POST['password'])) { if (password_verify($_POST['password'], file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/password"))) { - require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php";quit(""); + require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php";quit(""); return; } else { $invalid = true; @@ -127,19 +127,19 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/resources/private/headers/preprocesso /resources/css/ui.css"> /resources/css/codename.css"> /resources/image/siteicon.png"> - + /resources/css/fonts-import.css" as="style"> /resources/css/alerts.css" as="style"> /resources/css/admin.css" as="style"> /resources/css/ui.css" as="style"> - /cms-special/admin/$resources/common.css" as="style"> - /cms-special/admin/$resources/index.css" as="style"> - /cms-special/admin/$resources/responsive.css" as="style"> - /cms-special/admin/$resources/index-dark.css" as="style"> + /cms-special/admin-v2/$resources/common.css" as="style"> + /cms-special/admin-v2/$resources/index.css" as="style"> + /cms-special/admin-v2/$resources/responsive.css" as="style"> + /cms-special/admin-v2/$resources/index-dark.css" as="style"> - /cms-special/admin/$resources/admin.js" as="script"> + /cms-special/admin-v2/$resources/admin.js" as="script"> '); + echo(''); } ?> '); + echo(''); } elseif (file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/theme") == "auto") { - echo(''); + echo(''); } else { - echo(''); + echo(''); } ?> /resources/lib/pushbar.js/library.css"> @@ -199,8 +199,13 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/resources/private/headers/preprocesso ?> - - + + + -
+
" . $lang["admin-home"]["updates"][0] . " — " . $lang["admin-home"]["updates"][1] . "
"); + echo("
" . $lang["admin-home"]["updates"][0] . " — " . $lang["admin-home"]["updates"][1] . "
"); $updatable = true; } else { $updatable = false; } - ?> - \ No newline at end of file + ?> \ No newline at end of file diff --git a/Neutron-trunk/cms-special/admin/$resources/responsive.css b/Neutron-trunk/cms-special/admin/$resources/responsive.css old mode 100755 new mode 100644 diff --git a/Neutron-trunk/cms-special/admin/$resources/spotlight-test.php b/Neutron-trunk/cms-special/admin/$resources/spotlight-test.php old mode 100755 new mode 100644 index bffaa87..625f734 --- a/Neutron-trunk/cms-special/admin/$resources/spotlight-test.php +++ b/Neutron-trunk/cms-special/admin/$resources/spotlight-test.php @@ -9,6 +9,6 @@ - + \ No newline at end of file diff --git a/Neutron-trunk/cms-special/admin/$resources/spotlight.php b/Neutron-trunk/cms-special/admin/$resources/spotlight.php old mode 100755 new mode 100644 index f803f52..2a09ed3 --- a/Neutron-trunk/cms-special/admin/$resources/spotlight.php +++ b/Neutron-trunk/cms-special/admin/$resources/spotlight.php @@ -4,7 +4,7 @@