This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via b979c00be83b7a56dc0b5013226fca54ef8ed3de (commit)
via 6c86ab022fc92523ff39fab4cd45da7a5fe5010a (commit)
from 77c3ada8a4e81f593ef352d11de948bf900b2b3e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=b979c00be83b7a56dc0b5013226fca54ef8ed3de
commit b979c00be83b7a56dc0b5013226fca54ef8ed3de
Author: Franck Villaume <[email protected]>
Date: Tue Dec 24 12:47:39 2019 +0100
remove useless function. just use HTML->footer() directly
diff --git a/src/www/admin/pending-news.php b/src/www/admin/pending-news.php
index de75e5d..741c227 100644
--- a/src/www/admin/pending-news.php
+++ b/src/www/admin/pending-news.php
@@ -7,6 +7,7 @@
* Copyright 2010, Alain Peyrat - Alcatel-Lucent
* Copyright 2011, Roland Mas
* Copyright (C) 2012 Alain Peyrat - Alcatel-Lucent
+ * Coprygith 2019, Franck Villaume - TrivialDev
* http://fusionforge.org/
*
* This file is part of FusionForge. FusionForge is free software;
@@ -198,7 +199,7 @@ if ($approve) {
);
}
-news_footer();
+$HTML->footer();
// Local Variables:
// mode: php
diff --git a/src/www/news/admin/index.php b/src/www/news/admin/index.php
index 0ee8890..ba560af 100644
--- a/src/www/news/admin/index.php
+++ b/src/www/news/admin/index.php
@@ -5,7 +5,7 @@
* Copyright 1999-2001 (c) VA Linux Systems
* Copyright 2002-2004 (c) GForge Team
* Copyright (C) 2010 Alain Peyrat - Alcatel-Lucent
- * Copyright 2015, Franck Villaume
+ * Copyright 2015,2019, Franck Villaume
* http://fusionforge.org/
*
* This file is part of FusionForge. FusionForge is free software;
@@ -188,7 +188,7 @@ if ($group_id && $group_id != GROUP_IS_NEWS) {
}
}
- news_footer();
+ $HTML->footer();
} else { // No group, or newsadmin group
session_redirect('/admin/pending-news.php');
diff --git a/src/www/news/index.php b/src/www/news/index.php
index 9c010ff..67bda16 100644
--- a/src/www/news/index.php
+++ b/src/www/news/index.php
@@ -4,6 +4,7 @@
*
* Copyright 1999-2001 (c) VA Linux Systems
* Copyright 2002-2004 (c) GForge Team
+ * Copyright 2019, Franck Villaume - TrivialDev
* http://fusionforge.org/
*
* This file is part of FusionForge. FusionForge is free software;
@@ -80,7 +81,7 @@ if ($rows < 1) {
echo news_show_latest($group_id,10,true,false,false,-1, true);
}
-news_footer();
+$HTML->footer();
// Local Variables:
// mode: php
diff --git a/src/www/news/news_utils.php b/src/www/news/news_utils.php
index 3c9e61f..ea3b690 100644
--- a/src/www/news/news_utils.php
+++ b/src/www/news/news_utils.php
@@ -5,7 +5,7 @@
* Copyright 1999-2001 (c) VA Linux Systems
* Copyright 2002-2004 (c) GForge Team
* Copyright (C) 2011 Alain Peyrat - Alcatel-Lucent
- * Copyright 2017, Franck Villaume - TrivialDev
+ * Copyright 2017,2019, Franck Villaume - TrivialDev
* http://fusionforge.org/
*
* This file is part of FusionForge. FusionForge is free software;
@@ -69,11 +69,6 @@ function news_header($params) {
}
}
-function news_footer($params = array()) {
- global $HTML;
- $HTML->footer($params);
-}
-
/**
* Display latest news for frontpage or news page.
*
diff --git a/src/www/news/submit.php b/src/www/news/submit.php
index caed9a3..7b8c8f1 100644
--- a/src/www/news/submit.php
+++ b/src/www/news/submit.php
@@ -5,7 +5,7 @@
* Copyright (C) 1999-2001 VA Linux Systems
* Copyright (C) 2002-2004 GForge Team
* Copyright (C) 2008-2010 Alcatel-Lucent
- * Copyright 2013, 2015, Franck Villaume - TrivialDev
+ * Copyright 2013,2015,2019, Franck Villaume - TrivialDev
*
* http://fusionforge.org/
*
@@ -164,7 +164,7 @@ if (session_loggedin()) {
echo '</p>';
echo $HTML->closeForm();
- news_footer();
+ $HTML->footer();
} else {
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=6c86ab022fc92523ff39fab4cd45da7a5fe5010a
commit 6c86ab022fc92523ff39fab4cd45da7a5fe5010a
Author: Franck Villaume <[email protected]>
Date: Tue Dec 24 12:44:40 2019 +0100
drop dead code
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 99a90d2..d3206e6 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -410,21 +410,6 @@ abstract class Layout extends FFError {
abstract function footer();
- function footerEnd() { ?>
-
- <!-- PLEASE LEAVE "Powered By FusionForge" on your site -->
- <div class="align-right">
- <?php echo $this->navigation->getPoweredBy(); ?>
- </div>
-
- <?php echo $this->navigation->getShowSource();
-
- plugin_hook('webanalytics_url');
-
- echo html_ac(html_ap() -1);
- echo "</html>\n";
- }
-
function getRootIndex() {
return $this->rootindex;
}
-----------------------------------------------------------------------
Summary of changes:
src/www/admin/pending-news.php | 3 ++-
src/www/include/Layout.class.php | 15 ---------------
src/www/news/admin/index.php | 4 ++--
src/www/news/index.php | 3 ++-
src/www/news/news_utils.php | 7 +------
src/www/news/submit.php | 4 ++--
6 files changed, 9 insertions(+), 27 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits