Fixed Reboot pages

This commit is contained in:
Steven Barth 2008-09-05 10:20:07 +00:00
parent cac36db080
commit c882d1f501
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ $Id$
<h2><%:reboot%></h2> <h2><%:reboot%></h2>
<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 if c and next(c) then
-%> -%>
<p class="warning"><%:a_s_reboot_u%></p> <p class="warning"><%:a_s_reboot_u%></p>

View file

@ -17,7 +17,7 @@ $Id$
<h2><%:reboot%></h2> <h2><%:reboot%></h2>
<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 if c and next(c) then
-%> -%>
<p class="warning"><%:a_s_reboot_u%></p> <p class="warning"><%:a_s_reboot_u%></p>