mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
Custom CSS class on container when modal/iframe is active.
This commit is contained in:
@@ -6588,7 +6588,8 @@ var_dump($select_options);*/
|
|||||||
}
|
}
|
||||||
if(!$nocontainer)
|
if(!$nocontainer)
|
||||||
{
|
{
|
||||||
$text = '<div class="e-container">'.$text.'</div>';
|
$class = deftrue('e_IFRAME') ? 'e-container e-container-modal' : 'e-container';
|
||||||
|
$text = '<div class="'.$class.'">'.$text.'</div>';
|
||||||
}
|
}
|
||||||
return (vartrue($options['form_pre']).$text.vartrue($options['form_post']));
|
return (vartrue($options['form_pre']).$text.vartrue($options['form_post']));
|
||||||
}
|
}
|
||||||
@@ -6800,7 +6801,8 @@ var_dump($select_options);*/
|
|||||||
}
|
}
|
||||||
if(!$nocontainer)
|
if(!$nocontainer)
|
||||||
{
|
{
|
||||||
$text = '<div class="e-container">'.$text.'</div>';
|
$class = deftrue('e_IFRAME') ? 'e-container e-container-modal' : 'e-container';
|
||||||
|
$text = '<div class="'.$class.'">'.$text.'</div>';
|
||||||
}
|
}
|
||||||
return (vartrue($options['form_pre']).$text.vartrue($options['form_post']));
|
return (vartrue($options['form_pre']).$text.vartrue($options['form_post']));
|
||||||
}
|
}
|
||||||
@@ -6921,7 +6923,8 @@ var_dump($select_options);*/
|
|||||||
}
|
}
|
||||||
if(!$nocontainer)
|
if(!$nocontainer)
|
||||||
{
|
{
|
||||||
$text = '<div class="e-container">'.$text.'</div>';
|
$class = deftrue('e_IFRAME') ? 'e-container e-container-modal' : 'e-container';
|
||||||
|
$text = '<div class="'.$class.'">'.$text.'</div>';
|
||||||
}
|
}
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
@@ -7478,7 +7481,8 @@ var_dump($select_options);*/
|
|||||||
}
|
}
|
||||||
if(!$nocontainer)
|
if(!$nocontainer)
|
||||||
{
|
{
|
||||||
$text = '<div class="e-container">'.$text.'</div>';
|
$class = deftrue('e_IFRAME') ? 'e-container e-container-modal' : 'e-container';
|
||||||
|
$text = '<div class="'.$class.'">'.$text.'</div>';
|
||||||
}
|
}
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user