aboutsummaryrefslogtreecommitdiffstats
path: root/config/Fit123/bin/date/index.abc
diff options
context:
space:
mode:
authorPerry Mason <crazypark2@yahoo.dk>2009-12-09 17:02:35 +0100
committerPerry Mason <crazypark2@yahoo.dk>2009-12-09 17:02:35 +0100
commit57bc3cfa3e05ca7efecdc280e8c6ca353e9822e2 (patch)
treec6d56da4f31eb32bcfd569142e41cbcdd31d401e /config/Fit123/bin/date/index.abc
parent498ae4b7a1a8657116366e1a8abdd168c72ab252 (diff)
downloadpfsense-packages-57bc3cfa3e05ca7efecdc280e8c6ca353e9822e2.tar.gz
pfsense-packages-57bc3cfa3e05ca7efecdc280e8c6ca353e9822e2.tar.bz2
pfsense-packages-57bc3cfa3e05ca7efecdc280e8c6ca353e9822e2.zip
Files in sync with release
Diffstat (limited to 'config/Fit123/bin/date/index.abc')
-rwxr-xr-x[-rw-r--r--]config/Fit123/bin/date/index.abc23
1 files changed, 6 insertions, 17 deletions
diff --git a/config/Fit123/bin/date/index.abc b/config/Fit123/bin/date/index.abc
index 73a81fa1..f63b7001 100644..100755
--- a/config/Fit123/bin/date/index.abc
+++ b/config/Fit123/bin/date/index.abc
@@ -170,10 +170,12 @@ $currentDate = $dateOutput[0];
built on <?php readfile("/etc/version.buildtime"); ?>
</td>
</tr>
+ <?php if(!$g['hideplatform']): ?>
<tr>
- <td width="25%" class="vncellt">Platform / Current Date </td>
- <td width="75%" class="listr"><?=htmlspecialchars($g['platform']);?> / <?=$currentDate;?></td>
+ <td width="25%" class="vncellt">Platform / Current Date</td>
+ <td width="75%" class="listr"><?=htmlspecialchars($g['platform']);?> / <?=$currentDate;?></td>
</tr>
+ <?php endif; ?>
<?php if ($hwcrypto): ?>
<tr>
<td width="25%" class="vncellt">Hardware crypto</td>
@@ -230,23 +232,10 @@ $currentDate = $dateOutput[0];
<tr>
<td width="25%" class="vncellt">SWAP usage</td>
<td width="75%" class="listr">
- <?php $swapusage = swap_usage(); ?>
+ <?php $swapUsage = swap_usage(); ?>
<img src="./themes/<?= $g['theme']; ?>/images/misc/bar_left.gif" height="15" width="4" border="0" align="middle" alt="left bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_blue.gif" height="15" width="<?= $swapUsage; ?>" border="0" align="middle" alt="red bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif" height="15" width="<?= (100 - $swapUsage); ?>" border="0" align="middle" alt="gray bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_right.gif" height="15" width="5" border="0" align="middle" alt="right bar" />
&nbsp;
- <input style="border: 0px solid white;" size="30" name="swapusagemeter" id="swapusagemeter" value="<?= $swapusage.'%'; ?>" />
- </td>
- </tr>
- <?php endif; ?>
-<?php
- if(has_temp()):
-?>
- <tr>
- <td width='25%' class='vncellt'>Temperature</td>
- <td width='75%' class='listr'>
- <?php $temp = get_temp(); ?>
- <img src="./themes/<?= $g["theme"]; ?>/images/misc/bar_left.gif" height="15" width="4" border="0" align="middle" alt="left bar" /><img src="./themes/<?= $g["theme"]; ?>/images/misc/bar_blue.gif" height="15" name="tempwidtha" id="tempwidtha" width="<?= $temp; ?>" border="0" align="middle" alt="red bar" /><img src="./themes/<?= $g["theme"]; ?>/images/misc/bar_gray.gif" height="15" name="tempwidthb" id="tempwidthb" width="<?= (100 - $temp); ?>" border="0" align="middle" alt="gray bar" /><img src="./themes/<?= $g["theme"]; ?>/images/misc/bar_right.gif" height="15" width="5" border="0" align="middle" alt="right bar" />
- &nbsp;
- <input style="border: 0px solid white;" size="30" name="tempmeter" id="tempmeter" value="<?= $temp."C"; ?>" />
+ <input style="border: 0px solid white;" size="30" name="swapusagemeter" id="swapusagemeter" value="<?= $swapUsage.'%'; ?>" />
</td>
</tr>
<?php endif; ?>