[evolvis-commits] r17253: merge bm:taramir51/patches/theme-evolvis
mirabilos at evolvis.org
mirabilos at evolvis.org
Mon May 16 13:35:49 CEST 2011
Author: mirabilos
Date: 2011-05-16 13:35:49 +0200 (Mon, 16 May 2011)
New Revision: 17253
Modified:
trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
Log:
merge bm:taramir51/patches/theme-evolvis
Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php 2011-05-16 11:35:45 UTC (rev 17252)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php 2011-05-16 11:35:49 UTC (rev 17253)
@@ -498,7 +498,11 @@
<tr class="ff">';
$count=count($title_arr);
- if ($links_arr) {
+ if (!$count) {
+ $return .= '<td style="color:red;">No $title_arr:' .
+ "<pre>\n" . htmlentities(debug_string_backtrace()) .
+ "</pre></td>\n";
+ } else if ($links_arr) {
for ($i=0; $i<$count; $i++) {
$return .= '
<td class="ff" align="left"><a class="titlebar" href="'.$links_arr[$i].'">'.$title_arr[$i].'</a></td>';
More information about the evolvis-commits
mailing list