From 8d0568616feecbe8f88d9c608e1a0ff251cda3c5 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Tue, 26 Aug 2025 15:43:30 -0400 Subject: [PATCH] Trying to see if we post from starting --- mailleur.spec.in | 2 +- www/home.php | 39 +++++++++++++++++++++++++++++++++++++++ www/mailleur.php | 12 +++--------- www/scrfun.php | 4 ++++ 4 files changed, 47 insertions(+), 10 deletions(-) create mode 100644 www/home.php diff --git a/mailleur.spec.in b/mailleur.spec.in index c2a72c1..3cc6c54 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -127,7 +127,7 @@ if [ ! "$(getent passwd %{name})" ]; then %post OS=`%{_libdir}/%{name}/shell/getsysos.sh` ln -nsf \ - ./%{name}.php \ + ./home.php \ %{_var}/www/%{name}/index.php \ if [ "$1" = 1 ]; then diff --git a/www/home.php b/www/home.php new file mode 100644 index 0000000..f69bd3e --- /dev/null +++ b/www/home.php @@ -0,0 +1,39 @@ + + + +Starting + + + +
+Mailleur +
+$login +$footer + + +EOT; + +return $STR; +} + +//display main screen +echo body(); +?> + + + diff --git a/www/mailleur.php b/www/mailleur.php index dd20d69..b6c03d5 100644 --- a/www/mailleur.php +++ b/www/mailleur.php @@ -4,14 +4,10 @@ function body() { -//including screen function -// -include "scrfun.php"; - -$footer=footer("P:mailleur"); -$login=login(); +$footer=footer("_mailleur_"); $STR = << Mailleur @@ -19,10 +15,8 @@ $STR = <<
-Mailleur +Within mailleur
-$login -$footer EOT; diff --git a/www/scrfun.php b/www/scrfun.php index 0b0a2d6..b09d237 100644 --- a/www/scrfun.php +++ b/www/scrfun.php @@ -73,6 +73,7 @@ $STR = << +
@@ -102,11 +103,14 @@ $STR = <<
Email:
+
+
+
EOT; -- 2.47.3