From 90b16702bb03c8d7115fa0cc6ea8d3aba5863f46 Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 5 Jan 2023 22:20:18 +0100 Subject: Update - This is an automated commit --- includes/navigation.inc | 64 +++++++++++++++------------------------------ includes/system/species.inc | 3 +-- pages/about.inc | 2 +- pages/byspecies.inc | 57 ++++++++++++++++++++++++++++++++++++++++ pages/front.inc | 30 +++++++++++++++++++++ pages/home.inc | 4 +++ 6 files changed, 114 insertions(+), 46 deletions(-) create mode 100644 pages/byspecies.inc create mode 100644 pages/front.inc diff --git a/includes/navigation.inc b/includes/navigation.inc index fe1c9ee..1d312e5 100644 --- a/includes/navigation.inc +++ b/includes/navigation.inc @@ -39,13 +39,6 @@ $navigation_admin = [ "invert" => false, "link" => "/-/wakeup", "stepped" => "rgb(13,202,240)" - ], - [ - "name" => $pages["pleasure"]["name"][$lang["_name"]], - "icon" => "/assets/icons/pleasure.svg", - "invert" => false, - "link" => "/-/pleasure", - "stepped" => "rgb(25,135,84)" ] ] ], @@ -74,13 +67,6 @@ $navigation_admin = [ "link" => "/-/profiles", "stepped" => null ], - [ - "name" => $pages["actions"]["name"][$lang["_name"]], - "icon" => "/assets/icons/actions.svg", - "invert" => true, - "link" => "/-/actions", - "stepped" => null - ], [ "name" => $pages["rules"]["name"][$lang["_name"]], "icon" => "/assets/icons/rules.svg", @@ -103,19 +89,25 @@ $navigation_admin = [ "stepped" => null ], [ - "name" => $pages["nicknames"]["name"][$lang["_name"]], - "icon" => "/assets/icons/nicknames.svg", + "name" => $pages["travelling"]["name"][$lang["_name"]], + "icon" => "/assets/icons/travelling.svg", "invert" => true, - "link" => "/-/nicknames", + "link" => "/-/travelling", "stepped" => null ], [ - "name" => $pages["together"]["name"][$lang["_name"]], - "icon" => "/assets/icons/together.svg", + "name" => $pages["stats"]["name"][$lang["_name"]], + "icon" => "/assets/icons/stats.svg", "invert" => true, - "link" => "/-/together", + "link" => "/-/stats", "stepped" => null - ], + ] + ] + ], + "sort" => [ + "name" => "Sorted members lists", + "minimal" => false, + "items" => [ [ "name" => $pages["splitting"]["name"][$lang["_name"]], "icon" => "/assets/icons/splitting.svg", @@ -131,29 +123,22 @@ $navigation_admin = [ "stepped" => null ], [ - "name" => $pages["travelling"]["name"][$lang["_name"]], - "icon" => "/assets/icons/travelling.svg", + "name" => $pages["alphabet"]["name"][$lang["_name"]], + "icon" => "/assets/icons/alphabet.svg", "invert" => true, - "link" => "/-/travelling", + "link" => "/-/alphabet", "stepped" => null ], [ - "name" => $pages["stats"]["name"][$lang["_name"]], - "icon" => "/assets/icons/stats.svg", + "name" => $pages["s:species"]["name"][$lang["_name"]], + "icon" => "/assets/icons/species.svg", "invert" => true, - "link" => "/-/stats", + "link" => "/-/byspecies", "stepped" => null ], - [ - "name" => $pages["toys"]["name"][$lang["_name"]], - "icon" => "/assets/icons/toys.svg", - "invert" => true, - "link" => "/-/toys", - "stepped" => null - ] ] ], - "debug" => [ + /*"debug" => [ "name" => $lang["navigation"]["debug"], "minimal" => false, "items" => [ @@ -186,7 +171,7 @@ $navigation_admin = [ "stepped" => null ] ] - ] + ]*/ ] ]; $navigation_global = [ @@ -227,13 +212,6 @@ $navigation_global = [ "link" => "/-/government", "stepped" => null ] : null), - [ - "name" => $pages["alphabet"]["name"][$lang["_name"]], - "icon" => "/assets/icons/alphabet.svg", - "invert" => true, - "link" => "/-/alphabet", - "stepped" => null - ], [ "name" => $pages["terminology"]["name"][$lang["_name"]], "icon" => "/assets/icons/terminology.svg", diff --git a/includes/system/species.inc b/includes/system/species.inc index 8f4368e..b5fdee6 100644 --- a/includes/system/species.inc +++ b/includes/system/species.inc @@ -25,8 +25,7 @@ function species(array $members, string $id, string $name) { global $systemID; g
0): ?> - - ">" style="width:24px;"> ,  
'); $index++; endforeach; ?> + ">" style="width:24px;"> ,
'); $index++; endforeach; ?> -
diff --git a/pages/about.inc b/pages/about.inc index 855d9b1..0e0857e 100644 --- a/pages/about.inc +++ b/pages/about.inc @@ -67,7 +67,7 @@ function prettySize($bytes) {

About Cold Haze

- Cold Haze Engine version 2...
+ Cold Haze Engine version 2..
Version date:
Version ID:
Install path:
diff --git a/pages/byspecies.inc b/pages/byspecies.inc new file mode 100644 index 0000000..28f114e --- /dev/null +++ b/pages/byspecies.inc @@ -0,0 +1,57 @@ + +

+
+ () +
+ +
+ 0): ?> + ">" style="width:24px;"> ,
'); $index++; endforeach; ?> + - +
+
+ + +
+
+

+ + + + + + + + + +
+ + \ No newline at end of file diff --git a/pages/front.inc b/pages/front.inc new file mode 100644 index 0000000..a60be1d --- /dev/null +++ b/pages/front.inc @@ -0,0 +1,30 @@ + 0) { + header("Location: /" . $fronters["members"][0]["name"]); + die(); + } else { + if ($parts[2] === "cloudburst") { + header("Location: /cloudburst"); + } else { + header("Location: /raindrops"); + } + } +} else { + header("Location: /"); + die(); +} \ No newline at end of file diff --git a/pages/home.inc b/pages/home.inc index 7d26e68..d61d467 100644 --- a/pages/home.inc +++ b/pages/home.inc @@ -45,6 +45,10 @@ + +
-- cgit