From d692485a081c9e56d6444bdf1ee626221e1896e3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Sep 2025 15:53:33 +0000 Subject: [PATCH] Phase 3: Update remaining code references (classes, constants, functions) Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- css/global.css | 2 +- gsp_api.php | 16 +++++++-------- home.php | 4 ++-- includes/api_functions.php | 2 +- includes/database_mysqli.php | 2 +- includes/form_table_class.php | 4 ++-- includes/functions.php | 2 +- includes/helpers.php | 6 +++--- includes/lang.php | 18 ++++++++--------- includes/lib_remote.php | 6 +++--- includes/navig.php | 8 ++++---- includes/view.php | 6 +++--- index.php | 4 ++-- modules/TS3Admin/TS3Admin.php | 2 +- .../%%F7^F7F^F7F34188%%header.tpl.php | 20 +++++++++---------- modules/addonsmanager/addons_installer.php | 4 ++-- modules/addonsmanager/addons_manager.php | 2 +- modules/addonsmanager/user_addons.php | 2 +- modules/administration/administration.php | 2 +- modules/administration/backupdwl.php | 2 +- modules/administration/banlist.php | 2 +- modules/administration/iframe.php | 2 +- modules/administration/watch_logger.php | 2 +- modules/backup-restore/backup-restore.php | 2 +- modules/billing/add_to_cart.php | 2 +- modules/billing/bak/add_to_cart.php | 2 +- modules/billing/bak/bill.php | 2 +- modules/billing/bak/coupon.php | 2 +- modules/billing/bak/coupons.php | 2 +- modules/billing/bak/create_servers.php | 6 +++--- modules/billing/bak/cron-shop.php | 4 ++-- modules/billing/bak/orders.php | 2 +- modules/billing/bak/paid.php | 2 +- modules/billing/bak/paypal.php | 2 +- modules/billing/bak/settings.php | 2 +- modules/billing/bak/shop.php | 2 +- modules/billing/bill.php | 2 +- modules/billing/cart.php | 2 +- modules/billing/coupon.php | 2 +- modules/billing/coupons.php | 2 +- modules/billing/create_servers.php | 4 ++-- modules/billing/cron-shop.php | 4 ++-- modules/billing/paid.php | 2 +- modules/billing/paypal.php | 2 +- modules/billing/services.php | 2 +- modules/billing/settings.php | 2 +- modules/circular/circular.php | 2 +- modules/circular/show_circular.php | 2 +- modules/config_games/cli-params.php | 2 +- modules/config_games/config_servers.php | 2 +- modules/config_games/create.php | 2 +- modules/config_games/set_mods.php | 2 +- modules/config_games/set_params.php | 2 +- modules/config_games/xml_config_creator.php | 2 +- modules/cron/cron.php | 10 +++++----- modules/cron/events.php | 4 ++-- modules/cron/shared_cron_functions.php | 8 ++++---- modules/cron/thetime.php | 4 ++-- modules/cron/user_cron.php | 8 ++++---- modules/dashboard/dashboard.php | 6 +++--- modules/dashboard/query_ref.php | 2 +- modules/dashboard/updateWidgets.php | 2 +- modules/dsi/dsi_admin.php | 2 +- modules/dsi/dsi_list.php | 6 +++--- modules/dsi/dsi_user.php | 2 +- modules/dsi/image.php | 2 +- modules/editconfigfiles/configFileList.php | 2 +- modules/editconfigfiles/modify.php | 4 ++-- modules/faq/faq.php | 2 +- modules/fast_download/admin_fastdl.php | 8 ++++---- modules/fast_download/user_fastd.php | 4 ++-- modules/ftp/ftp.php | 2 +- modules/ftp/ftp_admin.php | 10 +++++----- modules/gamemanager/cfg_text_replace.php | 2 +- modules/gamemanager/get_server_log.php | 4 ++-- .../gamemanager/home_handling_functions.php | 6 +++--- modules/gamemanager/log.php | 6 +++--- modules/gamemanager/mini_start.php | 4 ++-- modules/gamemanager/rcon_presets.php | 2 +- modules/gamemanager/ref_servermonitor.php | 4 ++-- modules/gamemanager/restart_server.php | 8 ++++---- modules/gamemanager/rsync_install.php | 8 ++++---- modules/gamemanager/server_monitor.php | 6 +++--- modules/gamemanager/start_server.php | 8 ++++---- modules/gamemanager/stop_server.php | 4 ++-- modules/gamemanager/update_server.php | 8 ++++---- modules/gamemanager/update_server_manual.php | 4 ++-- modules/gamemanager/upload_map_image.php | 2 +- modules/gamemanager/view_server_log.php | 8 ++++---- modules/lgsl_with_img_mod/feed.php | 2 +- modules/lgsl_with_img_mod/image.php | 2 +- modules/lgsl_with_img_mod/lgsl.php | 2 +- modules/lgsl_with_img_mod/lgsl_admin.php | 2 +- modules/litefm/fm_dir.php | 2 +- modules/litefm/fm_read.php | 4 ++-- modules/litefm/fm_write.php | 4 ++-- modules/litefm/get_file.php | 4 ++-- modules/litefm/settings.php | 2 +- modules/lostpwd/lostpwd.php | 2 +- modules/modulemanager/add_module.php | 2 +- modules/modulemanager/delete_module.php | 2 +- modules/modulemanager/modulemanager.php | 2 +- modules/modulemanager/update_modules.php | 2 +- modules/mysql/edit_server.php | 12 +++++------ modules/mysql/get_dump.php | 4 ++-- modules/mysql/servers.php | 4 ++-- modules/mysql/user_db.php | 6 +++--- modules/news/admin.php | 2 +- modules/news/index.php | 2 +- modules/rcon/rcon.php | 8 ++++---- modules/register/register-exec.php | 2 +- modules/register/register.php | 2 +- modules/server/add_server.php | 4 ++-- modules/server/arrange_ports.php | 4 ++-- modules/server/edit_server.php | 6 +++--- modules/server/firewall.php | 4 ++-- modules/server/mon_stats.php | 4 ++-- modules/server/reboot.php | 4 ++-- modules/server/restart.php | 4 ++-- modules/server/servers.php | 4 ++-- modules/server/view_log.php | 4 ++-- modules/settings/api_hosts.php | 2 +- modules/settings/settings.php | 2 +- modules/settings/themes.php | 2 +- modules/status/include/cpu.php | 2 +- modules/status/include/hdd.php | 2 +- modules/status/include/os.php | 2 +- modules/status/include/ram.php | 2 +- modules/status/include/task.php | 2 +- modules/status/include/uptime.php | 2 +- modules/status/status.php | 2 +- modules/steam_workshop/main.php | 4 ++-- modules/steam_workshop/uninstall.php | 4 ++-- modules/steam_workshop/workshop_admin.php | 2 +- modules/subusers/add_subuser-exec.php | 2 +- modules/subusers/add_subuser.php | 2 +- modules/subusers/del_subuser.php | 2 +- modules/subusers/submanage.php | 2 +- modules/support/support.php | 2 +- modules/tickets/downloadAttachment.php | 2 +- modules/tickets/notificationCount.php | 2 +- modules/tickets/rating.php | 2 +- modules/tickets/submitTicket.php | 2 +- modules/tickets/supportTickets.php | 2 +- modules/tickets/ticketSettings.php | 2 +- modules/tickets/viewTicket.php | 2 +- modules/tshock/bans.php | 2 +- modules/tshock/create_token.php | 2 +- modules/tshock/server.php | 2 +- modules/tshock/users.php | 2 +- modules/update/blacklist.php | 2 +- modules/update/post_update.php | 2 +- modules/update/update.php | 2 +- modules/update/updating.php | 4 ++-- modules/user_admin/add_group.php | 2 +- modules/user_admin/add_to_group.php | 2 +- modules/user_admin/add_user.php | 2 +- modules/user_admin/del_from_group.php | 2 +- modules/user_admin/del_group.php | 2 +- modules/user_admin/del_user.php | 2 +- modules/user_admin/edit_user.php | 2 +- modules/user_admin/show_groups.php | 2 +- modules/user_admin/show_users.php | 2 +- modules/user_games/add_home.php | 4 ++-- modules/user_games/assign_home.php | 2 +- modules/user_games/browser.php | 4 ++-- modules/user_games/check_expire.php | 2 +- modules/user_games/clone_home.php | 4 ++-- modules/user_games/custom_fields.php | 4 ++-- modules/user_games/del_home.php | 4 ++-- modules/user_games/edit_home.php | 4 ++-- modules/user_games/get_size.php | 6 +++--- modules/user_games/home_mods.php | 4 ++-- modules/user_games/install_cmds.php | 2 +- modules/user_games/show_homes.php | 2 +- modules/util/addadmin_helper.php | 4 ++-- modules/util/agents.php | 4 ++-- modules/util/amx_addadmin_helper.php | 4 ++-- modules/util/network_tools.php | 4 ++-- modules/util/steamid_converter.php | 2 +- modules/util/util.php | 2 +- protocol/TeamSpeak3/TS3Monitor.php | 2 +- protocol/lgsl/lgsl_protocol.php | 10 +++++----- server_status.php | 8 ++++---- themes/AdminLTE/dist/js/main.js | 16 +++++++-------- themes/AdminLTE/dist/php/theme.class.php | 6 +++--- themes/MasterControlProgram/css/main.css | 2 +- themes/SimpleBootstrap/css/main.css | 2 +- 188 files changed, 338 insertions(+), 338 deletions(-) diff --git a/css/global.css b/css/global.css index 023c8f35..469f6a23 100644 --- a/css/global.css +++ b/css/global.css @@ -23,7 +23,7 @@ span.versionInfo{ display: inline-block; } -div.OGPVersionArea{ +div.GSPVersionArea{ width: 100%; position: relative; } diff --git a/gsp_api.php b/gsp_api.php index c398cbc5..2c63e9f2 100644 --- a/gsp_api.php +++ b/gsp_api.php @@ -281,7 +281,7 @@ function api_server() { $remote_server_id = $_POST['remote_server_id']; $remote_server = $db->getRemoteServer($remote_server_id); - $remote = new OGPRemoteLibrary($remote_server['agent_ip'],$remote_server['agent_port'],$remote_server['encryption_key'],$remote_server['timeout']); + $remote = new GSPRemoteLibrary($remote_server['agent_ip'],$remote_server['agent_port'],$remote_server['encryption_key'],$remote_server['timeout']); $status = "200"; $message = $remote->status_chk() == 1?'online':'offline'; } @@ -290,7 +290,7 @@ function api_server() { $remote_server_id = $_POST['remote_server_id']; $remote_server = $db->getRemoteServer($remote_server_id); - $remote = new OGPRemoteLibrary($remote_server['agent_ip'],$remote_server['agent_port'],$remote_server['encryption_key'],$remote_server['timeout']); + $remote = new GSPRemoteLibrary($remote_server['agent_ip'],$remote_server['agent_port'],$remote_server['encryption_key'],$remote_server['timeout']); $remote->agent_restart(); $status = "200"; $message = "success"; @@ -488,7 +488,7 @@ function api_user_games() if(!isPortValid($port)) return array("status" => '309', "message" => "The given port is not a valid port."); - $remote = new OGPRemoteLibrary($remote_server['agent_ip'],$remote_server['agent_port'],$remote_server['encryption_key'],$remote_server['timeout']); + $remote = new GSPRemoteLibrary($remote_server['agent_ip'],$remote_server['agent_port'],$remote_server['encryption_key'],$remote_server['timeout']); $host_stat = $remote->status_chk(); if($host_stat !== 1) return array("status" => '310', "message" => "The remote server is offline."); @@ -581,7 +581,7 @@ function api_user_games() } } - $remote = new OGPRemoteLibrary($game_home['agent_ip'],$game_home['agent_port'],$game_home['encryption_key'],$game_home['timeout']); + $remote = new GSPRemoteLibrary($game_home['agent_ip'],$game_home['agent_port'],$game_home['encryption_key'],$game_home['timeout']); $host_stat = $remote->status_chk(); if($host_stat !== 1) return array("status" => '310', "message" => "The remote server is offline."); @@ -957,7 +957,7 @@ function api_gamemanager() if($server_xml === FALSE) return array("status" => '305', "message" => "No game configuration found for home_cfg_id #" . $home_cfg_id . "."); - $remote = new OGPRemoteLibrary($home_info['agent_ip'],$home_info['agent_port'],$home_info['encryption_key'],$home_info['timeout']); + $remote = new GSPRemoteLibrary($home_info['agent_ip'],$home_info['agent_port'],$home_info['encryption_key'],$home_info['timeout']); $host_stat = $remote->status_chk(); if($host_stat !== 1) return array("status" => '310', "message" => "The remote server is offline."); @@ -1421,7 +1421,7 @@ function api_litefm() if($server_xml === FALSE) return array("status" => '305', "message" => "No game configuration found for home_cfg_id #" . $home_cfg_id . "."); - $remote = new OGPRemoteLibrary($home_info['agent_ip'],$home_info['agent_port'],$home_info['encryption_key'],$home_info['timeout']); + $remote = new GSPRemoteLibrary($home_info['agent_ip'],$home_info['agent_port'],$home_info['encryption_key'],$home_info['timeout']); $host_stat = $remote->status_chk(); if($host_stat !== 1) return array("status" => '310', "message" => "The remote server is offline."); @@ -1514,7 +1514,7 @@ function api_addonsmanager() if($server_xml === FALSE) return array("status" => '305', "message" => "No game configuration found for home_cfg_id #" . $home_cfg_id . "."); - $remote = new OGPRemoteLibrary($home_info['agent_ip'],$home_info['agent_port'],$home_info['encryption_key'],$home_info['timeout']); + $remote = new GSPRemoteLibrary($home_info['agent_ip'],$home_info['agent_port'],$home_info['encryption_key'],$home_info['timeout']); $host_stat = $remote->status_chk(); if($host_stat !== 1) return array("status" => '310', "message" => "The remote server is offline."); @@ -1632,7 +1632,7 @@ function api_steam_workshop() if($server_xml === FALSE) return array("status" => '305', "message" => "No game configuration found for home_cfg_id #" . $home_cfg_id . "."); - $remote = new OGPRemoteLibrary($home_info['agent_ip'],$home_info['agent_port'],$home_info['encryption_key'],$home_info['timeout']); + $remote = new GSPRemoteLibrary($home_info['agent_ip'],$home_info['agent_port'],$home_info['encryption_key'],$home_info['timeout']); $host_stat = $remote->status_chk(); if($host_stat !== 1) return array("status" => '310', "message" => "The remote server is offline."); diff --git a/home.php b/home.php index 1fade329..f841a1e0 100644 --- a/home.php +++ b/home.php @@ -26,7 +26,7 @@ $db = createDatabaseConnection($db_type, $db_host, $db_user, $db_pass, $db_name, include_once("includes/lang.php"); if (!$db instanceof GSPDatabase) { - ogpLang(); + gspLang(); die(get_lang('no_db_connection')); } @@ -37,7 +37,7 @@ if(hasValue($_SESSION['user_id'])){ $settings = $db->getSettings(); @$GLOBALS['panel_language'] = $settings['panel_language']; -ogpLang(); +gspLang(); require_once("includes/view.php"); $view = new OGPView(); diff --git a/includes/api_functions.php b/includes/api_functions.php index 496e5b41..3437fb8a 100644 --- a/includes/api_functions.php +++ b/includes/api_functions.php @@ -91,7 +91,7 @@ function get_start_cmd($user_info,$remote,$server_xml,$home_info,$mod_id,$ip,$po $cli_param_data['IP'] = $ip; $cli_param_data['PORT'] = $port; $cli_param_data['HOSTNAME'] = $home_info['home_name']; - $cli_param_data['PID_FILE'] = "ogp_game_startup.pid"; + $cli_param_data['PID_FILE'] = "gsp_game_startup.pid"; // Linux if( preg_match("/Linux/", $os) ) diff --git a/includes/database_mysqli.php b/includes/database_mysqli.php index 0631a244..97921cef 100644 --- a/includes/database_mysqli.php +++ b/includes/database_mysqli.php @@ -3762,7 +3762,7 @@ class GSPDatabaseMySQL extends GSPDatabase case 'server': require_once('includes/lib_remote.php'); $home_info = $this->getGameHomeWithoutMods($home_id); - $remote = new OGPRemoteLibrary($home_info['agent_ip'], $home_info['agent_port'], $home_info['encryption_key'], $home_info['timeout']); + $remote = new GSPRemoteLibrary($home_info['agent_ip'], $home_info['agent_port'], $home_info['encryption_key'], $home_info['timeout']); $agent_online = $remote->status_chk() === 1; if( $agent_online ) { diff --git a/includes/form_table_class.php b/includes/form_table_class.php index f9ef27a4..dc0c59b7 100644 --- a/includes/form_table_class.php +++ b/includes/form_table_class.php @@ -112,7 +112,7 @@ class FormTable { print_failure(get_lang_f('invalid_setting_type',$type)); } - if ( defined("OGP_LANG_".$name."_info") ) + if ( defined("GSP_LANG_".$name."_info") ) { echo "
".str_replace("'",'"',get_lang($name."_info"))."
"; $this->i++; @@ -128,7 +128,7 @@ class FormTable { echo ""; echo "".$data."\n"; - if ( defined("OGP_LANG_".$name."_info") ) + if ( defined("GSP_LANG_".$name."_info") ) { echo "
".str_replace("'",'"',get_lang($name."_info"))."
\n\n"; $this->i++; diff --git a/includes/functions.php b/includes/functions.php index 5cf4cbd1..2e285c07 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -1047,7 +1047,7 @@ function deleteMysqlAddonDatabasesForGameServerHome($home_id){ if($mysql_db['remote_server_id'] != "0") { $remote_server = $db->getRemoteServer($mysql_db['remote_server_id']); - $remote = new OGPRemoteLibrary($remote_server['agent_ip'],$remote_server['agent_port'],$remote_server['encryption_key'],$remote_server['timeout']); + $remote = new GSPRemoteLibrary($remote_server['agent_ip'],$remote_server['agent_port'],$remote_server['encryption_key'],$remote_server['timeout']); $host_stat = $remote->status_chk(); if($host_stat === 1 ) { diff --git a/includes/helpers.php b/includes/helpers.php index 463a9fe0..7f90a812 100644 --- a/includes/helpers.php +++ b/includes/helpers.php @@ -4,7 +4,7 @@ */ // Globals -$OGPLangPre = "OGP_LANG_"; +$GSPLangPre = "GSP_LANG_"; // Ignore any request with unwanted values at 'm' or 'p' if( isset($_REQUEST['m']) and !preg_match("/^([a-z]|[0-9]|_|-)+$/i", $_REQUEST['m']) ) @@ -457,12 +457,12 @@ function getGitHubOrganization($gitHubURL){ } function getOGPLangConstantsJSON(){ - global $OGPLangPre; + global $GSPLangPre; $finalConsts = array(); $consts = get_defined_constants(true); foreach($consts["user"] as $key => $value){ - if(startsWith($key, $OGPLangPre)){ + if(startsWith($key, $GSPLangPre)){ $finalConsts[$key] = $value; } } diff --git a/includes/lang.php b/includes/lang.php index 219e10ae..1e96e1c4 100644 --- a/includes/lang.php +++ b/includes/lang.php @@ -17,11 +17,11 @@ function add_lang_module($lang_module) { global $lang_modules; array_push($lang_modules,$lang_module); - // Need to reload langs if module is added after the first ogpLang call. - ogpLang(); + // Need to reload langs if module is added after the first gspLang call. + gspLang(); } -function ogpLang() +function gspLang() { global $lang_modules; $locale_files = makefilelist("lang/", ".|..|.svn", true, "folders"); @@ -68,15 +68,15 @@ function ogpLang() function get_lang($lang_index) { - global $OGPLangPre; + global $GSPLangPre; if (defined($lang_index)) { return constant($lang_index); } - if(!startsWith($lang_index, $OGPLangPre)){ - $newLangIndex = $OGPLangPre . $lang_index; + if(!startsWith($lang_index, $GSPLangPre)){ + $newLangIndex = $GSPLangPre . $lang_index; if (defined($newLangIndex)) { return constant($newLangIndex); @@ -89,7 +89,7 @@ function get_lang($lang_index) function get_lang_f() { - global $OGPLangPre; + global $GSPLangPre; $args = func_get_args(); $lang_index = array_shift($args); @@ -98,8 +98,8 @@ function get_lang_f() return vsprintf(constant($lang_index),$args); } - if(!startsWith($lang_index, $OGPLangPre)){ - $newLangIndex = $OGPLangPre . $lang_index; + if(!startsWith($lang_index, $GSPLangPre)){ + $newLangIndex = $GSPLangPre . $lang_index; if (defined($newLangIndex)) { return vsprintf(constant($newLangIndex),$args); diff --git a/includes/lib_remote.php b/includes/lib_remote.php index 9c438e2e..3f9a7acc 100644 --- a/includes/lib_remote.php +++ b/includes/lib_remote.php @@ -6,12 +6,12 @@ require_once("Crypt/XXTEA.php"); // Screen type for servers -define("OGP_SCREEN_TYPE_HOME","HOME"); -define("OGP_SCREEN_TYPE_UPDATE","UPDATE"); +define("GSP_SCREEN_TYPE_HOME","HOME"); +define("GSP_SCREEN_TYPE_UPDATE","UPDATE"); define("AGENT_ERROR_NOT_EXECUTABLE",-13); -class OGPRemoteLibrary +class GSPRemoteLibrary { private $port; private $host; diff --git a/includes/navig.php b/includes/navig.php index 5ad8425c..83c0ecfa 100644 --- a/includes/navig.php +++ b/includes/navig.php @@ -78,13 +78,13 @@ function navigation() { include_once( $include_file ); - if ( !function_exists( 'exec_ogp_module' ) ) + if ( !function_exists( 'exec_gsp_module' ) ) { print_failure("Missing module execute function."); return; } - exec_ogp_module(); + exec_gsp_module(); return; } print_failure("Invalid subpage given."); @@ -94,12 +94,12 @@ function navigation() { else if ( is_file( MODULES.$_REQUEST['m'].'/'.$_REQUEST['m'].'.php') ) { include( MODULES.$_REQUEST['m'].'/'.$_REQUEST['m'].'.php'); - if ( !function_exists( 'exec_ogp_module' ) ) + if ( !function_exists( 'exec_gsp_module' ) ) { print_failure("Missing module execute function."); return; } - exec_ogp_module(); + exec_gsp_module(); } // If files above are not found then we print an error. else diff --git a/includes/view.php b/includes/view.php index e5834bb5..153bafa9 100644 --- a/includes/view.php +++ b/includes/view.php @@ -29,7 +29,7 @@ class OGPView { function menu(){} function printView($cleared = false, $dataType = "html") { - global $db, $OGPLangPre; + global $db, $GSPLangPre; if ( is_object($db) && array_key_exists( "GSPDatabase", class_parents($db) ) ) { $panel_settings = $db->getSettings(); @@ -82,7 +82,7 @@ class OGPView { // Dump defined constants to json (for language javascript) $jsonStrConsts = getOGPLangConstantsJSON(); if($jsonStrConsts !== false){ - $this->header_code .= '' . "\n"; + $this->header_code .= '' . "\n"; } // Include jQuery, jQuery UI, and our global CSS file in the header code @@ -197,7 +197,7 @@ class OGPView { if ( is_object($db) && array_key_exists( "GSPDatabase", class_parents($db) ) ) { $footer .= "
"; $footer .= get_lang_f('cur_theme', !empty($_SESSION['users_theme']) ? $_SESSION['users_theme'] : @$panel_settings['theme']) . " - " . $db->getNbOfQueries()." ".get_lang('queries_executed'); - $footer .= "
".get_lang('copyright')." © Open Game Panel " . date("Y") . " - ".get_lang('all_rights_reserved')." - ".get_lang('show_version')."
" . get_lang('version') . ":  ".@$panel_settings['ogp_version']."
"; + $footer .= "
".get_lang('copyright')." © GameServer Panel " . date("Y") . " - ".get_lang('all_rights_reserved')." - ".get_lang('show_version')."
" . get_lang('version') . ":  ".@$panel_settings['gsp_version']."
"; } else { diff --git a/index.php b/index.php index 034b53d9..17b7b284 100644 --- a/index.php +++ b/index.php @@ -43,7 +43,7 @@ $db = createDatabaseConnection($db_type, $db_host, $db_user, $db_pass, $db_name, include_once("includes/lang.php"); if (!$db instanceof GSPDatabase) { - ogpLang(); + gspLang(); die(get_lang('no_db_connection')); } @@ -54,7 +54,7 @@ if(hasValue($_SESSION['user_id'])){ $settings = $db->getSettings(); @$GLOBALS['panel_language'] = $settings['panel_language']; -ogpLang(); +gspLang(); require_once("includes/view.php"); $view = new OGPView(); diff --git a/modules/TS3Admin/TS3Admin.php b/modules/TS3Admin/TS3Admin.php index 61e78876..2ea516f3 100644 --- a/modules/TS3Admin/TS3Admin.php +++ b/modules/TS3Admin/TS3Admin.php @@ -3,7 +3,7 @@ * Administrative interface for the ts3admin module */ -function exec_ogp_module() +function exec_gsp_module() { $templates_folder = 'modules/TS3Admin/templates_c'; if( is_writable( $templates_folder ) ) diff --git a/modules/TS3Admin/templates_c/%%F7^F7F^F7F34188%%header.tpl.php b/modules/TS3Admin/templates_c/%%F7^F7F^F7F34188%%header.tpl.php index f01433f0..ccc499e9 100644 --- a/modules/TS3Admin/templates_c/%%F7^F7F^F7F34188%%header.tpl.php +++ b/modules/TS3Admin/templates_c/%%F7^F7F^F7F34188%%header.tpl.php @@ -3,25 +3,25 @@