CreateInputGroup数据长度参数改为可选

This commit is contained in:
hyzboy 2016-09-11 21:22:02 +04:00
parent f368978da9
commit 36f9c29967
2 changed files with 4 additions and 2 deletions

View File

@ -83,6 +83,8 @@
$edit->type =func_get_arg(0);
$edit->name =func_get_arg(1);
$edit->label =func_get_arg(2);
if(func_num_args()>3)
$edit->size =func_get_arg(3);
if(func_num_args()>4)

View File

@ -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()