From 50d0e9a37d3371fa4685acfa8de31c83b11efef5 Mon Sep 17 00:00:00 2001 From: 1day2die Date: Sun, 30 Apr 2023 00:31:32 +0200 Subject: [PATCH] replace controlpanel.gg -> ctrlpanel.gg --- .env.example | 4 ++-- LICENSE | 2 +- README.md | 2 +- app/Extensions/PaymentGateways/PayPal/PayPalExtension.php | 2 +- app/Http/Controllers/HomeController.php | 2 +- config/app.php | 2 +- .../settings/2023_02_01_181453_create_mail_settings.php | 2 +- .../2023_02_01_182158_create_website_settings.php | 4 ++-- lang/de.json | 2 +- lang/en.json | 4 ++-- public/install/index.php | 6 +++--- themes/BlueInfinity/views/layouts/main.blade.php | 4 ++-- themes/default/views/admin/activitylogs/index.blade.php | 2 +- themes/default/views/admin/overview/index.blade.php | 8 ++++---- themes/default/views/auth/login.blade.php | 4 ++-- themes/default/views/layouts/main.blade.php | 4 ++-- 16 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.env.example b/.env.example index a025f65d..98f9662b 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ ### --- App Settings --- ### -APP_NAME=Controlpanel.gg +APP_NAME=CtrlPanel.gg APP_ENV=production APP_KEY= APP_DEBUG=false @@ -64,4 +64,4 @@ MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" # Settings Cache -SETTINGS_CACHE_ENABLED=true \ No newline at end of file +SETTINGS_CACHE_ENABLED=true diff --git a/LICENSE b/LICENSE index 0ee0d65c..00e2a0b6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 ControlPanel.gg +Copyright (c) 2021 CtrlPanel.gg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 2d2c062a..f78d81a7 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ControlPanel's Dashboard is a dashboard application designed to offer clients a management tool to manage their pterodactyl servers. This dashboard comes with a credit-based billing solution that credits users hourly for each server they have and suspends them if they run out of credits. -This dashboard offers an easy to use and free billing solution for all starting and experienced hosting providers. This dashboard has many customisation options and added discord Oauth verification to offer a solid link between your discord server and your dashboard. You can check our [Demo here](https://demo.controlpanel.gg "Demo"). +This dashboard offers an easy to use and free billing solution for all starting and experienced hosting providers. This dashboard has many customisation options and added discord Oauth verification to offer a solid link between your discord server and your dashboard. You can check our [Demo here](https://demo.CtrlPanel.gg "Demo"). ### [Installation](https://ctrlpanel.gg/docs/intro "Installation") diff --git a/app/Extensions/PaymentGateways/PayPal/PayPalExtension.php b/app/Extensions/PaymentGateways/PayPal/PayPalExtension.php index af4cc605..6b1c335e 100644 --- a/app/Extensions/PaymentGateways/PayPal/PayPalExtension.php +++ b/app/Extensions/PaymentGateways/PayPal/PayPalExtension.php @@ -87,7 +87,7 @@ class PayPalExtension extends AbstractExtension "application_context" => [ "cancel_url" => route('payment.Cancel'), "return_url" => route('payment.PayPalSuccess', ['payment' => $payment->id]), - 'brand_name' => config('app.name', 'Controlpanel.GG'), + 'brand_name' => config('app.name', 'CtrlPanel.GG'), 'shipping_preference' => 'NO_SHIPPING' ] diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 5162eebb..11e597f1 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -34,7 +34,7 @@ class HomeController extends Controller if (Storage::exists('callHome')) { return; } - Http::asForm()->post('https://market.controlpanel.gg/callhome.php', [ + Http::asForm()->post('https://market.CtrlPanel.gg/callhome.php', [ 'id' => Hash::make(URL::current()), ]); Storage::put('callHome', 'This is only used to count the installations of cpgg.'); diff --git a/config/app.php b/config/app.php index 045c3604..534fafe3 100644 --- a/config/app.php +++ b/config/app.php @@ -17,7 +17,7 @@ return [ | */ - 'name' => env('APP_NAME', 'Controlpanel.gg'), + 'name' => env('APP_NAME', 'CtrlPanel.gg'), /* |-------------------------------------------------------------------------- diff --git a/database/settings/2023_02_01_181453_create_mail_settings.php b/database/settings/2023_02_01_181453_create_mail_settings.php index 7a171732..cc609b44 100644 --- a/database/settings/2023_02_01_181453_create_mail_settings.php +++ b/database/settings/2023_02_01_181453_create_mail_settings.php @@ -16,7 +16,7 @@ class CreateMailSettings extends SettingsMigration $this->migrator->add('mail.mail_password', $table_exists ? $this->getOldValue('SETTINGS::MAIL:PASSWORD') : env('MAIL_PASSWORD', '')); $this->migrator->add('mail.mail_encryption', $table_exists ? $this->getOldValue('SETTINGS::MAIL:ENCRYPTION') : env('MAIL_ENCRYPTION', 'tls')); $this->migrator->add('mail.mail_from_address', $table_exists ? $this->getOldValue('SETTINGS::MAIL:FROM_ADDRESS') : env('MAIL_FROM_ADDRESS', 'example@example.com')); - $this->migrator->add('mail.mail_from_name', $table_exists ? $this->getOldValue('SETTINGS::MAIL:FROM_NAME') : env('APP_NAME', 'ControlPanel.gg')); + $this->migrator->add('mail.mail_from_name', $table_exists ? $this->getOldValue('SETTINGS::MAIL:FROM_NAME') : env('APP_NAME', 'CtrlPanel.gg')); $this->migrator->add('mail.mail_mailer', $table_exists ? $this->getOldValue('SETTINGS::MAIL:MAILER') : env('MAIL_MAILER', 'smtp')); $this->migrator->add('mail.mail_enabled', true); } diff --git a/database/settings/2023_02_01_182158_create_website_settings.php b/database/settings/2023_02_01_182158_create_website_settings.php index 176052db..9aeb9036 100644 --- a/database/settings/2023_02_01_182158_create_website_settings.php +++ b/database/settings/2023_02_01_182158_create_website_settings.php @@ -14,7 +14,7 @@ class CreateWebsiteSettings extends SettingsMigration $this->migrator->add( 'website.motd_message', $table_exists ? $this->getOldValue("SETTINGS::SYSTEM:MOTD_MESSAGE") : - '

