From: <ca...@us...> - 2008-09-03 12:54:22
|
Revision: 1747 http://ganglia.svn.sourceforge.net/ganglia/?rev=1747&view=rev Author: carenas Date: 2008-09-03 12:54:28 +0000 (Wed, 03 Sep 2008) Log Message: ----------- web: add context checking for range widgets this will avoid printing the widgets where it doesn't make sense to have them like in the physical cluster view or the node host view Modified Paths: -------------- trunk/monitor-core/web/header.php Modified: trunk/monitor-core/web/header.php =================================================================== --- trunk/monitor-core/web/header.php 2008-09-03 12:40:05 UTC (rev 1746) +++ trunk/monitor-core/web/header.php 2008-09-03 12:54:28 UTC (rev 1747) @@ -360,7 +360,7 @@ } $metric_cols_menu .= "</SELECT>\n"; } - +if ($context = "meta" or $context == "cluster" or $context == "host") { $examples = "Feb 27 2007 00:00, 2/27/2007, 27.2.2007, now -1 week," . " -2 days, start + 1 hour, etc."; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |