diff options
author | Gitea <gitea@fake.local> | 2021-11-10 17:53:13 +0100 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2021-11-10 17:53:13 +0100 |
commit | 7b4af63a90a726b98a59b83e53f040a7a566a11d (patch) | |
tree | b85747947816fe4375e85ab6b822ffabec548c7b /Neutron-trunk/cms-special/admin/home | |
parent | 80f78c2925530e945503ab603e79d1acc53075f4 (diff) | |
download | electrode-7b4af63a90a726b98a59b83e53f040a7a566a11d.tar.gz electrode-7b4af63a90a726b98a59b83e53f040a7a566a11d.tar.bz2 electrode-7b4af63a90a726b98a59b83e53f040a7a566a11d.zip |
Update
Diffstat (limited to 'Neutron-trunk/cms-special/admin/home')
-rwxr-xr-x | Neutron-trunk/cms-special/admin/home/all/db.json | 178 | ||||
-rw-r--r--[-rwxr-xr-x] | Neutron-trunk/cms-special/admin/home/all/index.php | 4 | ||||
-rw-r--r--[-rwxr-xr-x] | Neutron-trunk/cms-special/admin/home/appearance/index.php | 45 | ||||
-rw-r--r--[-rwxr-xr-x] | Neutron-trunk/cms-special/admin/home/data/index.php | 27 | ||||
-rw-r--r--[-rwxr-xr-x] | Neutron-trunk/cms-special/admin/home/housekeeping/index.php | 27 | ||||
-rw-r--r--[-rwxr-xr-x] | Neutron-trunk/cms-special/admin/home/index.php | 58 |
6 files changed, 5 insertions, 334 deletions
diff --git a/Neutron-trunk/cms-special/admin/home/all/db.json b/Neutron-trunk/cms-special/admin/home/all/db.json deleted file mode 100755 index 8a6ad37..0000000 --- a/Neutron-trunk/cms-special/admin/home/all/db.json +++ /dev/null @@ -1,178 +0,0 @@ -[ - { - "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 index f844070..3674402 100755..100644 --- a/Neutron-trunk/cms-special/admin/home/all/index.php +++ b/Neutron-trunk/cms-special/admin/home/all/index.php @@ -1,4 +1,2 @@ <?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 +<?php header("Location: {$GLOBALS["SYSTEM_ROOT"]}/cms-special/admin-v2"); require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php"; quit(); ?>
\ 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 index 318611a..3674402 100755..100644 --- a/Neutron-trunk/cms-special/admin/home/appearance/index.php +++ b/Neutron-trunk/cms-special/admin/home/appearance/index.php @@ -1,45 +1,2 @@ <?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 +<?php header("Location: {$GLOBALS["SYSTEM_ROOT"]}/cms-special/admin-v2"); require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php"; quit(); ?>
\ 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 index 29205dc..3674402 100755..100644 --- a/Neutron-trunk/cms-special/admin/home/data/index.php +++ b/Neutron-trunk/cms-special/admin/home/data/index.php @@ -1,27 +1,2 @@ <?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 +<?php header("Location: {$GLOBALS["SYSTEM_ROOT"]}/cms-special/admin-v2"); require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php"; quit(); ?>
\ 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 index 8c0deae..3674402 100755..100644 --- a/Neutron-trunk/cms-special/admin/home/housekeeping/index.php +++ b/Neutron-trunk/cms-special/admin/home/housekeeping/index.php @@ -1,27 +1,2 @@ <?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 +<?php header("Location: {$GLOBALS["SYSTEM_ROOT"]}/cms-special/admin-v2"); require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php"; quit(); ?>
\ 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 index 327ab36..e977d90 100755..100644 --- a/Neutron-trunk/cms-special/admin/home/index.php +++ b/Neutron-trunk/cms-special/admin/home/index.php @@ -1,58 +1,2 @@ <?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> - - <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> - - <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"; ?> +<?php header("Location: {$GLOBALS["SYSTEM_ROOT"]}/cms-special/admin-v2"); require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php"; quit(); ?>
\ No newline at end of file |