Rename display text to GNIZA Backup Manager across all WHM pages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,9 +20,9 @@ unless (GnizaWHM::UI::is_configured()) {
|
|||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
|
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Dashboard', '', '/cgi/gniza-whm/index.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Dashboard', '', '/cgi/gniza-whm/index.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('gniza Backup Manager');
|
print GnizaWHM::UI::page_header('GNIZA Backup Manager');
|
||||||
print GnizaWHM::UI::render_nav('index.cgi');
|
print GnizaWHM::UI::render_nav('index.cgi');
|
||||||
print GnizaWHM::UI::render_flash();
|
print GnizaWHM::UI::render_flash();
|
||||||
|
|
||||||
|
|||||||
@@ -616,7 +616,7 @@ sub test_smtp_connection {
|
|||||||
|
|
||||||
sub page_header {
|
sub page_header {
|
||||||
my ($title) = @_;
|
my ($title) = @_;
|
||||||
$title = esc($title // 'gniza Backup Manager');
|
$title = esc($title // 'GNIZA Backup Manager');
|
||||||
my $css = '';
|
my $css = '';
|
||||||
if (open my $fh, '<', $CSS_FILE) {
|
if (open my $fh, '<', $CSS_FILE) {
|
||||||
local $/;
|
local $/;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ exit;
|
|||||||
sub show_list {
|
sub show_list {
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza — Logs');
|
Whostmgr::HTMLInterface::defheader('gniza — Logs');
|
||||||
print GnizaWHM::UI::page_header('gniza Backup Manager');
|
print GnizaWHM::UI::page_header('GNIZA Backup Manager');
|
||||||
print GnizaWHM::UI::render_nav('logs.cgi');
|
print GnizaWHM::UI::render_nav('logs.cgi');
|
||||||
print GnizaWHM::UI::render_flash();
|
print GnizaWHM::UI::render_flash();
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@ sub show_file {
|
|||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza — Log Viewer');
|
Whostmgr::HTMLInterface::defheader('gniza — Log Viewer');
|
||||||
print GnizaWHM::UI::page_header('gniza Backup Manager');
|
print GnizaWHM::UI::page_header('GNIZA Backup Manager');
|
||||||
print GnizaWHM::UI::render_nav('logs.cgi');
|
print GnizaWHM::UI::render_nav('logs.cgi');
|
||||||
|
|
||||||
# Validate filename (prevents path traversal)
|
# Validate filename (prevents path traversal)
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ sub handle_test_connection {
|
|||||||
|
|
||||||
sub handle_list {
|
sub handle_list {
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Remotes', '', '/cgi/gniza-whm/remotes.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Remotes', '', '/cgi/gniza-whm/remotes.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Remote Destinations');
|
print GnizaWHM::UI::page_header('Remote Destinations');
|
||||||
print GnizaWHM::UI::render_nav('remotes.cgi');
|
print GnizaWHM::UI::render_nav('remotes.cgi');
|
||||||
@@ -314,7 +314,7 @@ sub handle_add {
|
|||||||
RENDER_ADD:
|
RENDER_ADD:
|
||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Add Remote', '', '/cgi/gniza-whm/remotes.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Add Remote', '', '/cgi/gniza-whm/remotes.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Add Remote Destination');
|
print GnizaWHM::UI::page_header('Add Remote Destination');
|
||||||
print GnizaWHM::UI::render_nav('remotes.cgi');
|
print GnizaWHM::UI::render_nav('remotes.cgi');
|
||||||
@@ -422,7 +422,7 @@ sub handle_edit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Edit Remote', '', '/cgi/gniza-whm/remotes.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Edit Remote', '', '/cgi/gniza-whm/remotes.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header("Edit Remote: " . GnizaWHM::UI::esc($name));
|
print GnizaWHM::UI::page_header("Edit Remote: " . GnizaWHM::UI::esc($name));
|
||||||
print GnizaWHM::UI::render_nav('remotes.cgi');
|
print GnizaWHM::UI::render_nav('remotes.cgi');
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ sub handle_fetch_options {
|
|||||||
|
|
||||||
sub handle_step1 {
|
sub handle_step1 {
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Restore', '', '/cgi/gniza-whm/restore.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Restore', '', '/cgi/gniza-whm/restore.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Restore from Backup');
|
print GnizaWHM::UI::page_header('Restore from Backup');
|
||||||
print GnizaWHM::UI::render_nav('restore.cgi');
|
print GnizaWHM::UI::render_nav('restore.cgi');
|
||||||
@@ -188,7 +188,7 @@ sub handle_step2 {
|
|||||||
my ($ok, $stdout, $stderr) = GnizaWHM::Runner::run('list', undef, [], { remote => $remote, account => $account });
|
my ($ok, $stdout, $stderr) = GnizaWHM::Runner::run('list', undef, [], { remote => $remote, account => $account });
|
||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Restore', '', '/cgi/gniza-whm/restore.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Restore', '', '/cgi/gniza-whm/restore.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Restore from Backup');
|
print GnizaWHM::UI::page_header('Restore from Backup');
|
||||||
print GnizaWHM::UI::render_nav('restore.cgi');
|
print GnizaWHM::UI::render_nav('restore.cgi');
|
||||||
@@ -782,7 +782,7 @@ sub handle_step3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Restore', '', '/cgi/gniza-whm/restore.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Restore', '', '/cgi/gniza-whm/restore.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Restore from Backup');
|
print GnizaWHM::UI::page_header('Restore from Backup');
|
||||||
print GnizaWHM::UI::render_nav('restore.cgi');
|
print GnizaWHM::UI::render_nav('restore.cgi');
|
||||||
@@ -979,7 +979,7 @@ sub handle_step4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Restore', '', '/cgi/gniza-whm/restore.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Restore', '', '/cgi/gniza-whm/restore.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Restore from Backup');
|
print GnizaWHM::UI::page_header('Restore from Backup');
|
||||||
print GnizaWHM::UI::render_nav('restore.cgi');
|
print GnizaWHM::UI::render_nav('restore.cgi');
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ exit;
|
|||||||
|
|
||||||
sub handle_list {
|
sub handle_list {
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Schedules', '', '/cgi/gniza-whm/schedules.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Schedules', '', '/cgi/gniza-whm/schedules.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Schedule Management');
|
print GnizaWHM::UI::page_header('Schedule Management');
|
||||||
print GnizaWHM::UI::render_nav('schedules.cgi');
|
print GnizaWHM::UI::render_nav('schedules.cgi');
|
||||||
@@ -187,7 +187,7 @@ sub handle_add {
|
|||||||
RENDER_ADD:
|
RENDER_ADD:
|
||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Add Schedule', '', '/cgi/gniza-whm/schedules.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Add Schedule', '', '/cgi/gniza-whm/schedules.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Add Schedule');
|
print GnizaWHM::UI::page_header('Add Schedule');
|
||||||
print GnizaWHM::UI::render_nav('schedules.cgi');
|
print GnizaWHM::UI::render_nav('schedules.cgi');
|
||||||
@@ -268,7 +268,7 @@ sub handle_edit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Edit Schedule', '', '/cgi/gniza-whm/schedules.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Edit Schedule', '', '/cgi/gniza-whm/schedules.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header("Edit Schedule: " . GnizaWHM::UI::esc($name));
|
print GnizaWHM::UI::page_header("Edit Schedule: " . GnizaWHM::UI::esc($name));
|
||||||
print GnizaWHM::UI::render_nav('schedules.cgi');
|
print GnizaWHM::UI::render_nav('schedules.cgi');
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ if ($method eq 'POST') {
|
|||||||
|
|
||||||
print "Content-Type: text/html\r\n\r\n";
|
print "Content-Type: text/html\r\n\r\n";
|
||||||
|
|
||||||
Whostmgr::HTMLInterface::defheader('gniza Backup Manager — Settings', '', '/cgi/gniza-whm/settings.cgi');
|
Whostmgr::HTMLInterface::defheader('GNIZA Backup Manager — Settings', '', '/cgi/gniza-whm/settings.cgi');
|
||||||
|
|
||||||
print GnizaWHM::UI::page_header('Settings');
|
print GnizaWHM::UI::page_header('Settings');
|
||||||
print GnizaWHM::UI::render_nav('settings.cgi');
|
print GnizaWHM::UI::render_nav('settings.cgi');
|
||||||
|
|||||||
Reference in New Issue
Block a user