diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-17 21:49:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-17 21:49:54 +0000 |
commit | 381e54db248b75391a96eb11f84b087b7e56579d (patch) | |
tree | 4e0a8ac6f711048de83ca2b89d6504b27460e09e /usr | |
parent | 474d164907784646456bb9310d58119427e0840a (diff) | |
download | pfsense-381e54db248b75391a96eb11f84b087b7e56579d.zip pfsense-381e54db248b75391a96eb11f84b087b7e56579d.tar.gz |
Correctly output theme name
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_services.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php index 727baf4..a16eadf 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -148,10 +148,12 @@ if($services) { echo '<tr><td class="listlr">' . $service['name'] . '</td>'; echo '<td class="listlr">' . $service['description'] . '</td>'; if(is_service_running($service['name'], $ps) or is_process_running($service['name']) ) { - echo '<td class="listlr">Running</td><td><img src="/themes/{$g["theme"]/images/icons/icon_pass.gif"></td>'; + echo '<td class="listlr">Running</td><td><img src="/themes/'; + echo $g["theme"] . '/images/icons/icon_pass.gif"></td>'; $running = true; } else { - echo '<td class="listbg"><font color="white">Stopped</td><td><img src="/themes/{$g["theme"]/images/icons/icon_block.gif"></td>'; + echo '<td class="listbg"><font color="white">Stopped</td><td><img src="/themes/'; + echo $g["theme"] . '/images/icons/icon_block.gif"></td>'; $running = false; } echo '<td valign="middle" class="list" nowrap>'; |