[evolvis-commits] r18678: theme-evolvis pending merges:↵ Thorsten Glaser 2012-10-04 trim whitespace around feedback

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Oct 4 11:57:52 CEST 2012


Author: mirabilos
Date: 2012-10-04 11:57:50 +0200 (Thu, 04 Oct 2012)
New Revision: 18678

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/EvStyle.class.php
Log:
theme-evolvis pending merges:
  Thorsten Glaser 2012-10-04 trim whitespace around feedback

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/EvStyle.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/EvStyle.class.php	2012-10-04 09:57:46 UTC (rev 18677)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/EvStyle.class.php	2012-10-04 09:57:50 UTC (rev 18678)
@@ -212,7 +212,7 @@
       'warning_msg' => 'ev_gvmsg_warning',
       'feedback' => 'ev_gvmsg_feedback',
     ) as $gv => $style) {
-      $v = util_ifsetor($GLOBALS[$gv]);
+      $v = trim(util_ifsetor($GLOBALS[$gv], ""));
       if ($v) {
         /* ugly: $v can have embedded <p> and <br /> tags… */
         echo '      <div id="' . $style . '">' . nl2br($v) . "</div>\n";



More information about the evolvis-commits mailing list