diff --git a/html/inc/bootstrap.inc b/html/inc/bootstrap.inc index c05a152c2b..8239919bc2 100644 --- a/html/inc/bootstrap.inc +++ b/html/inc/bootstrap.inc @@ -214,7 +214,7 @@ function sample_navbar( // output a panel. // $content_func is a function that generates the panel contents // -function panel($title, $content_func, $class="panel-primary") { +function panel($title, $content_func, $class="panel-primary", $body_class="") { echo sprintf('
', $class ); @@ -225,9 +225,9 @@ function panel($title, $content_func, $class="panel-primary") {
'; } - echo ' -
- '; + echo sprintf('
+ ', $body_class + ); $content_func(); echo '
diff --git a/html/inc/language_names.inc b/html/inc/language_names.inc index bf6b0b53c9..d59d4bec70 100644 --- a/html/inc/language_names.inc +++ b/html/inc/language_names.inc @@ -65,7 +65,7 @@ function language_select($cur_lang_name) { $supported_languages[] = "en"; $sel = $cur_lang_name?"":"selected"; echo " -