]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Working out the footer display
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Tue, 26 Aug 2025 11:12:31 +0000 (07:12 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Tue, 26 Aug 2025 11:12:31 +0000 (07:12 -0400)
.gitignore
www/mailleur.php
www/release.in [new file with mode: 0644]
www/release.php [deleted file]
www/scrfun.php

index 7577b88fd48af2d72398ce73b8f03b6258d6f9a2..804ba00385ab52de54ea2cb1e0e054c3097fa1d4 100644 (file)
@@ -7,3 +7,4 @@ data-sorter2/
 bin
 shared/
 lib/numver.h
+www/release.php
index 0f276c0de56de373bc109ccfcde600011813cd6d..52ad151d55910b75dae5964fee771777d7f0d072 100644 (file)
@@ -15,7 +15,7 @@ Mailleur
 <?php
 //including screen function
 include "scrfun.php";
-footer("MAIN-1");
+footer("P:mailleur");
 
 ?>
 
diff --git a/www/release.in b/www/release.in
new file mode 100644 (file)
index 0000000..d83c45d
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+//Information about application PHP data
+
+//release information
+$m_version=VERSION;
+$m_release=NEXTREL;
+$m_branch=BRANCH;
+$m_release=MAILREL;
+
+//constant
+$copyright="&copy; 2005-2025 S.A.F.E. Inc."
+
+?>
diff --git a/www/release.php b/www/release.php
deleted file mode 100644 (file)
index 7294a07..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-$m_version="0.15";
-$m_release="17";
-$m_branch="dvl";
-$m_release="0.15-17-dvl";
-?>
index 07e3bdfba1c9f7a1803d8b9ea2a87feca5c54c13..d26dc44f012227300a431f372b8b170d6d71bc66 100644 (file)
@@ -17,7 +17,10 @@ function footer($pageref)
 {
 include        "release.php";
 
+$today=date("D M d H:i:s Y");
+
 $STR  = <<<EOD
+<TR>
 <TD height="13"><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
 <TR>
 <TD width="2%" background="/reg-icons/bottom-adm_02.gif">
@@ -27,11 +30,26 @@ $STR  = <<<EOD
 <IMG SRC="/reg-icons/bottom-adm_03.gif" WIDTH=20 HEIGHT=10 ALT="">
 </TD>
 </TR>
+</TABLE></TD>
+</TR
+
+<TR>
+<TD height="13">
+<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
+<TD height="30"  width="30%" align="left"  valign="bottom" class="smalltxt10">
+$pageref, Version: $m_release
+</TD>
+<TD height="30"  width="40%" align="center" class="smalltxt10">
+$copyright
 </TD>
+<TD height="30" width="30%" align="right"  valign="bottom" class="smalltxt10">
+$today
+</TABLE></TD>
+</TR
+
 EOD;
 
 echo ("$STR\n");
-echo ("$pageref Version:$m_release\n");
 }