modules/admin-full: remove duplicate fallback translation in opkg error reporting
[project/luci.git] / modules / admin-full / luasrc / view / admin_system / reboot.htm
index 600da36..f1656fb 100644 (file)
@@ -13,11 +13,11 @@ $Id$
 
 -%>
 <%+header%>
 
 -%>
 <%+header%>
-<h1><%:system%></h1>
-<h2><%:reboot%></h2>
+<h2><a id="content" name="content"><%:system%></a></h2>
+<h3><%:reboot%></h3>
 <p><%:a_s_reboot1%></p>
 <%-
 <p><%:a_s_reboot1%></p>
 <%-
-local c = require("luci.model.uci").changes()
+local c = require("luci.model.uci").cursor():changes()
 if c and next(c) then
 -%>
        <p class="warning"><%:a_s_reboot_u%></p> 
 if c and next(c) then
 -%>
        <p class="warning"><%:a_s_reboot_u%></p>