1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

HTML5 Validation fixes.

This commit is contained in:
Cameron
2016-01-30 18:39:01 -08:00
parent ee28ffb622
commit a31602108b
5 changed files with 30 additions and 13 deletions

View File

@@ -3198,7 +3198,10 @@ class e_parser
$title = (ADMIN) ? $image : $tp->toAttribute($userData['user_name']);
$shape = (vartrue($options['shape'])) ? "img-".$options['shape'] : "img-rounded";
$text = "<img class='".$shape." img-responsive user-avatar e-tip' title=\"".$title."\" src='".$img."' alt='' width='".$width."' height='".$height."' />";
$heightInsert = empty($height) ? '' : "height='".$height."'";
$text = "<img class='".$shape." img-responsive user-avatar e-tip' title=\"".$title."\" src='".$img."' alt='' width='".$width."' ".$heightInsert." />";
// return $img;
return $text;