summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-07 13:37:52 -0400
committerjim-p <jimp@pfsense.org>2010-10-07 13:37:52 -0400
commitce3381626d2581c83efa19999f53e7e38a87faad (patch)
treef49988d98979614676548419d6e8664fbe522759 /usr/local/www/widgets
parent26c8cc7244be1f6bc4eeb987a5933abdbc58c9a8 (diff)
downloadpfsense-ce3381626d2581c83efa19999f53e7e38a87faad.zip
pfsense-ce3381626d2581c83efa19999f53e7e38a87faad.tar.gz
Show the product_name as the slice "name" for rebrands. Cosmetic only.
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/system_information.widget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php
index f689c2f..aadd78e 100644
--- a/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/usr/local/www/widgets/widgets/system_information.widget.php
@@ -120,10 +120,10 @@ $curcfg = $config['system']['firmware'];
<tr>
<td width="25%" class="vncellt">NanoBSD Boot Slice</td>
<td width="75%" class="listr">
- <?=htmlspecialchars($BOOT_DEVICE);?> / <?=htmlspecialchars($BOOTFLASH);?>
+ <?=htmlspecialchars(nanobsd_friendly_slice_name($BOOT_DEVICE));?> / <?=htmlspecialchars($BOOTFLASH);?>
<?php if ($BOOTFLASH != $ACTIVE_SLICE): ?>
<br/><br/>Next Boot:<br/>
- <?=htmlspecialchars($GLABEL_SLICE);?> / <?=htmlspecialchars($ACTIVE_SLICE);?>
+ <?=htmlspecialchars(nanobsd_friendly_slice_name($GLABEL_SLICE));?> / <?=htmlspecialchars($ACTIVE_SLICE);?>
<?php endif; ?>
</td>
</tr>
OpenPOWER on IntegriCloud