[Fusionforge-commits] FusionForge branch Branch_5_2 updated. 6fef2b4662a6f0e913fca66db5eb6dae32bdb60a
Franck VILLAUME
nerville at fusionforge.org
Thu Feb 27 18:24:46 CET 2014
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_2 has been updated
via 6fef2b4662a6f0e913fca66db5eb6dae32bdb60a (commit)
from 52e94c86eb90676a5a013213da12e4abbddf5e0b (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 6fef2b4662a6f0e913fca66db5eb6dae32bdb60a
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Thu Feb 27 18:21:31 2014 +0100
funky theme: tooltips not displayed correctly on main tab
diff --git a/src/www/themes/funky/Theme.class.php b/src/www/themes/funky/Theme.class.php
index d9e1ac1..80ba6e4 100644
--- a/src/www/themes/funky/Theme.class.php
+++ b/src/www/themes/funky/Theme.class.php
@@ -275,25 +275,26 @@ class Theme extends Layout {
// middle part
$return .= '<td class="tg-middle" style="width:'.$tabwidth.'%;"><a ';
$return .= 'id="'.md5($TABS_DIRS[$i]).'" ';
- if ($use_tooltips) {
- $return .= 'class="tabtitle" ';
- if (isset($TABS_TOOLTIPS[$i])) {
- $return .= 'title="'.$TABS_TOOLTIPS[$i].'" ';
- }
- }
$return .= 'href="'.$TABS_DIRS[$i].'">' . "\n";
$return .= '<span';
if ($selected == $i)
$return .= ' class="selected"';
-
$return .= '>';
$return .= '<span';
+ $classes = '';
if ($nested)
- $return .= ' class="nested"';
+ $classes .= 'nested ';
+ if ($use_tooltips) {
+ $classes .= ' tabtitle ';
+ if (isset($TABS_TOOLTIPS[$i])) {
+ $return .= ' title="'.$TABS_TOOLTIPS[$i].'" ';
+ }
+ }
+ $return .= ' class="'.$classes.'" ';
$return .= '>' . "\n";
$return .= ''.$TABS_TITLES[$i].'' . "\n";
$return .= '</span>';
-----------------------------------------------------------------------
Summary of changes:
src/www/themes/funky/Theme.class.php | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list