CreateInputGroup数据长度参数改为可选
This commit is contained in:
parent
f368978da9
commit
36f9c29967
@ -83,7 +83,9 @@
|
||||
$edit->type =func_get_arg(0);
|
||||
$edit->name =func_get_arg(1);
|
||||
$edit->label =func_get_arg(2);
|
||||
$edit->size =func_get_arg(3);
|
||||
|
||||
if(func_num_args()>3)
|
||||
$edit->size =func_get_arg(3);
|
||||
|
||||
if(func_num_args()>4)
|
||||
$edit->place_holder=func_get_arg(4);
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
function echo_page_header($header,$subtext)
|
||||
{
|
||||
echo '<div class="page-header" style="margin-bottom: 10px; padding-bottom: 0px; margin-top: 0px;"><h1>'.$header.'<small> '.$subtext.'</small></h1></div>';
|
||||
echo '<div class="page-header" style="margin-bottom: 10px; padding-bottom: 0px; margin-top: 0px;"><h1 style="margin-top: 10px;">'.$header.'<small> '.$subtext.'</small></h1></div>';
|
||||
}
|
||||
|
||||
function echo_html_end()
|
||||
|
Loading…
x
Reference in New Issue
Block a user