fix register
This commit is contained in:
parent
ed3a22e87e
commit
de66e87c6f
|
@ -170,7 +170,7 @@ function guest_register() {
|
|||
$html .= "<tr><td>" . Get_Text("makeuser_Engelart") . "</td><td align=\"left\">\n";
|
||||
$html .= "<select name=\"Art\">\n";
|
||||
|
||||
$engel_types = sql_select("SELECT * FROM `EngelType` ORDER BY `NAME`");
|
||||
$engel_types = sql_select("SELECT * FROM `AngelTypes` ORDER BY `NAME`");
|
||||
foreach ($engel_types as $engel_type) {
|
||||
$Name = $engel_type['Name'] . Get_Text("inc_schicht_engel");
|
||||
$html .= "<option value=\"" . $Name . "\"";
|
||||
|
|
|
@ -8,8 +8,22 @@ function make_navigation() {
|
|||
global $privileges;
|
||||
$menu_items = $privileges;
|
||||
$menu_items[] = "faq";
|
||||
$menu = "";
|
||||
|
||||
$menu = '<nav class="container"><h4>' . Get_Text('/') . '</h4><ul class="content">';
|
||||
// Standard Navigation
|
||||
$menu .= '<nav class="container"><h4>' . Get_Text('/') . '</h4><ul class="content">';
|
||||
foreach ($menu_items as $item)
|
||||
$menu .= '<li' . ($item == $p ? ' class="selected"' : '') . '><a href="' . page_link_to($item) . '">' . Get_Text($item) . '</a></li>';
|
||||
$menu .= '</ul></nav>';
|
||||
|
||||
// Engel Navigation
|
||||
$menu .= '<nav class="container"><h4>' . Get_Text('inc_schicht_engel') . '</h4><ul class="content">';
|
||||
foreach ($menu_items as $item)
|
||||
$menu .= '<li' . ($item == $p ? ' class="selected"' : '') . '><a href="' . page_link_to($item) . '">' . Get_Text($item) . '</a></li>';
|
||||
$menu .= '</ul></nav>';
|
||||
|
||||
// Admin Navigation
|
||||
$menu .= '<nav class="container"><h4>' . Get_Text('admin/') . '</h4><ul class="content">';
|
||||
foreach ($menu_items as $item)
|
||||
$menu .= '<li' . ($item == $p ? ' class="selected"' : '') . '><a href="' . page_link_to($item) . '">' . Get_Text($item) . '</a></li>';
|
||||
$menu .= '</ul></nav>';
|
||||
|
|
Loading…
Reference in New Issue