<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ -%> <%+header%>

<%:system%> - <%:a_s_backup%>

<%:a_s_backup1%>

<% if step == 1 then %> <% local has_license = false %>
<%:a_s_backup_restore_desc%>
<% local style = true %> <% for k, v in pairs(list) do %> <% if #v > 0 then %> <% style = not style if string.find(v, "etc/thinktube/mc_license.enc") then has_license = true end end %> <% end %>
<%="/"..v%>

onclick="return window.confirm('<%:a_s_backup_restore_confirm%>')" <% end %> value="<%:proceed Proceed%>" />
<% else %>
<%:backup%>
<%:restore%>
<% end %> <%+footer%>