Controlpanel.gg

+ '

CtrlPanel.gg

Thank you for using our Software

If you have any questions, make sure to join our Discord

(you can change this message in the Settings )

' @@ -23,7 +23,7 @@ class CreateWebsiteSettings extends SettingsMigration $this->migrator->add('website.show_privacy', $table_exists ? $this->getOldValue("SETTINGS::SYSTEM:SHOW_PRIVACY") : false); $this->migrator->add('website.show_tos', $table_exists ? $this->getOldValue("SETTINGS::SYSTEM:SHOW_TOS") : false); $this->migrator->add('website.useful_links_enabled', $table_exists ? $this->getOldValue("SETTINGS::SYSTEM:USEFULLINKS_ENABLED") : true); - $this->migrator->add('website.seo_title', $table_exists ? $this->getOldValue("SETTINGS::SYSTEM:SEO_TITLE") : 'ControlPanel.gg'); + $this->migrator->add('website.seo_title', $table_exists ? $this->getOldValue("SETTINGS::SYSTEM:SEO_TITLE") : 'CtrlPanel.gg'); $this->migrator->add('website.seo_description', $table_exists ? $this->getOldValue("SETTINGS::SYSTEM:SEO_DESCRIPTION") : 'Billing software for Pterodactyl Panel.'); $this->migrator->add('website.enable_login_logo', true); } diff --git a/lang/de.json b/lang/de.json index 9107634b..638ede32 100644 --- a/lang/de.json +++ b/lang/de.json @@ -126,7 +126,7 @@ "Support server": "Discord Server", "Documentation": "Dokumentation", "Github": "Github", - "Support ControlPanel": "Unterstütze Controlpanel.gg", + "Support ControlPanel": "Unterstütze CtrlPanel.gg", "Servers": "Server", "Total": "Gesamt", "Payments": "Zahlungen", diff --git a/lang/en.json b/lang/en.json index c0aa6431..af1126bd 100644 --- a/lang/en.json +++ b/lang/en.json @@ -177,7 +177,7 @@ "Title": "Title", "User": "User", "Last updated": "Last updated", - "Controlpanel.gg": "Controlpanel.gg", + "CtrlPanel.gg": "CtrlPanel.gg", "Version": "Version", "Individual nodes": "Individual nodes", "You reached the Pterodactyl perPage limit. Please make sure to set it higher than your server count.": "You reached the Pterodactyl perPage limit. Please make sure to set it higher than your server count.", @@ -654,4 +654,4 @@ "sv": "Swedish", "sk": "Slovakish", "hu": "Hungarian" -} \ No newline at end of file +} diff --git a/public/install/index.php b/public/install/index.php index 54eb254d..3a05e2b0 100644 --- a/public/install/index.php +++ b/public/install/index.php @@ -9,7 +9,7 @@ function cardStart($title, $subtitle = null) { return "
-

ControlPanel.gg Installation

+

CtrlPanel.gg Installation

$title

" . (isset($subtitle) ? "

$subtitle

