Polish workshop helper ordering and docs wording consistency
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/1575c81b-f8a7-433a-8f3b-e068c0992c18 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
fff379edd8
commit
cc306ca355
4 changed files with 11 additions and 10 deletions
|
|
@ -20,7 +20,6 @@ $docsDir = __DIR__ . '/docs';
|
||||||
$action = $_GET['action'] ?? 'list';
|
$action = $_GET['action'] ?? 'list';
|
||||||
$doc = $_GET['doc'] ?? '';
|
$doc = $_GET['doc'] ?? '';
|
||||||
$docsPagePath = '/docs.php';
|
$docsPagePath = '/docs.php';
|
||||||
$pageTitle = 'Documentation - GSP';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get all documentation folders with their metadata
|
* Get all documentation folders with their metadata
|
||||||
|
|
@ -139,7 +138,7 @@ uksort($grouped, function($a, $b) use ($categoryOrder) {
|
||||||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
|
||||||
<meta http-equiv="Pragma" content="no-cache">
|
<meta http-equiv="Pragma" content="no-cache">
|
||||||
<meta http-equiv="Expires" content="0">
|
<meta http-equiv="Expires" content="0">
|
||||||
<title><?php echo htmlspecialchars($pageTitle, ENT_QUOTES, 'UTF-8'); ?></title>
|
<title><?php echo htmlspecialchars('Documentation - GSP', ENT_QUOTES, 'UTF-8'); ?></title>
|
||||||
<link rel="stylesheet" href="css/header.css">
|
<link rel="stylesheet" href="css/header.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<p>Once your payment is processed, you'll receive:</p>
|
<p>Once your payment is processed, you'll receive:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>A confirmation email with your server details</li>
|
<li>A confirmation email with your server details</li>
|
||||||
<li>Access to your control panel login URL (provided in your service email)</li>
|
<li>Access to your control panel login URL (provided in your confirmation email)</li>
|
||||||
<li>FTP credentials for file management</li>
|
<li>FTP credentials for file management</li>
|
||||||
<li>Server IP address and port</li>
|
<li>Server IP address and port</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -362,6 +362,8 @@ function sw_get_server_settings($db, $home_id)
|
||||||
if ($rows && isset($rows[0]) && is_array($rows[0])) {
|
if ($rows && isset($rows[0]) && is_array($rows[0])) {
|
||||||
$settings = $rows[0];
|
$settings = $rows[0];
|
||||||
|
|
||||||
|
// Runtime normalization is kept as a fallback for legacy/manual rows that
|
||||||
|
// were not updated via module migrations.
|
||||||
$legacyUpdateMap = array(
|
$legacyUpdateMap = array(
|
||||||
'scheduled' => 'manual',
|
'scheduled' => 'manual',
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -33,13 +33,6 @@ if (!function_exists('sw_module_db_prefix')) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists('sw_module_table')) {
|
|
||||||
function sw_module_table($table)
|
|
||||||
{
|
|
||||||
return '`' . sw_module_table_name($table) . '`';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!function_exists('sw_module_table_name')) {
|
if (!function_exists('sw_module_table_name')) {
|
||||||
function sw_module_table_name($table)
|
function sw_module_table_name($table)
|
||||||
{
|
{
|
||||||
|
|
@ -52,6 +45,13 @@ if (!function_exists('sw_module_table_name')) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!function_exists('sw_module_table')) {
|
||||||
|
function sw_module_table($table)
|
||||||
|
{
|
||||||
|
return '`' . sw_module_table_name($table) . '`';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$install_queries = array();
|
$install_queries = array();
|
||||||
|
|
||||||
$legacyDrops = array(
|
$legacyDrops = array(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue