egoist37 / slimstat

Automatically exported from code.google.com/p/slimstat
GNU General Public License v2.0
0 stars 0 forks source link

Enhancement #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In order to display the current status of Slimstat to the users, I'd changed 
the 
file "_head.php" which return "enabled" or "disabled" on the right of the main 
title page:

(...) <span style="font-size:.6em"><?php if ( $config->enabled ) { echo '<b 
style="color:green">'.$i18n->title( 'enable' ).'</b>'; } else { echo '<b 
style="color:red">('.$i18n->title( 'disable' ).')</b>'; } ?></span></h1>

Original issue reported on code.google.com by patrick....@gmail.com on 2 Feb 2010 at 7:56

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r92.

Original comment by step...@wettone.com on 16 Apr 2010 at 2:20

GoogleCodeExporter commented 9 years ago
I've altered this slightly from your suggestion. It shows a red bar in the main 
area
when SlimStat is disabled, because there isn't always room in the title area. 
It also
only appears when SlimStat is disabled, and not when it's enabled, because I 
think
there's no point indicating that everything is working properly.

Original comment by step...@wettone.com on 16 Apr 2010 at 2:22