From 293e1e1e12f09774f08742beabe6dd8b2de61292 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Tue, 8 Apr 2025 10:07:13 -0700 Subject: [PATCH] refactor: extract global elements from DefaultPageLayout.php into MiscElements.php for improved organization and maintainability --- .../dynamix/include/DefaultPageLayout.php | 14 ++++------- .../DefaultPageLayout/MiscElements.php | 24 +++++++++++++++++++ 2 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 emhttp/plugins/dynamix/include/DefaultPageLayout/MiscElements.php diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout.php b/emhttp/plugins/dynamix/include/DefaultPageLayout.php index ef0ceccf3..4733b9737 100644 --- a/emhttp/plugins/dynamix/include/DefaultPageLayout.php +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout.php @@ -157,13 +157,9 @@ if (isset($myPage['Load'])) {
- + - - - -
-
-
- - - + + + diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout/MiscElements.php b/emhttp/plugins/dynamix/include/DefaultPageLayout/MiscElements.php new file mode 100644 index 000000000..099e87f50 --- /dev/null +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout/MiscElements.php @@ -0,0 +1,24 @@ + + + + + + + +
+ +
+ + \ No newline at end of file