[% WRAPPER "ui-header.html" stylesheet="ledgersmb.css" include_stylesheet=["system/setup.css"] %] [% PROCESS elements.html %]

## [% text('Database Management Console') %]

[% text('Where shall we send the backup?') %]
[% # notice, message, and operation are all localized. %]
[% notice %]
[% INCLUDE input element_data = { name = 'database' type = 'hidden' value = database } %] [% INCLUDE input element_data = { name = 'backup' type = 'hidden' value = backup } %]
[% IF can_email %] [% INCLUDE input element_data = { type = 'radio' name = 'backup_type' label = text('To email') #' value = 'email' }, label_pos = 1 %] [% INCLUDE input element_data = { type = "text" name = "email" value = email class = "email" } %] [% ELSE %] [% INCLUDE input element_data = { type = 'radio' name = 'backup_type' label = text('To email') #' value = 'email' disabled = 'disabled' }, label_pos = 1 %] [% INCLUDE input element_data = { type = "text" name = "email" value = email class = "email" disabled = "disabled" } %] [% END %]
[% INCLUDE input element_data = { type = 'radio' name = 'backup_type' label = text('To my browser') #' value = 'browser' checked = "checked" }, label_pos = 1 %]
[% INCLUDE button element_data = { name = '__action' value = 'run_backup' type = 'submit' class = 'submit' text = text('Run Backup') #' } %]
[% END %]