Fix PHP 8.3 htmlentities null safety, remove unused themes, rename OGP_LANG_ to LANG_

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/9909a053-0a66-4453-a844-d3b80d727b27

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-05-04 17:31:16 +00:00 committed by GitHub
parent 53e0b68f4f
commit 7377f955fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
796 changed files with 38947 additions and 43914 deletions

View file

@ -22,48 +22,48 @@
*
*/
define('OGP_LANG_install_lang', "Select your preferred language");
define('OGP_LANG_install_welcome', "Welcome to the Open Game Panel Installer");
define('OGP_LANG_file_permission_check', "Checking required file permissions");
define('OGP_LANG_OK', "OK");
define('OGP_LANG_write_permission_required', "Write permission required");
define('OGP_LANG_execute_permission_required', "Execute permission required");
define('OGP_LANG_create_an_empty_file', "Create an empty file.");
define('OGP_LANG_found', "Found");
define('OGP_LANG_not_found', "Not found");
define('OGP_LANG_pear_xxtea_info', "Pear Crypt_XXTEA is required for OGP usage. In the most of the Linux distributions this module can be installed with the following Pear command 'pear install Crypt_XXTEA-beta'.");
define('OGP_LANG_refresh', "Refresh");
define('OGP_LANG_checking_required_modules', "Checking required modules");
define('OGP_LANG_checking_optional_modules', "Checking optional modules");
define('OGP_LANG_database_type', "Database type");
define('OGP_LANG_database_settings', "Database access settings");
define('OGP_LANG_database_hostname', "Database Hostname");
define('OGP_LANG_database_username', "Database Username");
define('OGP_LANG_database_password', "Database Password");
define('OGP_LANG_database_name', "Database Name");
define('OGP_LANG_database_prefix', "Database Prefix");
define('OGP_LANG_next', "Next");
define('OGP_LANG_encryption_key', "Encyption key (Agent)");
define('OGP_LANG_agent_port', "Port (Agent)");
define('OGP_LANG_unable_to_write_config', "Unable to write to configuration file. Please recheck the write permission.");
define('OGP_LANG_admin_login_details', "Admin login details");
define('OGP_LANG_config_written', "The config files created successfully.");
define('OGP_LANG_database_created', "Database tables created succesfully.");
define('OGP_LANG_admin_login_details_info', "Now we create admin user for your Open Game Panel.");
define('OGP_LANG_username', "Username");
define('OGP_LANG_repeat_password', "Repeat password");
define('OGP_LANG_email', "E-mail address");
define('OGP_LANG_back', "Back");
define('OGP_LANG_database_setup_failure', "Setup was unable to create the database. Please recheck your database configs.");
define('OGP_LANG_php_version_check', "Checking PHP version");
define('OGP_LANG_invalid_username', "You entered invalid username.");
define('OGP_LANG_password_too_short', "Your password is too short. It must be at least '%d' characters long.");
define('OGP_LANG_password_contains_invalid_characters', "Your password contains invalid characters.");
define('OGP_LANG_invalid_email_address', "You entered invalid e-mail address.");
define('OGP_LANG_setup_complete', "Setup has been completed successfully. The Open Game Panel is now ready for use.");
define('OGP_LANG_remove_install_and_secure_config', "You should delete install.php from your server and chmod your includes/config.inc.php back to 644 for security purposes.");
define('OGP_LANG_go_to_panel', "Click here to login to your OGP.");
define('OGP_LANG_unable_to_resolve', "If you are unable to resolve this problem please visit OGP website ");
define('OGP_LANG_slogan', "The Open-Source one!");
define('OGP_LANG_default_welcome_title_message', "Welcome! <b style='font-size:12px; font-weight:normal;'>You can change this title in '<a href='?m=settings&p=themes'>Theme Settings</a>' under the '<a href='?m=administration&p=main'>Administration</a>' tab.</b>");
define('LANG_install_lang', "Select your preferred language");
define('LANG_install_welcome', "Welcome to the Open Game Panel Installer");
define('LANG_file_permission_check', "Checking required file permissions");
define('LANG_OK', "OK");
define('LANG_write_permission_required', "Write permission required");
define('LANG_execute_permission_required', "Execute permission required");
define('LANG_create_an_empty_file', "Create an empty file.");
define('LANG_found', "Found");
define('LANG_not_found', "Not found");
define('LANG_pear_xxtea_info', "Pear Crypt_XXTEA is required for OGP usage. In the most of the Linux distributions this module can be installed with the following Pear command 'pear install Crypt_XXTEA-beta'.");
define('LANG_refresh', "Refresh");
define('LANG_checking_required_modules', "Checking required modules");
define('LANG_checking_optional_modules', "Checking optional modules");
define('LANG_database_type', "Database type");
define('LANG_database_settings', "Database access settings");
define('LANG_database_hostname', "Database Hostname");
define('LANG_database_username', "Database Username");
define('LANG_database_password', "Database Password");
define('LANG_database_name', "Database Name");
define('LANG_database_prefix', "Database Prefix");
define('LANG_next', "Next");
define('LANG_encryption_key', "Encyption key (Agent)");
define('LANG_agent_port', "Port (Agent)");
define('LANG_unable_to_write_config', "Unable to write to configuration file. Please recheck the write permission.");
define('LANG_admin_login_details', "Admin login details");
define('LANG_config_written', "The config files created successfully.");
define('LANG_database_created', "Database tables created succesfully.");
define('LANG_admin_login_details_info', "Now we create admin user for your Open Game Panel.");
define('LANG_username', "Username");
define('LANG_repeat_password', "Repeat password");
define('LANG_email', "E-mail address");
define('LANG_back', "Back");
define('LANG_database_setup_failure', "Setup was unable to create the database. Please recheck your database configs.");
define('LANG_php_version_check', "Checking PHP version");
define('LANG_invalid_username', "You entered invalid username.");
define('LANG_password_too_short', "Your password is too short. It must be at least '%d' characters long.");
define('LANG_password_contains_invalid_characters', "Your password contains invalid characters.");
define('LANG_invalid_email_address', "You entered invalid e-mail address.");
define('LANG_setup_complete', "Setup has been completed successfully. The Open Game Panel is now ready for use.");
define('LANG_remove_install_and_secure_config', "You should delete install.php from your server and chmod your includes/config.inc.php back to 644 for security purposes.");
define('LANG_go_to_panel', "Click here to login to your OGP.");
define('LANG_unable_to_resolve', "If you are unable to resolve this problem please visit OGP website ");
define('LANG_slogan', "The Open-Source one!");
define('LANG_default_welcome_title_message', "Welcome! <b style='font-size:12px; font-weight:normal;'>You can change this title in '<a href='?m=settings&p=themes'>Theme Settings</a>' under the '<a href='?m=administration&p=main'>Administration</a>' tab.</b>");
?>