Phase 4: Update documentation and remaining user-facing content
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
d692485a08
commit
0ea24764e3
56 changed files with 101 additions and 101 deletions
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -224,9 +224,9 @@ function exec_ogp_module()
|
|||
}
|
||||
|
||||
// GitHub URL
|
||||
if(function_exists("getOGPGitHubURLUnstrict") && function_exists("getGitHubOrganization")){
|
||||
if(function_exists("getGSPGitHubURLUnstrict") && function_exists("getGitHubOrganization")){
|
||||
$gitHubUsername = $settings["custom_github_update_username"];
|
||||
$gitHubURL = getOGPGitHubURLUnstrict($gitHubUsername);
|
||||
$gitHubURL = getGSPGitHubURLUnstrict($gitHubUsername);
|
||||
$gitHubOrganization = getGitHubOrganization($gitHubURL);
|
||||
}else{
|
||||
$gitHubURL = "https://github.com/OpenGamePanel/";
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ function exec_gsp_module()
|
|||
'<input class=search name=search id=search type=text placeholder="Search"/></div><br></div>';
|
||||
|
||||
require 'modules/faq/rss_php.php';
|
||||
$url = 'https://opengamepanel.org/faq/rss.php';
|
||||
$url = 'https://gameserver-panel.org/faq/rss.php';
|
||||
$local_copy = 'modules/faq/faq.rss'; ## Relative path
|
||||
$save_as = realpath('modules' . DIRECTORY_SEPARATOR . 'faq') . DIRECTORY_SEPARATOR . 'faq.rss';
|
||||
## Full path (adding the filename to realpath would fail if the file does not exists yet)
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ if(function_exists("getClientIPAddress")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ if(file_exists("includes/helpers.php")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ if(file_exists("includes/helpers.php")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ require_once("modules/config_games/server_config_parser.php");
|
|||
}
|
||||
elseif ($log_retval == 1 || $log_retval == 2)
|
||||
{
|
||||
// Force log file contents to be UTF-8 (fixes http://www.opengamepanel.org/forum/viewthread.php?thread_id=5379)
|
||||
// Force log file contents to be UTF-8 (fixes http://www.gameserver-panel.org/forum/viewthread.php?thread_id=5379)
|
||||
if(hasValue($home_log)){
|
||||
$home_log = utf8_encode($home_log);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ function update_local_copies()
|
|||
}
|
||||
echo "Updating local cache of rsync meta data files<br>";
|
||||
$update_files = array('sizes.list', 'rsync.list', 'rsync_sites.list');
|
||||
$update_urls = array('rsync.opengamepanel.org', 'dls.atl.webehostin.com');
|
||||
$update_urls = array('rsync.gameserver-panel.org', 'dls.atl.webehostin.com');
|
||||
|
||||
$context = array(
|
||||
'ssl' => array(
|
||||
|
|
@ -331,9 +331,9 @@ function exec_gsp_module() {
|
|||
{
|
||||
if(!is_file("modules/gamemanager/rsync.list"))
|
||||
{
|
||||
print_failure("Trouble accessing http://www.opengamepanel.org/rsync.list<br>".
|
||||
"Make sure allow_fopen_url is set to \"On\" in your php.ini and opengamepanel.org is online<br>".
|
||||
"In the mean time, you can get a local copy of the file by running wget http://www.opengamepanel.org/sync_data/rsync.list -O /path/to/ogpweb/modules/gamemanager/rsync.list");
|
||||
print_failure("Trouble accessing http://www.gameserver-panel.org/rsync.list<br>".
|
||||
"Make sure allow_fopen_url is set to \"On\" in your php.ini and gameserver-panel.org is online<br>".
|
||||
"In the mean time, you can get a local copy of the file by running wget http://www.gameserver-panel.org/sync_data/rsync.list -O /path/to/ogpweb/modules/gamemanager/rsync.list");
|
||||
return;
|
||||
}
|
||||
# print_failure("Error loading rsync.list");
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ function exec_gsp_module()
|
|||
}
|
||||
elseif ($log_retval == 1 || $log_retval == 2)
|
||||
{
|
||||
// Force log file contents to be UTF-8 (fixes http://www.opengamepanel.org/forum/viewthread.php?thread_id=5379)
|
||||
// Force log file contents to be UTF-8 (fixes http://www.gameserver-panel.org/forum/viewthread.php?thread_id=5379)
|
||||
if(hasValue($home_log)){
|
||||
$home_log = utf8_encode($home_log);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ if(file_exists("includes/helpers.php")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Module-News
|
||||
Simple news module for OGP
|
||||
Simple news module for GSP
|
||||
|
||||
Based on News Lister from www.netartmedia.net/
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
// Check http://www.netartmedia.net/newslister for demos and information
|
||||
// Released under the MIT license
|
||||
|
||||
session_name('opengamepanel_web');
|
||||
session_name('gameserver-panel_web');
|
||||
session_start();
|
||||
|
||||
$output_dir = "uploads/";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ function exec_gsp_module()
|
|||
global $view;
|
||||
|
||||
// GitHub URL
|
||||
if(function_exists("getOGPGitHubURL") && function_exists("getOGPGitHubURLUnstrict")){
|
||||
if(function_exists("getGSPGitHubURL") && function_exists("getGSPGitHubURLUnstrict")){
|
||||
$gitHubUsername = $settings["custom_github_update_username"];
|
||||
$gitHubURL = getOGPGitHubURL($gitHubUsername, REPONAME);
|
||||
$gitHubURL = getGSPGitHubURL($gitHubUsername, REPONAME);
|
||||
}else{
|
||||
$gitHubURL = "https://github.com/OpenGamePanel/";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue