aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/cms-special/admin/home
diff options
context:
space:
mode:
Diffstat (limited to 'Neutron-trunk/cms-special/admin/home')
-rw-r--r--Neutron-trunk/cms-special/admin/home/all/db.json178
-rw-r--r--Neutron-trunk/cms-special/admin/home/all/index.php4
-rw-r--r--Neutron-trunk/cms-special/admin/home/appearance/index.php45
-rw-r--r--Neutron-trunk/cms-special/admin/home/data/index.php27
-rw-r--r--Neutron-trunk/cms-special/admin/home/housekeeping/index.php27
-rw-r--r--Neutron-trunk/cms-special/admin/home/index.php58
6 files changed, 339 insertions, 0 deletions
diff --git a/Neutron-trunk/cms-special/admin/home/all/db.json b/Neutron-trunk/cms-special/admin/home/all/db.json
new file mode 100644
index 0000000..8a6ad37
--- /dev/null
+++ b/Neutron-trunk/cms-special/admin/home/all/db.json
@@ -0,0 +1,178 @@
+[
+ {
+ "name": "pages",
+ "id": 0,
+ "icon": "insert_drive_file",
+ "items": [
+ {
+ "name": "list",
+ "id": 0,
+ "icon": "list_alt",
+ "page": "pages"
+ },
+ {
+ "name": "create",
+ "id": 1,
+ "icon": "add",
+ "page": "pages/add"
+ }
+ ]
+ },
+ {
+ "name": "gallery",
+ "id": 1,
+ "icon": "photo",
+ "items": [
+ {
+ "name": "list",
+ "id": 2,
+ "icon": "photo_library",
+ "page": "gallery"
+ },
+ {
+ "name": "add",
+ "id": 3,
+ "icon": "add_photo_alternate",
+ "page": "gallery/publish"
+ },
+ {
+ "name": "category",
+ "id": 4,
+ "icon": "local_offer",
+ "page": "gallery/addcategory"
+ },
+ {
+ "name": "userspace",
+ "id": 5,
+ "icon": "image_search",
+ "page": "../gallery"
+ }
+ ]
+ },
+ {
+ "name": "calendar",
+ "id": 2,
+ "icon": "event",
+ "items": [
+ {
+ "name": "all",
+ "id": 6,
+ "icon": "event",
+ "page": "calendar"
+ },
+ {
+ "name": "create",
+ "id": 7,
+ "icon": "event_available",
+ "page": "calendar/add"
+ },
+ {
+ "name": "userspace",
+ "id": 8,
+ "icon": "event_note",
+ "page": "../calendar"
+ }
+ ]
+ },
+ {
+ "name": "plugins",
+ "id": 3,
+ "icon": "extension",
+ "items": [
+ {
+ "name": "all",
+ "id": 9,
+ "icon": "extension",
+ "page": "plugins"
+ }
+ ]
+ },
+ {
+ "name": "technical",
+ "id": 4,
+ "icon": "build_circle",
+ "items": [
+ {
+ "name": "all",
+ "id": 12,
+ "icon": "engineering",
+ "page": "advanced"
+ },
+ {
+ "name": "advanced",
+ "id": 13,
+ "icon": "build_circle",
+ "page": "advanced/jsonconf"
+ }
+ ]
+ },
+ {
+ "name": "data",
+ "id": 5,
+ "icon": "pie_chart",
+ "items": [
+ {
+ "name": "reset",
+ "id": 15,
+ "icon": "delete",
+ "page": "reset"
+ },
+ {
+ "name": "stats",
+ "id": 16,
+ "icon": "pie_chart",
+ "page": "stats"
+ },
+ {
+ "name": "logs",
+ "id": 17,
+ "icon": "subject",
+ "page": "logs"
+ }
+ ]
+ },
+ {
+ "name": "updates",
+ "id": 6,
+ "icon": "cloud_download",
+ "items": [
+ {
+ "name": "info",
+ "id": 19,
+ "icon": "info",
+ "page": "about"
+ }
+ ]
+ },
+ {
+ "name": "apparence",
+ "id": 7,
+ "icon": "brush",
+ "items": [
+ {
+ "name": "general",
+ "id": 22,
+ "icon": "brush",
+ "page": "appearance"
+ },
+ {
+ "name": "theme",
+ "id": 23,
+ "icon": "palette",
+ "page": "customization"
+ },
+ {
+ "name": "language",
+ "id": 26,
+ "icon": "language",
+ "page": "language"
+ },
+ {
+ "name": "flags",
+ "id": 27,
+ "icon": "flag",
+ "page": "flags"
+ }
+ ]
+ }
+]
diff --git a/Neutron-trunk/cms-special/admin/home/all/index.php b/Neutron-trunk/cms-special/admin/home/all/index.php
new file mode 100644
index 0000000..f844070
--- /dev/null
+++ b/Neutron-trunk/cms-special/admin/home/all/index.php
@@ -0,0 +1,4 @@
+<?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?>
+<?php
+
+header("Location: {$GLOBALS["SYSTEM_ROOT"]}/cms-special/admin/home"); \ No newline at end of file
diff --git a/Neutron-trunk/cms-special/admin/home/appearance/index.php b/Neutron-trunk/cms-special/admin/home/appearance/index.php
new file mode 100644
index 0000000..318611a
--- /dev/null
+++ b/Neutron-trunk/cms-special/admin/home/appearance/index.php
@@ -0,0 +1,45 @@
+<?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?>
+<?php
+
+$pageConfig = [ "domName" => "Tableau de bord", "headerName" => "Tableau de bord" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?>
+<div style="text-align: center;">
+ <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home" class="mdc-button mdc-button--outlined">
+ <div class="mdc-button__ripple"></div>
+ <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">arrow_back</i>
+ <span class="mdc-button__label"><?= $lang["admin-home"]["items"][7] ?></span>
+ </a>
+
+ <h1><?= $lang["admin-home"]["appearance"]['greeting'] ?></h1>
+
+ <div id="home-grid">
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["appearance"]['items'][0] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/appearance" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">tour</a>
+ <br>
+ <?= $lang["admin-home"]["appearance"]['items'][0] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["appearance"]['items'][1] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/customization" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">palette</a>
+ <br>
+ <?= $lang["admin-home"]["appearance"]['items'][1] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["appearance"]['items'][3] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/language" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">language</a>
+ <br>
+ <?= $lang["admin-home"]["appearance"]['items'][3] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["appearance"]['items'][4] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/plugins" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">extension</a>
+ <br>
+ <?= $lang["admin-home"]["appearance"]['items'][4] ?>
+ </div>
+ <?php /** @var boolean $__electrode */
+ if (!isset($__electrode) || !$__electrode): ?>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["appearance"]['items'][5] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/flags" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">flag</a>
+ <br>
+ <?= $lang["admin-home"]["appearance"]['items'][5] ?>
+ </div>
+ <?php endif; ?>
+ </div>
+</div>
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?> \ No newline at end of file
diff --git a/Neutron-trunk/cms-special/admin/home/data/index.php b/Neutron-trunk/cms-special/admin/home/data/index.php
new file mode 100644
index 0000000..29205dc
--- /dev/null
+++ b/Neutron-trunk/cms-special/admin/home/data/index.php
@@ -0,0 +1,27 @@
+<?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?>
+<?php
+
+$pageConfig = [ "domName" => "Tableau de bord", "headerName" => "Tableau de bord" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?>
+<div style="text-align: center;">
+ <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home" class="mdc-button mdc-button--outlined">
+ <div class="mdc-button__ripple"></div>
+ <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">arrow_back</i>
+ <span class="mdc-button__label"><?= $lang["admin-home"]["items"][7] ?></span>
+ </a>
+
+ <h1><?= $lang["admin-home"]["data"]['greeting'] ?></h1>
+
+ <div id="home-grid">
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["data"]['items'][0] ?>" id="home-grid-item-data" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/stats" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">pie_chart</a>
+ <br>
+ <?= $lang["admin-home"]["data"]['items'][0] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["data"]['items'][1] ?>" id="home-grid-item-data" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/logs" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">text_snippet</a>
+ <br>
+ <?= $lang["admin-home"]["data"]['items'][1] ?>
+ </div>
+ </div>
+</div>
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?> \ No newline at end of file
diff --git a/Neutron-trunk/cms-special/admin/home/housekeeping/index.php b/Neutron-trunk/cms-special/admin/home/housekeeping/index.php
new file mode 100644
index 0000000..8c0deae
--- /dev/null
+++ b/Neutron-trunk/cms-special/admin/home/housekeeping/index.php
@@ -0,0 +1,27 @@
+<?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?>
+<?php
+
+$pageConfig = [ "domName" => "Tableau de bord", "headerName" => "Tableau de bord" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?>
+<div style="text-align: center;">
+ <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home" class="mdc-button mdc-button--outlined">
+ <div class="mdc-button__ripple"></div>
+ <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">arrow_back</i>
+ <span class="mdc-button__label"><?= $lang["admin-home"]["items"][7] ?></span>
+ </a>
+
+ <h1><?= $lang["admin-home"]["housekeeping"]['greeting'] ?></h1>
+
+ <div id="home-grid">
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["housekeeping"]['items'][0] ?>" id="home-grid-item-housekeeping" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/reset" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">restore</a>
+ <br>
+ <?= $lang["admin-home"]["housekeeping"]['items'][0] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["housekeeping"]['items'][1] ?>" id="home-grid-item-housekeeping" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/about" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">info</a>
+ <br>
+ <?= $lang["admin-home"]["housekeeping"]['items'][1] ?>
+ </div>
+ </div>
+</div>
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?> \ No newline at end of file
diff --git a/Neutron-trunk/cms-special/admin/home/index.php b/Neutron-trunk/cms-special/admin/home/index.php
new file mode 100644
index 0000000..327ab36
--- /dev/null
+++ b/Neutron-trunk/cms-special/admin/home/index.php
@@ -0,0 +1,58 @@
+<?php require_once "../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?>
+<?php
+
+$pageConfig = [ "domName" => "Tableau de bord", "headerName" => "Tableau de bord" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?>
+<div style="text-align: center;">
+ <a title="<?= $lang["admin-home"]["language"] ?>/Switch Language" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/language" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button" id="language-selector">translate</a>
+
+ <h1><?= $lang["admin-home"]["greeting"] ?></h1>
+
+ <div id="home-grid">
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["items"][0] ?>" id="home-grid-item-pages" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/pages" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">layers</a>
+ <br>
+ <?= $lang["admin-home"]["items"][0] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["items"][1] ?>" id="home-grid-item-calendar" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/calendar" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">event_note</a><br>
+ <?= $lang["admin-home"]["items"][1] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["items"][2] ?>" id="home-grid-item-gallery" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/gallery" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">photo</a><br>
+ <?= $lang["admin-home"]["items"][2] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["items"][3] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home/appearance" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">brush</a><br>
+ <?= $lang["admin-home"]["items"][3] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["items"][4] ?>" id="home-grid-item-data" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home/data" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">dns</a><br>
+ <?= $lang["admin-home"]["items"][4] ?>
+ </div>
+ <div class="home-grid-item">
+ <a title="<?= $lang["admin-home"]["items"][5] ?>" id="home-grid-item-housekeeping" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home/housekeeping" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">cleaning_services</a><br>
+ <?= $lang["admin-home"]["items"][5] ?>
+ </div>
+ </div>
+
+ <br>
+
+ <a onclick="document.getElementsByTagName('spotlight-bar')[0].show()" class="mdc-button mdc-button--outlined">
+ <div class="mdc-button__ripple"></div>
+ <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">settings</i>
+ <span class="mdc-button__label"><?= $lang["admin-home"]["items"][6] ?></span>
+ </a>
+ &nbsp;
+ <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/logout" class="mdc-button mdc-button--outlined">
+ <div class="mdc-button__ripple"></div>
+ <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">power_settings_new</i>
+ <span class="mdc-button__label"><?= $lang["admin-home"]["items"][8] ?></span>
+ </a>
+ &nbsp;
+ <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/?source=admin" target="_blank" class="mdc-button mdc-button--outlined">
+ <div class="mdc-button__ripple"></div>
+ <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">public</i>
+ <span class="mdc-button__label"><?= $lang["admin-home"]["items"][9] ?></span>
+ </a>
+</div>
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?>