<?php
run_query("UPDATE {$config['table_prefix']}calc_template SET
`params` = '{\r\n    \"title\": \"Текст: Объединение текста\",\r\n    \"help\": \"text_concatenation\",\r\n    \"parameters\": {\r\n        \"field1\": {\r\n            \"type\": \"Field\",\r\n            \"name\": \"field1\",\r\n            \"description\": \"Выберите поле для шаблона\",\r\n            \"type_field\": [1,2,3,4,5,7,10,11,12,14],\r\n            \"help\": \"tpl_sel_field\"\r\n        },\r\n        \"result\": {\r\n            \"type\": \"Field\",\r\n            \"name\": \"result\",\r\n            \"description\": \"Поле-получатель\",\r\n            \"type_field\": 3,\r\n            \"help\": \"tpl_to_field\"\r\n        },\r\n        \"func_row\": {\r\n            \"type\": \"String\",\r\n            \"name\": \"func_row\",\r\n            \"description\": \"Шаблон\",\r\n            \"textarea\": true,\r\n            \"help\": \"text_concatenation_func\"\r\n        },\r\n        \"flex_data\": {\r\n            \"type\": \"String\",\r\n            \"name\": \"flex_data\",\r\n            \"description\": \"\",\r\n            \"help\": \"tpl_flex_string\"\r\n        }\r\n    }\r\n}'
WHERE id = 108");
