menus.php (1984B)
1 <?php
2
3 function top_navigation() {
4
5 ?>
6
7 <!-- Navigation Buttons -->
8 <nav>
9
10 <!-- All Categories: Categories-Action -->
11 <form action="/" method="post" class="inline">
12 <input
13 id="category"
14 name="category"
15 type="hidden"
16 value=""
17 >
18 <input
19 id="action"
20 name="action"
21 type="hidden"
22 value="categories"
23 >
24 <input
25 class="likenavitem"
26 type="submit"
27 value="<?php echo $GLOBALS["i18n_categories"]; ?>"
28 >
29 </form>
30
31 <!-- New Note: Edit-Action -->
32 <form action="/" method="post" class="inline">
33 <input
34 id="category"
35 name="category"
36 type="hidden"
37 value=""
38 >
39 <input
40 id="filename"
41 name="filename"
42 type="hidden"
43 value=""
44 >
45 <input
46 id="action"
47 name="action"
48 type="hidden"
49 value="show"
50 >
51 <input
52 class="likenavitem"
53 type="submit"
54 value="<?php echo $GLOBALS["i18n_new"]; ?>"
55 >
56 </form>
57
58 <!-- Configure user: Account-Action -->
59 <form action="/" method="post" class="inline">
60 <input
61 id="action"
62 name="action"
63 type="hidden"
64 value="account"
65 >
66 <input
67 class="likenavitem"
68 type="submit"
69 value="<?php echo $GLOBALS["i18n_account"]; ?>"
70 >
71 </form>
72
73 <!-- Logout-Action -->
74 <form action="/" method="post" class="inline">
75 <input
76 id="action"
77 name="action"
78 type="hidden"
79 value="logout"
80 >
81 <input
82 class="likenavitem"
83 type="submit"
84 value="<?php echo $GLOBALS["i18n_logout"]; ?>"
85 >
86 </form>
87
88 </nav>
89
90 <?php
91
92 } // function
93
94 ?>