Revert "Complete rebrand from Open Game Panel (OGP) to GameServer Panel (GSP)"

This commit is contained in:
Frank Harris 2025-09-08 12:42:34 -05:00 committed by GitHub
parent 02c94766c6
commit deee7d6ac5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
308 changed files with 1412 additions and 1412 deletions

View file

@ -3,7 +3,7 @@
* Administrative interface for the administration module
*/
function exec_gsp_module()
function exec_ogp_module()
{
global $db,$view;
echo "<h2>".get_lang('administration')."</h2>";

View file

@ -3,7 +3,7 @@
* Component of the administration module
*/
function exec_gsp_module()
function exec_ogp_module()
{
$path = getcwd()."/".$_GET['randir']."/"; // change the path to fit your websites document structure
$fullPath = $path.$_GET['dwfile'];

View file

@ -4,7 +4,7 @@
* Component of the administration module
*/
function exec_gsp_module()
function exec_ogp_module()
{
echo "<h2>".get_lang('ban_list')."</h2>";
global $db, $settings;
@ -15,10 +15,10 @@ function exec_gsp_module()
foreach($_POST as $name => $ip)
{
$ip = $db->real_escape_string($ip);
$db->query("DELETE FROM `GSP_DB_PREFIXban_list` WHERE client_ip = '$ip';");
$db->query("DELETE FROM `OGP_DB_PREFIXban_list` WHERE client_ip = '$ip';");
}
}
$ban_list = $db->resultQuery("SELECT logging_attempts, banned_until, client_ip FROM `GSP_DB_PREFIXban_list`;");
$ban_list = $db->resultQuery("SELECT logging_attempts, banned_until, client_ip FROM `OGP_DB_PREFIXban_list`;");
$ban_qty = 0;
$ban_table = '';
if($ban_list)

View file

@ -3,7 +3,7 @@
* Component of the administration module
*/
function exec_gsp_module()
function exec_ogp_module()
{
if(isset($_POST['default']))

View file

@ -11,8 +11,8 @@ $module_required = TRUE;
$module_menus = array( array( 'subpage' => 'watch_logger', 'name'=>'Watch Logger', 'group'=>'admin' ) );
$install_queries = array();
$install_queries[0] = array(
"DROP TABLE IF EXISTS `".GSP_DB_PREFIX."adminExternalLinks`;",
"CREATE TABLE IF NOT EXISTS ".GSP_DB_PREFIX."adminExternalLinks
"DROP TABLE IF EXISTS `".OGP_DB_PREFIX."adminExternalLinks`;",
"CREATE TABLE IF NOT EXISTS ".OGP_DB_PREFIX."adminExternalLinks
(
link_id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(80) NOT NULL,
@ -21,8 +21,8 @@ $install_queries[0] = array(
) ENGINE=MyISAM;");
$install_queries[1] = array(
"DROP TABLE IF EXISTS `".GSP_DB_PREFIX."logger`;",
"CREATE TABLE IF NOT EXISTS `".GSP_DB_PREFIX."logger`
"DROP TABLE IF EXISTS `".OGP_DB_PREFIX."logger`;",
"CREATE TABLE IF NOT EXISTS `".OGP_DB_PREFIX."logger`
(
`log_id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
`date` varchar(20) NOT NULL,

View file

@ -4,7 +4,7 @@
* Component of the administration module
*/
function exec_gsp_module() {
function exec_ogp_module() {
global $db, $view, $loggedInUserInfo;
$search_field = (isset($_GET['search']) && !empty($_GET['search'])) ? $_GET['search'] : false;