[Fusionforge-commits] FusionForge branch master updated. 6.0.4-502-gaeff562

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Tue Jun 7 17:14:20 CEST 2016


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  aeff562a621c1664f5d236e3b9c3b8c62bf089f9 (commit)
       via  2acbe0907c6ebc6799d640b199ecc1cd5f18f64e (commit)
      from  7867d98a07849da0c374b5b1e04b58c5f2fbb8b0 (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=aeff562a621c1664f5d236e3b9c3b8c62bf089f9

commit aeff562a621c1664f5d236e3b9c3b8c62bf089f9
Author: Marc-Etienne Vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Tue Jun 7 17:14:10 2016 +0200

    Add new classes

diff --git a/src/www/themes/css/fusionforge.css b/src/www/themes/css/fusionforge.css
index 5b792f9..1777e13 100644
--- a/src/www/themes/css/fusionforge.css
+++ b/src/www/themes/css/fusionforge.css
@@ -40,6 +40,10 @@ figcaption {
 	text-align: center;
 }
 
+label {
+	font-weight: normal;
+}
+
 /* From old gforge-compat */
 .altrowstyleeven,
 .even {
@@ -213,6 +217,9 @@ td.toptab {
 .twothirdswidth {width: 66.66667%;}
 .onequarterwidth {width: 25%;}
 
+.packet_name {font-weight: bold;}
+.version_name {font-style: italic;}
+
 /* A table with two columns, first one right-aligned and bold */
 table.infotable tr { vertical-align: top; }
 table.infotable td:first-child {
@@ -222,6 +229,10 @@ table.infotable td:first-child {
 	white-space: nowrap;
 }
 
+table.infotable td:first-child label {
+	font-weight: bold;
+}
+
 table.full {
 	width: 100%;
 }

https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=2acbe0907c6ebc6799d640b199ecc1cd5f18f64e

commit 2acbe0907c6ebc6799d640b199ecc1cd5f18f64e
Author: Marc-Etienne Vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Tue Jun 7 17:13:43 2016 +0200

    Whitespace

diff --git a/src/www/export/rss_utils.inc b/src/www/export/rss_utils.inc
index cdc3e8a..09de6c6 100644
--- a/src/www/export/rss_utils.inc
+++ b/src/www/export/rss_utils.inc
@@ -1,5 +1,5 @@
 <?php // -*- mode: php -*-
-/** 
+/**
  * FusionForge Exports: RSS support module
  *
  * Copyright 1999-2001 (c) VA Linux Systems
diff --git a/src/www/forum/attachment.php b/src/www/forum/attachment.php
index fabc6b9..6654df3 100644
--- a/src/www/forum/attachment.php
+++ b/src/www/forum/attachment.php
@@ -83,7 +83,7 @@ if ($delete == "yes") {
 	if ( (!$res) ) {
 		exit_error("Attachment Download error: ".db_error(),'forums');
 	}
-	if (! ((db_result($res,0,'userid') == user_getid()) || (forge_check_perm ('forum_admin', $f->Group->getID()))) ) {
+	if (! ((db_result($res,0,'userid') == user_getid()) || (forge_check_perm('forum_admin', $f->Group->getID()))) ) {
 		goodbye(_('You cannot delete this attachment'));
 	} else {
 		if (!$pending) {
diff --git a/src/www/forum/message.php b/src/www/forum/message.php
index ce40f14..b88a2aa 100644
--- a/src/www/forum/message.php
+++ b/src/www/forum/message.php
@@ -129,8 +129,8 @@ if ($msg_id) {
 	echo ' on '. date(_('Y-m-d H:i'), $fm->getPostDate()) .'</td><td class="align-right">';
 	echo '<a href="'.$url.'">[forum:'.$msg_id.']</a><br/>';
 	$fa = new ForumAdmin($f->Group->getID());
-	if (forge_check_perm ('forum_admin', $f->Group->getID())) {
-		echo $fa->PrintAdminMessageOptions($msg_id,$group_id,0,$forum_id); // 0 in thread id because that tells us to go back to message.php instead of forum.php
+	if (forge_check_perm('forum_admin', $f->Group->getID())) {
+		echo $fa->PrintAdminMessageOptions($msg_id, $group_id, 0, $forum_id); // 0 in thread id because that tells us to go back to message.php instead of forum.php
 	}
 	$am = new AttachManager();
 	echo $am->PrintHelperFunctions();

-----------------------------------------------------------------------

Summary of changes:
 src/www/export/rss_utils.inc       |  2 +-
 src/www/forum/attachment.php       |  2 +-
 src/www/forum/message.php          |  4 ++--
 src/www/themes/css/fusionforge.css | 11 +++++++++++
 4 files changed, 15 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list