From d3601f8cafede51fc82ec2e117c33bbe91fd608e Mon Sep 17 00:00:00 2001 From: BijjuXD <103484184+bijju089@users.noreply.github.com> Date: Mon, 2 Oct 2023 11:28:11 +0530 Subject: [PATCH] Update (0.7.x) Stable Build --- .../templates/Aurora/_language/en_UK.json | 13 +- .../templates/Aurora/aurora/modern_navbar.tpl | 158 ++++++++++++++++++ .../custom/templates/Aurora/aurora/theme.tpl | 16 +- upload/custom/templates/Aurora/css/aurora.css | 8 + upload/custom/templates/Aurora/footer.tpl | 2 + upload/custom/templates/Aurora/header.tpl | 27 ++- upload/custom/templates/Aurora/navbar.tpl | 4 + upload/custom/templates/Aurora/template.php | 8 +- .../template_settings/class/AuroraUtil.php | 14 +- .../Aurora/template_settings/page/about.tpl | 96 +++++++++++ .../Aurora/template_settings/page/home.tpl | 20 ++- .../Aurora/template_settings/page/main.tpl | 4 + .../Aurora/template_settings/page/navbar.tpl | 20 ++- .../template_settings/page/navigation.tpl | 8 +- .../Aurora/template_settings/page/theme.tpl | 1 - .../Aurora/template_settings/settings.php | 9 + .../template_settings/updatechecker.php | 2 +- 17 files changed, 368 insertions(+), 42 deletions(-) create mode 100644 upload/custom/templates/Aurora/aurora/modern_navbar.tpl create mode 100644 upload/custom/templates/Aurora/template_settings/page/about.tpl diff --git a/upload/custom/templates/Aurora/_language/en_UK.json b/upload/custom/templates/Aurora/_language/en_UK.json index f24024e..2513b29 100644 --- a/upload/custom/templates/Aurora/_language/en_UK.json +++ b/upload/custom/templates/Aurora/_language/en_UK.json @@ -21,8 +21,10 @@ "addons/serverid_label": "Discord Server ID", "addons/channelid_info_label": "To get channel ID, go to Discord Server, then right click on channel > Copy ID.", "addons/channelid_label": "Discord Channel ID", + "navbar/modernnav_info": "To move the store button to center, go to Configuration > Navigation and change the Store position. The button is automatically enabled if theres Custom Page or Module called Store.", "navbar/navbarminimal_label": "Minimal", "navbar/navbarclean_label": "Clean", + "navbar/navbarmodern_label": "Modern", "navbar/navbardynamic_label": "Dynamic", "navbar/navbarelegant_label": "Elegant", "navbar/navbarlogo_info_label": "This is a logo in the middle of navbar.", @@ -33,9 +35,10 @@ "navbar/navbarexclude_info_label": "Exclude specified links seperated with {{slashCodeStart}}/{{slashCodeEnd}} from the navigation bar.", "navbar/navbarsticky_label": "Sticky navbar", "navbar/navbarstyle_info_label": "Sets style of content below the sticky navbar.", - "navbar/navbartype_info_label": "Select a type of navbar that appears at top.", + "navbar/navbartype_info_label": "Select a type of navbar that appears at top. This won't work if Navbar Style is Modern.", "navbar/navbarstyle_label": "Navbar style", "navbar/navbartype_label": "Navbar type", + "navbar/btncolour_label": "Store Button Colour", "navbar/upload_image": "Upload Image", "navbar/upload_banner": "Upload Banner", "navbar/social_link": "Social Link", @@ -52,6 +55,7 @@ "navigation/support_page": "Support", "navigation/custom_page": "Custom Code", "navigation/addons_page": "Addons", + "navigation/about_page": "About", "card/card_title": "Title", "card/card_link": "Link", "card/card_visibleimage": "Image 1", @@ -76,8 +80,15 @@ "home/review_info": "This template is still in beta, there may be bugs and missing functions. Keep an eye on updates {{riLinkStart}}here{{riLinkEnd}}.", "home/update_available": "Update Available", "home/download_update": "Download Update", + "home/require_support": "Require Support?", + "home/require_support_desc": "Join our Discord server for issues, questions, suggestions, theme updates, guides and more.", + "home/join_discord": "Join Discord", + "home/rate_theme": "Love Aurora?", + "home/rate_theme_desc": "Thanks for using our theme, leave a 5-star positive review on NamelessMC resource page.", + "home/rate_now": "Rate Aurora", "custom/leave_blank_to_disable": "Leave blank to disable", "frontend/click_to_join": "Click to join", + "frontend/click_to_copy": "Click to copy", "frontend/members_online": "Users Online", "frontend/players_online": "Players Online", "frontend/portal_there_are_currently": "There are currently", diff --git a/upload/custom/templates/Aurora/aurora/modern_navbar.tpl b/upload/custom/templates/Aurora/aurora/modern_navbar.tpl new file mode 100644 index 0000000..91fa46e --- /dev/null +++ b/upload/custom/templates/Aurora/aurora/modern_navbar.tpl @@ -0,0 +1,158 @@ +{assign var="navbarexcludeexploded" value="/"|@explode:$NAVBAREXCLUDE} +