diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php
index 465a57f48..01924501e 100644
--- a/e107_handlers/form_handler.php
+++ b/e107_handlers/form_handler.php
@@ -1135,16 +1135,20 @@ class e_form
$img = $blankImg;
}
+ $parm = $options;
+ $classlocal = (!empty($parm['class'])) ? "class='".$parm['class']." e-expandit e-tip avatar'" : " class='img-rounded rounded e-expandit e-tip avatar ";
+ $class = (!empty($parm['class'])) ? "class='".$parm['class']." e-expandit '" : " class='img-rounded rounded btn btn-default btn-secondary button e-expandit ";
+
if($localonly == true)
{
$text = "";
- $text .= "
";
+ $text .= "
";
}
else
{
$text = "";
$text .= "
";
- $text .= "";
+ $text .= "";
}
$avFiles = e107::getFile()->get_files(e_AVATAR_DEFAULT,".jpg|.png|.gif|.jpeg|.JPG|.GIF|.PNG");