From bf9376570148eff9689551f8fe72b4cd95b331e0 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 25 Feb 2016 08:16:12 +0100 Subject: [PATCH] www: add print_content_box for naturally-padded content --- src/www/guiconfig.inc | 11 +++++++++++ src/www/services_dhcpv6.php | 4 ++-- src/www/services_router_advertisements.php | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/www/guiconfig.inc b/src/www/guiconfig.inc index cc55f8578..1f179d5c8 100644 --- a/src/www/guiconfig.inc +++ b/src/www/guiconfig.inc @@ -218,6 +218,17 @@ function print_alert_box($msg, $alert = 'warning', $button = '') EOFnp; } +function print_content_box($msg) +{ + echo << + + +
{$msg}
+ +EOFnp; +} + function print_info_box_apply($msg) { $iface = !empty($_POST['if']) ? $_POST['if'] : (!empty($_GET['if']) ? $_GET['if'] : ''); diff --git a/src/www/services_dhcpv6.php b/src/www/services_dhcpv6.php index b0a34d92b..e34178e4a 100644 --- a/src/www/services_dhcpv6.php +++ b/src/www/services_dhcpv6.php @@ -463,9 +463,9 @@ include("head.inc");
-

+

- +
diff --git a/src/www/services_router_advertisements.php b/src/www/services_router_advertisements.php index 6aff61902..69806355e 100644 --- a/src/www/services_router_advertisements.php +++ b/src/www/services_router_advertisements.php @@ -193,7 +193,7 @@ include("head.inc");
- +