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:
parent
8bac5ddfb8
commit
92f1140987
6 changed files with 83 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue