aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/cms-special/admin/$resources/spotlight.php
diff options
context:
space:
mode:
Diffstat (limited to 'Neutron-trunk/cms-special/admin/$resources/spotlight.php')
-rw-r--r--Neutron-trunk/cms-special/admin/$resources/spotlight.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/Neutron-trunk/cms-special/admin/$resources/spotlight.php b/Neutron-trunk/cms-special/admin/$resources/spotlight.php
deleted file mode 100644
index 2a09ed3..0000000
--- a/Neutron-trunk/cms-special/admin/$resources/spotlight.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php // Tutoriel utilisé : https://www.youtube.com/watch?v=5Y3Urj_DVMw
-?>
-<script src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/js/spotlight.js" defer></script>
-
-<?php
-
-$data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin-v2/home/all/db.json"));
-
-?>
-<ul class="spotlight-elements">
- <?php foreach ($data as $category): ?>
- <?php foreach ($category->items as $item): ?>
- <li class="spotlight-element">
- <a href="#/<?= $item->page ?>" cat="<?= $category->name ?>" icon="<?= $category->icon ?>" class="spotlight-link"><?= $lang["admin-home"]["allitems"][$item->id] ?></a>
- </li>
-
- <script>
- sysroot = "<?= $GLOBALS["SYSTEM_ROOT"] ?>";
- </script>
- <?php endforeach; ?>
- <?php endforeach; ?>
-</ul>
-<spotlight-bar target=".spotlight-elements a" placeholder="<?= $lang["spotlight"]["search"] ?>">
-</spotlight-bar> \ No newline at end of file