<?php
run_query("UPDATE {$config['table_prefix']}calc_template SET
`params` = '{\r\n    \"title\": \"Текст: Парсинг текста\",\r\n    \"help\": \"text_parse\",\r\n    \"parameters\": {\r\n        \"field_parse\": {\r\n            \"type\": \"Field\",\r\n            \"name\": \"field_parse\",\r\n            \"description\": \"Выберите поле - источник\",\r\n            \"help\": \"field_parse\",\r\n            \"type_field\": [1, 2, 3, 4]\r\n        },\r\n        \"field_result\": {\r\n            \"type\": \"Field\",\r\n            \"name\": \"field_result\",\r\n            \"description\": \"Выберите поле - получатель\",\r\n            \"help\": \"field_result\",\r\n            \"type_field\": [1, 2, 3, 4]\r\n        },\r\n        \"give_value_begin\": {\r\n            \"type\": \"String\",\r\n            \"name\": \"give_value_begin\",\r\n            \"description\": \"Введите значение - от\",\r\n            \"help\": \"give_value_begin\"\r\n        },\r\n        \"give_value_end\": {\r\n            \"type\": \"String\",\r\n            \"name\": \"give_value_end\",\r\n            \"description\": \"Введите значение - до\",\r\n            \"default_value\": \"\\\\\\\\n\",\r\n            \"help\": \"give_value_end\"\r\n        }\r\n    },\r\n    \"events\": [\r\n        {\r\n            \"type\": 3,\r\n            \"field\": \"field_parse\"\r\n        }\r\n    ]\r\n}'
WHERE id = 103");