" : ""); @@ -19,7 +19,7 @@ function cardStart($title, $subtitle = null) - Controlpanel.gg installer Script + CtrlPanel.gg installer Script @@ -68,7 +68,7 @@ function cardStart($title, $subtitle = null) // Getting started if (!isset($_GET['step']) || $_GET['step'] == 1) { ?> - +
    diff --git a/themes/BlueInfinity/views/layouts/main.blade.php b/themes/BlueInfinity/views/layouts/main.blade.php index f5d888d5..f965da56 100644 --- a/themes/BlueInfinity/views/layouts/main.blade.php +++ b/themes/BlueInfinity/views/layouts/main.blade.php @@ -199,7 +199,7 @@ src="{{ \Illuminate\Support\Facades\Storage::disk('public')->exists('icon.png') ? asset('storage/icon.png') : asset('images/controlpanel_logo.png') }}" alt="{{ config('app.name', 'Laravel') }} Logo" class="brand-image img-circle" style="opacity: .8"> - {{ config('app.name', 'Controlpanel.gg') }} + {{ config('app.name', 'CtrlPanel.gg') }} @@ -441,7 +441,7 @@ Copyright © 2021-{{ date('Y') }} {{ env('APP_NAME', 'Laravel') }}. All rights - reserved. Powered by ControlPanel. | Theme by 2IceCube + reserved. Powered by ControlPanel. | Theme by 2IceCube @if (!str_contains(config('BRANCHNAME'), 'main') && !str_contains(config('BRANCHNAME'), 'unknown')) Version {{ config('app')['version'] }} - {{ config('BRANCHNAME') }} @endif diff --git a/themes/default/views/admin/activitylogs/index.blade.php b/themes/default/views/admin/activitylogs/index.blade.php index 822b06d6..fda21cf8 100644 --- a/themes/default/views/admin/activitylogs/index.blade.php +++ b/themes/default/views/admin/activitylogs/index.blade.php @@ -33,7 +33,7 @@ @else

    {{ __('No recent activity from cronjobs')}}

    -

    {{ __('Are cronjobs running?')}} {{ __('Check the docs for it here')}}

    +

    {{ __('Are cronjobs running?')}} {{ __('Check the docs for it here')}}

    @endif diff --git a/themes/default/views/admin/overview/index.blade.php b/themes/default/views/admin/overview/index.blade.php index d801656e..a092ed5f 100644 --- a/themes/default/views/admin/overview/index.blade.php +++ b/themes/default/views/admin/overview/index.blade.php @@ -23,7 +23,7 @@ {{__("Version Outdated:")}}
    {{__("You are running on")}} v{{config("app.version")}}-{{config("BRANCHNAME")}}. {{__("The latest Version is")}} v{{Storage::get('latestVersion')}}
    - {{__("Consider updating now")}} + {{__("Consider updating now")}}
@endif @@ -39,7 +39,7 @@ class="fab fa-discord mr-2"> {{__('Support server')}}
- {{__('Documentation')}}
@@ -47,7 +47,7 @@ class="fab fa-github mr-2"> {{__('Github')}}
- {{__('Support ControlPanel')}}
@@ -199,7 +199,7 @@
- {{__('Controlpanel.gg')}} + {{__('CtrlPanel.gg')}}
diff --git a/themes/default/views/auth/login.blade.php b/themes/default/views/auth/login.blade.php index 720effd5..8c3cbb78 100644 --- a/themes/default/views/auth/login.blade.php +++ b/themes/default/views/auth/login.blade.php @@ -9,9 +9,9 @@
{{ config('app.name', 'Laravel') }} - @if ($website_settings->enable_login_logo) + @if ($website_settings->enable_login_logo) {{ config('app.name', 'Controlpanel.gg') }} Logo + alt="{{ config('app.name', 'CtrlPanel.gg') }} Logo" style="opacity: .8; max-width:100%; height: 150px; margin-top: 10px;"> @endif
diff --git a/themes/default/views/layouts/main.blade.php b/themes/default/views/layouts/main.blade.php index 30fb8eaf..0683b875 100644 --- a/themes/default/views/layouts/main.blade.php +++ b/themes/default/views/layouts/main.blade.php @@ -204,7 +204,7 @@ src="{{ \Illuminate\Support\Facades\Storage::disk('public')->exists('icon.png') ? asset('storage/icon.png') : asset('images/controlpanel_logo.png') }}" alt="{{ config('app.name', 'Laravel') }} Logo" class="brand-image img-circle" style="opacity: .8"> - {{ config('app.name', 'Controlpanel.gg') }} + {{ config('app.name', 'CtrlPanel.gg') }} @@ -443,7 +443,7 @@ Copyright © 2021-{{ date('Y') }} {{ env('APP_NAME', 'Laravel') }}. All rights - reserved. Powered by ControlPanel. + reserved. Powered by ControlPanel. @if (!str_contains(config('BRANCHNAME'), 'main') && !str_contains(config('BRANCHNAME'), 'unknown')) Version {{ config('app')['version'] }} - {{ config('BRANCHNAME') }} @endif