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, Branch_5_3 has been updated
via 3c37993b7bd5c4c7daedd6bb0b07952f55b3b8d1 (commit)
from 5d2f7f9e6db47f02f3fbfe47505776f91b4702f0 (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 -----------------------------------------------------------------
commit 3c37993b7bd5c4c7daedd6bb0b07952f55b3b8d1
Author: Franck Villaume <[email protected]>
Date: Fri Jun 6 11:52:26 2014 +0200
fix [#686]: disable monitor when not logged
diff --git a/src/CHANGES b/src/CHANGES
index 1215a0f..0da5afa 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -35,6 +35,7 @@ Fusionforge-5.3.1:
* Plugin hudson: fix roles access in widgets [#683] (TrivialDev)
* Admin User: fix unix_status [#666] (TrivialDev)
* Search: fix roles based access to documents using the search engine [#682]
(TrivialDev)
+* Forum: disable monitoring when not logged [#686] (TrivialDev)
FusionForge-5.3:
* Widget: MyArtifacts Enhancement : add monitored artifacts (TrivialDev)
diff --git a/src/www/forum/index.php b/src/www/forum/index.php
index 6384e70..16b69bc 100644
--- a/src/www/forum/index.php
+++ b/src/www/forum/index.php
@@ -6,7 +6,7 @@
* Copyright 2002, Tim Perdue - GForge, LLC
* Copyright 2010 (c) Franck Villaume - Capgemini
* Copyright (C) 2011-2012 Alain Peyrat - Alcatel-Lucent
- * Copyright 2013, Franck Villaume - TrivialDev
+ * Copyright 2013,2014 Franck Villaume - TrivialDev
*
* This file is part of FusionForge. FusionForge is free software;
* you can redistribute it and/or modify it under the terms of the
@@ -62,7 +62,9 @@ if ($group_id) {
// echo _('<p>Choose a forum and you can browse, search, and post
messages.<p>');
- echo $HTML->printsubMenu(array(_("My Monitored Forums")),
array("/forum/myforums.php?group_id=$group_id"), false);
+ if (session_loggedin()) {
+ echo $HTML->printsubMenu(array(_("My Monitored Forums")),
array("/forum/myforums.php?group_id=$group_id"), false);
+ }
plugin_hook("blocks", "forum index");
-----------------------------------------------------------------------
Summary of changes:
src/CHANGES | 1 +
src/www/forum/index.php | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits