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, feature/twig-template-engine has been updated
       via  b469e28aa25d6c3131569184756fbbfe70a1d1bc (commit)
      from  8b1983c6f7121012f235b46004a6a2a604c63af9 (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 b469e28aa25d6c3131569184756fbbfe70a1d1bc
Author: Roland Mas <[email protected]>
Date:   Fri Jun 12 10:35:45 2015 +0200

    Fixed feedback boxes

diff --git a/src/www/themes/funky-twig/Theme.class.php 
b/src/www/themes/funky-twig/Theme.class.php
index 57a5047..443ab09 100644
--- a/src/www/themes/funky-twig/Theme.class.php
+++ b/src/www/themes/funky-twig/Theme.class.php
@@ -494,17 +494,17 @@ class Theme extends Layout {
                return $this->renderTemplate('multiTableRow.html', $vars);
        }
        function feedback($msg) {
-               $vars = array('message' => strip_tags($msg, '<br>'));
+               $vars = array('feedback' => strip_tags($msg, '<br>'));
 
                return $this->renderTemplate('feedback.html', $vars);
        }
        function warning_msg($msg) {
-               $vars = array('message' => strip_tags($msg, '<br>'));
+               $vars = array('warning_msg' => strip_tags($msg, '<br>'));
 
                return $this->renderTemplate('warningMessage.html', $vars);
        }
        function error_msg($msg) {
-               $vars = array('message' => strip_tags($msg, '<br>'));
+               $vars = array('error_msg' => strip_tags($msg, '<br>'));
 
                return $this->renderTemplate('errorMessage.html', $vars);
        }

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

Summary of changes:
 src/www/themes/funky-twig/Theme.class.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/www/themes/funky-twig/Theme.class.php 
b/src/www/themes/funky-twig/Theme.class.php
index 57a5047..443ab09 100644
--- a/src/www/themes/funky-twig/Theme.class.php
+++ b/src/www/themes/funky-twig/Theme.class.php
@@ -494,17 +494,17 @@ class Theme extends Layout {
                return $this->renderTemplate('multiTableRow.html', $vars);
        }
        function feedback($msg) {
-               $vars = array('message' => strip_tags($msg, '<br>'));
+               $vars = array('feedback' => strip_tags($msg, '<br>'));
 
                return $this->renderTemplate('feedback.html', $vars);
        }
        function warning_msg($msg) {
-               $vars = array('message' => strip_tags($msg, '<br>'));
+               $vars = array('warning_msg' => strip_tags($msg, '<br>'));
 
                return $this->renderTemplate('warningMessage.html', $vars);
        }
        function error_msg($msg) {
-               $vars = array('message' => strip_tags($msg, '<br>'));
+               $vars = array('error_msg' => strip_tags($msg, '<br>'));
 
                return $this->renderTemplate('errorMessage.html', $vars);
        }


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to