aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/navigation_links.php
diff options
context:
space:
mode:
authorwinter2025-03-15 18:53:29 +0000
committerwinter2025-03-15 18:53:29 +0000
commite0588a6113ff6b3c1000fa6c82629f81fb5e05b5 (patch)
treeef6beb046a7dcc7542b88f0962d4e5e264895b7a /templates/navigation_links.php
parent61b122e88cc6783b4d0cf5142a22002f8e558c60 (diff)
[refactor] move some templates to subdirs
Diffstat (limited to 'templates/navigation_links.php')
-rw-r--r--templates/navigation_links.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/navigation_links.php b/templates/navigation_links.php
deleted file mode 100644
index 1540491..0000000
--- a/templates/navigation_links.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-use Digitigrade\Router;
-?>
-<ul>
- <?php foreach ($links as $href => $name): ?>
- <?php if (Router::getInstance()->getCurrentPath() == $href): ?>
- <li><span class="navlink disabled"><?= $name ?></span></li>
- <?php else: ?>
- <li><a class="navlink" href="<?= $href ?>"><?= $name ?></a></li>
- <?php endif; ?>
- <?php endforeach; ?>
-</ul> \ No newline at end of file