"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mrbs-1.9.4/web/admin.php" between
mrbs-1.9.4.tar.gz and mrbs-1.10.0.tar.gz

About: MRBS is a web application for booking meeting rooms or other resources (using PHP and MySQL/pgsql).

admin.php  (mrbs-1.9.4):admin.php  (mrbs-1.10.0)
skipping to change at line 487 skipping to change at line 487
echo "</div></td>\n"; echo "</div></td>\n";
} }
elseif (($field['nature'] == 'integer') && isset($field['len gth']) && ($field['length'] > 2)) elseif (($field['nature'] == 'integer') && isset($field['len gth']) && ($field['length'] > 2))
{ {
// integer values // integer values
echo "<td class=\"int\"><div>" . $r[$field['name']] . "</d iv></td>\n"; echo "<td class=\"int\"><div>" . $r[$field['name']] . "</d iv></td>\n";
} }
else else
{ {
// strings // strings
$value = $r[$field['name']]; $value = (isset($r[$field['name']])) ? $r[$field['name']] : '';
$html = "<td title=\"" . htmlspecialchars($value) . "\"><d iv>"; $html = "<td title=\"" . htmlspecialchars($value) . "\"><d iv>";
// Truncate before conversion, otherwise you could chop of f in the middle of an entity // Truncate before conversion, otherwise you could chop of f in the middle of an entity
$html .= htmlspecialchars(utf8_substr($value, 0, $max_cont ent_length)); $html .= htmlspecialchars(utf8_substr($value, 0, $max_cont ent_length));
$html .= (utf8_strlen($value) > $max_content_length) ? '&h ellip;' : ''; $html .= (utf8_strlen($value) > $max_content_length) ? '&h ellip;' : '';
$html .= "</div></td>\n"; $html .= "</div></td>\n";
echo $html; echo $html;
} }
break; break;
} // switch } // switch
} // if } // if
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)