diff --git a/README.md b/README.md index d29ad80..bf7655f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ For most network scripts `on_alarm()` should be used. # User Interface -* `ui:show_text(string)` - displays plain text in the widget; repeated call erases the previous text; +* `ui:show_text(string, [no_html])` - displays plain text in widget, repeated call will erase previous text, if second argument is true HTML formatting will be disabled; * `ui:show_lines(table, [table])` - displays a list of lines with the sender (in the manner of a mail widget), the second argument (optional) - the corresponding senders (formatting in the style of a mail widget); * `ui:show_table(table, column_count, [centering], [folded_string])` - analogue of `show_lines` for displaying rows as a table, the first argument is a table of values, the second is the number of columns in the table, the third is a boolean value indicating whether it is necessary to center the table cells, the fourth is the row that will be shown in collapsed mode; * `ui:show_buttons(names, [colors])` - displays a list of buttons, the first argument is a table of strings, the second is an optional argument, a table of colors in the format #XXXXXX; diff --git a/README_ru.md b/README_ru.md index 5b999cb..6b5dd2e 100644 --- a/README_ru.md +++ b/README_ru.md @@ -16,7 +16,7 @@ # Функции показа данных -* `ui:show_text(string)` - выводит в виджет обычный текст; повторный вызов стирает предыдущий текст; +* `ui:show_text(string, [no_html])` - выводит в виджет обычный текст, повторный вызов стирает предыдущий текст, если второй аргумент true форматирование HTML будет отключено; * `ui:show_lines(table, [table])` - выводит список строк с отправителем (на манер почтового виджета), второй аргумент (необязательный) - соответствующие им отправители (форматирование в стиле почтового виджета); * `ui:show_table(table, column_count, [centering], [folded_string])` - аналог `show_lines` для вывода строк в виде таблицы, первый аргумент - таблица значений, второй - количество столбцов в таблице, третий - булево значение, указывающее, нужно ли центрировать ячейки таблицы, четвертый - строка, которая будет показана в свернутом режиме; * `ui:show_buttons(names, [colors])` - выводит список кнопок, первый аргумент - таблица строк, второй опциональный аргумент, таблица цветов в формате #XXXXXX; diff --git a/community/dropbox-notes.lua b/community/net-file.lua similarity index 100% rename from community/dropbox-notes.lua rename to community/net-file.lua