aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/swap.php
diff options
context:
space:
mode:
authorPim van den Berg2014-05-03 18:15:12 +0200
committerPim van den Berg2014-05-03 19:21:36 +0200
commitedae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch)
treeda0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/swap.php
parenttype/base: set default values for rrd_title and rrd_format (diff)
downloadapt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.zip
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.gz
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.bz2
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.xz
rename ds_names and dsname to legend
This had nothing to do with an RRD data source.
Diffstat (limited to 'plugin/swap.php')
-rw-r--r--plugin/swap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/swap.php b/plugin/swap.php
index 5b02130..140772c 100644
--- a/plugin/swap.php
+++ b/plugin/swap.php
@@ -15,7 +15,7 @@ switch(GET('t')) {
15 require_once 'type/GenericStacked.class.php'; 15 require_once 'type/GenericStacked.class.php';
16 $obj = new Type_GenericStacked($CONFIG, $_GET); 16 $obj = new Type_GenericStacked($CONFIG, $_GET);
17 $obj->order = array('free', 'cached', 'used'); 17 $obj->order = array('free', 'cached', 'used');
18 $obj->ds_names = array( 18 $obj->legend = array(
19 'free' => 'Free', 19 'free' => 'Free',
20 'cached' => 'Cached', 20 'cached' => 'Cached',
21 'used' => 'Used', 21 'used' => 'Used',
@@ -32,7 +32,7 @@ switch(GET('t')) {
32 require_once 'type/GenericIO.class.php'; 32 require_once 'type/GenericIO.class.php';
33 $obj = new Type_GenericIO($CONFIG, $_GET); 33 $obj = new Type_GenericIO($CONFIG, $_GET);
34 $obj->order = array('out', 'in'); 34 $obj->order = array('out', 'in');
35 $obj->ds_names = array( 35 $obj->legend = array(
36 'out' => 'Out', 36 'out' => 'Out',
37 'in' => 'In', 37 'in' => 'In',
38 ); 38 );