$enable_value, 'user_editable' => $user_value, 'also_mail' => $mail_value, 'max_postpone_time' => $postpone_value ), array('id' => $source['id']) ); return $res && $carry; }, true); } // Notification table. It is just a wrapper. $table_content = new StdClass(); $table_content->data = array(); $table_content->width = '100%'; $table_content->id = 'notifications-wrapper'; $table_content->class = 'databox filters'; $table_content->size['name'] = '30%'; $table_remote->style['name'] = 'font-weight: bold'; // Print each source configuration $table_content->data = array_map(function ($source) { return notifications_print_global_source_configuration($source); }, notifications_get_all_sources()); $table_content->data[] = html_print_submit_button( __('Update'), 'update_button', false, 'class="sub upd" style="display: flex; "', true ); echo '
'; html_print_input_hidden('update_config', 1); html_print_table($table_content); echo '
';