diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index 0e752a248..e1cd7d572 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -6588,7 +6588,8 @@ var_dump($select_options);*/ } if(!$nocontainer) { - $text = '
'.$text.'
'; + $class = deftrue('e_IFRAME') ? 'e-container e-container-modal' : 'e-container'; + $text = '
'.$text.'
'; } return (vartrue($options['form_pre']).$text.vartrue($options['form_post'])); } @@ -6800,7 +6801,8 @@ var_dump($select_options);*/ } if(!$nocontainer) { - $text = '
'.$text.'
'; + $class = deftrue('e_IFRAME') ? 'e-container e-container-modal' : 'e-container'; + $text = '
'.$text.'
'; } return (vartrue($options['form_pre']).$text.vartrue($options['form_post'])); } @@ -6921,7 +6923,8 @@ var_dump($select_options);*/ } if(!$nocontainer) { - $text = '
'.$text.'
'; + $class = deftrue('e_IFRAME') ? 'e-container e-container-modal' : 'e-container'; + $text = '
'.$text.'
'; } return $text; } @@ -7478,7 +7481,8 @@ var_dump($select_options);*/ } if(!$nocontainer) { - $text = '
'.$text.'
'; + $class = deftrue('e_IFRAME') ? 'e-container e-container-modal' : 'e-container'; + $text = '
'.$text.'
'; } return $text; }