git: 73edb7a45f - main - ports.cgi: simplify footer

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=73edb7a45f23a55877fb4518160a1cf8a471ddb9

commit 73edb7a45f23a55877fb4518160a1cf8a471ddb9
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2026-01-19 18:42:58 +0000
Commit:     Wolfram Schneider <[email protected]>
CommitDate: 2026-01-19 19:08:01 +0000

    ports.cgi: simplify footer
---
 website/content/en/cgi/ports.cgi | 28 ++++++----------------------
 1 file changed, 6 insertions(+), 22 deletions(-)

diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index 96a3a8519f..77f359a861 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -81,7 +81,7 @@ sub init_variables {
     $mailto = '[email protected]';
 
     # Mailinglist for FreeBSD Ports
-    $mailtoList = '[email protected]';
+    $mailtoList = '[email protected]';
 
     # use mailto:email?subject
     $mailtoAdvanced = 'yes';
@@ -420,24 +420,6 @@ Search for:
 
 }
 
-sub footer {
-
-    print <<EOF;
-<span class="footer_links">
-  <img align="right" src="$hsty_base/gifs/powerlogo.gif" alt="Powered by FreeBSD"/>
-  &copy; 1996-2026 by Wolfram Schneider. All rights reserved.<br/>
-
-  General questions about FreeBSD ports should be sent to 
-  <a href="mailto:$mailtoList"><i>$mailtoList</i></a><br/>
-
-  @{[ &last_update_message ]}
-</span>
-<hr noshade="noshade" />
-<p/>
-
-EOF
-}
-
 sub check_query {
     my ( $query, $sourceid ) = @_;
 
@@ -546,6 +528,11 @@ Copyright (c) 1996-2026 <a href="https://wolfram.schneider.org">Wolfram Schneide
 </pre>
 <p/>
 
+<h2>Questions</h2>
+<p>
+General questions about FreeBSD ports should be sent to 
+<a href="mailto:$mailtoList">$mailtoList</a>
+</p>
 
 @{[ &footer_links ]}
 <hr noshade="noshade" />
@@ -591,7 +578,6 @@ if ( $path_info eq "/source" ) {
 if ( $stype eq "help" ) {
     print &short_html_header( "FreeBSD Ports Search Help", 1 );
     &help;
-    &footer;
     print &html_footer;
     &exit(0);
 }
@@ -611,7 +597,6 @@ $query = &check_query( $query, $sourceid );
 &forms;
 
 if ( $query_string eq "" || !$query ) {
-    &footer;
     print &html_footer;
     &exit(0);
 }
@@ -653,5 +638,4 @@ else {
 }
 
 print qq{<hr noshade="noshade" />\n};
-&footer;
 print &html_footer;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.