summaryrefslogtreecommitdiff
path: root/public/app/views/components/top_bar.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-27 13:06:44 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-27 13:06:44 +0300
commitd1338cbb59d0752155f17d94b0b9b073df95183f (patch)
tree75b7fe87a47ee6961dc38263582117bb920fa1d4 /public/app/views/components/top_bar.php
parent38cc5c0c3abed6cfe4fbe0cbabec60a8ed64784d (diff)
downloadgyraf1gov-d1338cbb59d0752155f17d94b0b9b073df95183f.tar.gz
gyraf1gov-d1338cbb59d0752155f17d94b0b9b073df95183f.tar.bz2
gyraf1gov-d1338cbb59d0752155f17d94b0b9b073df95183f.zip
content model; add petition to database
Diffstat (limited to 'public/app/views/components/top_bar.php')
-rw-r--r--public/app/views/components/top_bar.php40
1 files changed, 0 insertions, 40 deletions
diff --git a/public/app/views/components/top_bar.php b/public/app/views/components/top_bar.php
deleted file mode 100644
index eaffe76..0000000
--- a/public/app/views/components/top_bar.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-/** top bar
- * -----------------------------------------------------------------------------
- *
- * rendrers breadcrumbs and user menu
- *
- * imported variables
- * ---
- * @param $id : category_id of last level
- * @param $label : category title of last level
- * @param $parents : array of parent nodes
- * -----------------------------------------------------------------------------
- */
-
-// initialize variables needed if not passed
-// (needed while requiring breadcrumbs)
-if (!isset($id)) {
- $id = 0;
- $label = "";
- $parents = [];
-}
-
-?>
-<div class="top-bar">
-
- <?php // breadcrumbs
- ////////////////////////////////////////////////////////////////////////
- Render::view("components/breadcrumbs", [
- 'id' => $id,
- 'label' => $label,
- 'parents' => $parents
- ]);
- ?>
-
- <?php // User management drop-down
- ////////////////////////////////////////////////////////////////////////
- Render::view('components/user-management');
- ?>
-
-</div><!-- /top-bar --> \ No newline at end of file