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 acfd0ee0c3cc943c44ec874f4cdbe5ca929dab80 (commit)
from b3644fe17632dbfa1383d6e809a49fb6b3f5197b (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=acfd0ee0c3cc943c44ec874f4cdbe5ca929dab80
commit acfd0ee0c3cc943c44ec874f4cdbe5ca929dab80
Author: Franck Villaume <[email protected]>
Date: Sun Mar 26 17:42:24 2017 +0200
fix listTableTop: listing class is not mandatory
diff --git a/src/common/tracker/actions/browse.php
b/src/common/tracker/actions/browse.php
index 3fbb8e3..b8dc3e3 100644
--- a/src/common/tracker/actions/browse.php
+++ b/src/common/tracker/actions/browse.php
@@ -606,7 +606,7 @@ if ($art_arr && $art_cnt > 0) {
}
if ($start < $max) {
- echo $HTML->listTableTop($title_arr);
+ echo $HTML->listTableTop($title_arr, array(), 'full');
}
$then=(time()-$ath->getDuePeriod());
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 31e8a41..0fcc720 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -8,7 +8,7 @@
* Copyright 2010-2012, Alain Peyrat - Alcatel-Lucent
* Copyright © 2011 Thorsten Glaser – tarent GmbH
* Copyright 2011 - Marc-Etienne Vargenau, Alcatel-Lucent
- * Copyright 2012-2016, Franck Villaume - TrivialDev
+ * Copyright 2012-2017, Franck Villaume - TrivialDev
* http://fusionforge.org
*
* This file is part of FusionForge. FusionForge is free software;
@@ -640,11 +640,11 @@ if (isset($params['group']) && $params['group']) {
* @return string the html code
*/
function listTableTop($titleArray = array(), $linksArray = array(),
$class = '', $id = '', $thClassArray = array(), $thTitleArray = array(),
$thOtherAttrsArray = array()) {
- $attrs = array('class' => 'listing');
+ $attrs = array();
if ($class) {
- $attrs['class'] .= ' '.$class;
+ $attrs['class'] = $class;
} else {
- $attrs['class'] .= ' full';
+ $attrs['class'] = 'full listing';
}
if ($id) {
$attrs['id'] = $id;
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/actions/browse.php | 2 +-
src/www/include/Layout.class.php | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits