diff --git a/app/basic_operator_panel/app_config.php b/app/basic_operator_panel/app_config.php index dba39c97a0..ab1473f8ab 100644 --- a/app/basic_operator_panel/app_config.php +++ b/app/basic_operator_panel/app_config.php @@ -57,4 +57,15 @@ $y++; $apps[$x]['permissions'][$y]['name'] = "operator_panel_on_demand"; -?> + //default settings + $y=0; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "569280f2-a433-4eaf-9c08-945efdc6cf8f"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "operator_panel"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "refresh"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "1500"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the refresh rate in seconds (<=120) or milliseconds (>=500)."; + $y++; + +?> \ No newline at end of file diff --git a/app/basic_operator_panel/index.php b/app/basic_operator_panel/index.php index a163b0ca26..b8fcbd425e 100644 --- a/app/basic_operator_panel/index.php +++ b/app/basic_operator_panel/index.php @@ -185,8 +185,24 @@