From 0a46a892b8d3715377448410b8c633e9394d3ffd Mon Sep 17 00:00:00 2001 From: Frank Harris Date: Mon, 10 Nov 2025 12:16:04 -0500 Subject: [PATCH] updated timestamps --- .github/copilot-instructions.md | 6 ++++++ modules/billing/includes/footer.php | 9 +++++++++ modules/billing/timestamp.txt | 1 + themes/AdminLTE-2/bottom.html | 5 ++++- themes/AdminLTE/bottom.html | 5 ++++- themes/MasterControlProgram/bottom.html | 3 +++ themes/Revolution-Light/bottom.html | 7 +++++-- themes/Revolution/bottom.html | 12 +++++++----- themes/Revolution/last_updated.php | 7 +++++++ themes/SimpleBootstrap/bottom.html | 3 +++ 10 files changed, 49 insertions(+), 9 deletions(-) create mode 100644 modules/billing/timestamp.txt create mode 100644 themes/Revolution/last_updated.php diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index e115fa61..c50cb667 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -171,5 +171,11 @@ Testing checklist: - After making a small edit and deploying, confirm the timestamp updates to the new edit time. - If using automated deploys, ensure the deploy process preserves or updates the canonical timestamp source (e.g., touch file, update metadata) so the displayed value is accurate. +Maintainer update requirement: +- The canonical human-friendly timestamp is stored in `modules/billing/timestamp.txt` and MUST be updated whenever site files or content are edited and deployed. +- Format and wording: use a single-line plain-text entry such as: "Last Updated at 7:25am on 2025-15-11". This exact text (including capitalization) is what appears in theme footers. +- Update process: include the `timestamp.txt` change in the same commit/PR as any content change that should alter the "Last Updated" time, or ensure your deployment process updates the file automatically (for example, a post-deploy hook that writes the current deploy time in the agreed format). +- Rationale: themes are non-PHP files and may not support SSI on all servers; keeping a single canonical plain-text file reduces duplication and avoids server-side includes. + **End of Copilot Instructions (No-Code).** diff --git a/modules/billing/includes/footer.php b/modules/billing/includes/footer.php index b174055a..e6456ebe 100644 --- a/modules/billing/includes/footer.php +++ b/modules/billing/includes/footer.php @@ -4,6 +4,15 @@ diff --git a/modules/billing/timestamp.txt b/modules/billing/timestamp.txt new file mode 100644 index 00000000..7abbabc3 --- /dev/null +++ b/modules/billing/timestamp.txt @@ -0,0 +1 @@ +Last Updated at 7:25am on 2025-15-11 diff --git a/themes/AdminLTE-2/bottom.html b/themes/AdminLTE-2/bottom.html index e3c13425..f9d7381a 100644 --- a/themes/AdminLTE-2/bottom.html +++ b/themes/AdminLTE-2/bottom.html @@ -3,4 +3,7 @@ \ No newline at end of file + +
+ Last Updated at 7:25am on 2025-15-11 +
\ No newline at end of file diff --git a/themes/AdminLTE/bottom.html b/themes/AdminLTE/bottom.html index e3c13425..f9d7381a 100644 --- a/themes/AdminLTE/bottom.html +++ b/themes/AdminLTE/bottom.html @@ -3,4 +3,7 @@ \ No newline at end of file + +
+ Last Updated at 7:25am on 2025-15-11 +
\ No newline at end of file diff --git a/themes/MasterControlProgram/bottom.html b/themes/MasterControlProgram/bottom.html index 378f855b..94b0216b 100644 --- a/themes/MasterControlProgram/bottom.html +++ b/themes/MasterControlProgram/bottom.html @@ -1,5 +1,8 @@ diff --git a/themes/Revolution-Light/bottom.html b/themes/Revolution-Light/bottom.html index 85ea5865..373b1c62 100644 --- a/themes/Revolution-Light/bottom.html +++ b/themes/Revolution-Light/bottom.html @@ -57,7 +57,10 @@ - \ No newline at end of file + +
+ Last Updated at 7:25am on 2025-15-11 +
\ No newline at end of file diff --git a/themes/Revolution/bottom.html b/themes/Revolution/bottom.html index 5ccac6a9..5c888c28 100644 --- a/themes/Revolution/bottom.html +++ b/themes/Revolution/bottom.html @@ -2,11 +2,9 @@ + + +
+ Last Updated at 7:25am on 2025-15-11 +
+ diff --git a/themes/Revolution/last_updated.php b/themes/Revolution/last_updated.php new file mode 100644 index 00000000..b30d6c9a --- /dev/null +++ b/themes/Revolution/last_updated.php @@ -0,0 +1,7 @@ + +// +// No runtime output produced by this file. + diff --git a/themes/SimpleBootstrap/bottom.html b/themes/SimpleBootstrap/bottom.html index 8e211874..d30d082d 100644 --- a/themes/SimpleBootstrap/bottom.html +++ b/themes/SimpleBootstrap/bottom.html @@ -8,3 +8,6 @@ Join our Discord server for support and any questions
+
+ Last Updated at 7:25am on 2025-15-11 +