Add a new parameter to title_box to enlarge the div, by default for

all input dialog box of ManageTable
This commit is contained in:
sparkyx 2021-03-09 13:02:44 +01:00
parent 8bac5ddfb8
commit 92f1140987
6 changed files with 83 additions and 8 deletions

View file

@ -837,7 +837,7 @@ class HtmlInput
* @return type
*/
static function title_box($p_name, $p_div, $p_mod="close", $p_js="",
$p_draggable="n")
$p_draggable="n",$p_enlarge='n')
{
$p_div=strip_tags($p_div);
$r='<div class="bxbutton">';
@ -847,6 +847,9 @@ class HtmlInput
{
$r.=Icon_Action::draggable($p_div);
}
if ( $p_enlarge=='y') {
$r.=Icon_Action::full_size($p_div);
}
if ($p_mod=='close')
{
$r.=Icon_Action::close($p_div, $p_js);