From 529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 15:38:16 +0200 Subject: Update --- .../cms-special/admin-v2/pages/edit/index.php | 194 +++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 Neutron-trunk/cms-special/admin-v2/pages/edit/index.php (limited to 'Neutron-trunk/cms-special/admin-v2/pages/edit') diff --git a/Neutron-trunk/cms-special/admin-v2/pages/edit/index.php b/Neutron-trunk/cms-special/admin-v2/pages/edit/index.php new file mode 100644 index 0000000..b198566 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/pages/edit/index.php @@ -0,0 +1,194 @@ + + + "Pages", "headerName" => "Pages" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +
+ page = \"index\""); + } else { + $currentName = file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/" . $currentSlug . "/pagename"); + echo(""); + } + + $type = file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/pagetypes/" . $currentSlug); + if (isset($_GET['forcehtml'])) { + $type = "1"; + } + if ($type == "0") { + require_once $_SERVER['DOCUMENT_ROOT'] . "/resources/private/VisualEditor.php"; + } + if ($type == "1"): + + ?> +

/resources/image/message_warning.svg" class="message_img">

+ +
+
/resources/image/loader.svg" class="loader">
+ + + + + \ No newline at end of file -- cgit