summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_nanobsd.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-07 19:53:58 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-07 19:53:58 +0545
commitc7593c816d833718cbba2c8582f9189601e1efb1 (patch)
treeb5d51532e1bdc40abd3449ade27cf287b559260d /src/usr/local/www/diag_nanobsd.php
parente849c17a983e8036838bcc2a727aaf900e89e1a5 (diff)
downloadpfsense-c7593c816d833718cbba2c8582f9189601e1efb1.zip
pfsense-c7593c816d833718cbba2c8582f9189601e1efb1.tar.gz
diag_nanobsd whitespace
Just a bit of consistency while I am here.
Diffstat (limited to 'src/usr/local/www/diag_nanobsd.php')
-rw-r--r--src/usr/local/www/diag_nanobsd.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/diag_nanobsd.php b/src/usr/local/www/diag_nanobsd.php
index abefaff..22bf0be 100644
--- a/src/usr/local/www/diag_nanobsd.php
+++ b/src/usr/local/www/diag_nanobsd.php
@@ -81,7 +81,7 @@ global $BOOT_DEVICE, $REAL_BOOT_DEVICE, $BOOT_DRIVE, $ACTIVE_SLICE;
nanobsd_detect_slice_info();
$NANOBSD_SIZE = nanobsd_get_size();
-$class='alert-warning';
+$class = 'alert-warning';
if ($_POST['bootslice']) {
if (!DEBUG) {
@@ -91,7 +91,7 @@ if ($_POST['bootslice']) {
}
$savemsg = gettext("The boot slice has been set to") . " " . nanobsd_get_active_slice();
- $class='alert-success';
+ $class = 'alert-success';
// Survey slice info
nanobsd_detect_slice_info();
}
@@ -101,10 +101,10 @@ if ($_POST['destslice'] && $_POST['duplicateslice']) {
if (!DEBUG && nanobsd_clone_slice($_POST['destslice'])) {
$savemsg = gettext("The slice has been duplicated.") . "<p/>" . gettext("If you would like to boot from this newly duplicated slice please set it using the bootup information area.");
- $class='alert-success';
+ $class = 'alert-success';
} else {
$savemsg = gettext("There was an error while duplicating the slice. Operation aborted.");
- $class='alert-danger';
+ $class = 'alert-danger';
}
// Re-Survey slice info
nanobsd_detect_slice_info();
@@ -123,11 +123,11 @@ if ($_POST['setrw']) {
conf_mount_rw();
if (isset($_POST['nanobsd_force_rw'])) {
$savemsg = gettext("Permanent read/write has been set successfully.");
- $class='alert-success';
+ $class = 'alert-success';
$config['system']['nanobsd_force_rw'] = true;
} else {
$savemsg = gettext('Permanent read/write has been cleared successfully.');
- $class='alert-success';
+ $class = 'alert-success';
unset($config['system']['nanobsd_force_rw']);
}
OpenPOWER on IntegriCloud