From 5369b8e9520e0d6a18336da7520a36bb861d1b7a Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 29 Dec 2021 18:24:41 -0500 Subject: [PATCH] Add MQTT to Monitor edit. --- web/skins/classic/views/monitor.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index 657c2ce8c..3149a0e61 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -382,6 +382,7 @@ if ( $monitor->Type() != 'WebSite' ) { $tabs['x10'] = translate('X10'); $tabs['misc'] = translate('Misc'); $tabs['location'] = translate('Location'); + $tabs['mqtt'] = translate('MQTT'); } if ( isset($_REQUEST['tab']) ) @@ -718,7 +719,7 @@ if (count($available_monitor_ids)) { - + Method(), array('onchange'=>'submitTab', 'data-tab-name'=>$tab) ); ?> ReturnL
+ + + + translate('Enabled'), '0'=>translate('Disabled')), $monitor->MQTT_Enabled()) ?> + + + + +