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 4ba9df11a6881cb0c45d2ec6795367dc922a7ed7 (commit)
from d486e4231dd228fd633afea3fa7ce01499b895cc (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=4ba9df11a6881cb0c45d2ec6795367dc922a7ed7
commit 4ba9df11a6881cb0c45d2ec6795367dc922a7ed7
Author: Marc-Etienne Vargenau <[email protected]>
Date: Fri May 5 14:52:28 2017 +0200
No empty <h1> in Funky theme
diff --git a/src/www/themes/funky/Theme.class.php
b/src/www/themes/funky/Theme.class.php
index 33930bd..4f1d38b 100644
--- a/src/www/themes/funky/Theme.class.php
+++ b/src/www/themes/funky/Theme.class.php
@@ -147,13 +147,14 @@ class Theme_Funky extends Layout {
echo $this->feedback($GLOBALS['feedback']);
}
- if (isset($params['h1'])) {
+ if (!empty($params['h1'])) {
echo html_e('h1', array(), $params['h1'], false);
- } elseif (isset($params['title'])) {
+ } elseif (!empty($params['title'])) {
echo html_e('h1', array('class' => 'hide'),
$params['title'], false);
}
- if (isset($params['submenu']))
+ if (isset($params['submenu'])) {
echo $params['submenu'];
+ }
}
function bodyFooter($params) {
-----------------------------------------------------------------------
Summary of changes:
src/www/themes/funky/Theme.class.php | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits