From a53ef75a3f7b9a8fffdc4b4f453b78dfef2bcf3d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 17 Sep 2008 19:35:50 +0000 Subject: [PATCH] Backlink now set in copyright_backlink template, revision (Rxxx) added to copyright templates --- inc/databases.php | 2 +- inc/footer.php | 9 ++++++++- templates/de/html/copyright.tpl | 2 +- templates/de/html/copyright_backlink.tpl | 15 +++++++++------ 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 99964d830b..4c69af42b8 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "353"); +define('CURR_SVN_REVISION', "354"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/footer.php b/inc/footer.php index ed888b4469..6d4b63cdd2 100644 --- a/inc/footer.php +++ b/inc/footer.php @@ -52,7 +52,14 @@ if (($footer != "1") && ($footer != "2") && ($CSS != "1")) { // Shall we display the copyright notice? if ((empty($frame)) && (empty($_GET['frame'])) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (isBooleanConstantAndTrue('WRITE_FOOTER')) && ($header == "2")) { - LOAD_TEMPLATE("copyright"); + // Backlink enabled? + if (isBooleanConstantAndTrue('ENABLE_BACKLINK')) { + // Copyright with backlink, thanks! :-) + LOAD_TEMPLATE("copyright_backlink"); + } else { + // No backlink in Copyright note + LOAD_TEMPLATE("copyright"); + } } // END - if // Shall we display the parsing time and number of queries? diff --git a/templates/de/html/copyright.tpl b/templates/de/html/copyright.tpl index 7d443f2bd8..7efa31d3a4 100644 --- a/templates/de/html/copyright.tpl +++ b/templates/de/html/copyright.tpl @@ -1,7 +1,7 @@