[% USE JSON; USE Whostmgr; WRAPPER 'master_templates/master.tmpl' header = locale.maketext('Backup Restoration') breadcrumburl = '/scripts5/restoremenu' theme = 'bootstrap' app_key = 'backup_restoration' stylesheets = [ Whostmgr.find_file_url('/templates/backup/common.min.css'), Whostmgr.find_file_url('/yui/assets/skins/sam/calendar.css') ] scripts = [ Whostmgr.find_file_url('/yui/calendar/calendar-min.js'), Whostmgr.find_file_url('/templates/backup/form.min.js'), Whostmgr.find_file_url('/templates/backup/restore.min.js') ]; SET spinner16 = MagicRevision('/images/loading-arrows-16.gif'); SET activeImage = MagicRevision('/images/24-active.gif'); SET pendingImage = MagicRevision('/images/24-pending.png'); SET successImage = MagicRevision('/images/24-success.png'); SET warningImage = MagicRevision('/images/warning.png'); SET errorImage = MagicRevision('/images/24-error.png'); %]

[% locale.maketext('To queue an account for restoration, select either the [output,strong,Restore by Account] tab or the [output,strong,Restore by Date] tab.') %]

[% locale.maketext('You [output,strong,must] click the [output,strong,Restore] button at the bottom of the page to activate the Restoration Queue.') %]

[% locale.maketext('Select User') %]
[%# XXX You may be wondering why I'm not being explicit here and using 'pairs()' or 'keys()' or 'sort()', and instead relying on the 'default' behavior in this case (presuming 'pairs()' in the case of a hash). The reason why is because if you have any hash keys that conflict with those vmethods, the hash key in fact will *overload* the vmethod, at which point hilarity ensues. See CPANEL-27963. %] [% FOREACH i IN data.users_list %] [% i.key %] [% SET cache = loop.count + 1 %] [% END %]
[% locale.maketext('Available Backup Dates') %]
[% locale.maketext('Options') %]

[% locale.maketext('Restoration Queue') %]

[% locale.maketext('Account') %] [% locale.maketext('Original Backup Date') %] [% locale.maketext('Source') %] [% locale.maketext('Status') %]
[% locale.maketext('Please wait while the restoration queue is loaded.') %]
[% END #wrapper -%]