From 3017533fdec599789ae890db132737f8dfd0e0d0 Mon Sep 17 00:00:00 2001 From: Bruce Allen Date: Mon, 24 Jan 2005 14:45:51 +0000 Subject: [PATCH] From Christian Beer -- restore missing project_footer() function. svn path=/trunk/boinc/; revision=5193 --- checkin_notes | 5 +++-- html/project.sample/project.inc | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index adbf16c0a3..3430eead3e 100755 --- a/checkin_notes +++ b/checkin_notes @@ -23183,11 +23183,12 @@ Janus 23 Jan 2005 Bruce 24 Jan 2005 - Fixes from Christian Beer for ops pages to approve profiles and to errors in the previous 20/next 20 links when 'additional - clauses' is non-empty. + clauses' is non-empty. Restore missing project_footer() function. html/ inc/ db_ops.inc profile.inc - + project.sample/ + project.inc diff --git a/html/project.sample/project.inc b/html/project.sample/project.inc index d0a00c2681..7f4e013cce 100644 --- a/html/project.sample/project.inc +++ b/html/project.sample/project.inc @@ -29,6 +29,17 @@ function project_banner($title) { "; } +function project_footer($show_return, $show_date) { + echo "

"; + if ($show_return) { + echo "Return to ".PROJECT." main page
\n"; + } + echo "

Copyright © ".date("Y ").COPYRIGHT_HOLDER."
\n"; + if ($show_date) { + echo "Generated ",time_str(time()),"\n"; + } +} + // NOTE: These functions appear here and not in profile.inc because they contain // project-specific information that needs to be set by the project administrators.