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 875e17b0346f62f332faceeaabfa6b1c4a97544d (commit)
from 35038dddb6fc285ad459a300f240e34ea0a6f4c0 (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=875e17b0346f62f332faceeaabfa6b1c4a97544d
commit 875e17b0346f62f332faceeaabfa6b1c4a97544d
Author: Franck Villaume <[email protected]>
Date: Tue Oct 11 10:08:10 2016 +0200
reset the var to avoid wrong target
diff --git a/src/www/themes/funky/Theme.class.php
b/src/www/themes/funky/Theme.class.php
index 2b3ccda..631deca 100644
--- a/src/www/themes/funky/Theme.class.php
+++ b/src/www/themes/funky/Theme.class.php
@@ -230,12 +230,13 @@ class Theme_Funky extends Layout {
$attrs['class'] = 'tg-middle';
$attrs['style'] = 'width:'.$tabwidth.'%';
$return .= html_ao('td', $attrs);
- $ahrefAttrs['id'] = md5($TABS_DIRS[$i]);
- $ahrefAttrs['href'] = $TABS_DIRS[$i];
+ $attrs = array();
+ $attrs['id'] = md5($TABS_DIRS[$i]);
+ $attrs['href'] = $TABS_DIRS[$i];
if (preg_match('/^https?:\/\//', $TABS_DIRS[$i])) {
- $ahrefAttrs['target'] = '_blank';
+ $attrs['target'] = '_blank';
}
- $return .= html_ao('a', $ahrefAttrs);
+ $return .= html_ao('a', $attrs);
$attrs = array();
if ($selected == $i)
$attrs['class'] = 'selected';
-----------------------------------------------------------------------
Summary of changes:
src/www/themes/funky/Theme.class.php | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits