Changeset 4377
- Timestamp:
- 03/27/09 02:10:17 (4 years ago)
- Files:
-
- 1 modified
-
luci/trunk/libs/web/luasrc/dispatcher.lua (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/libs/web/luasrc/dispatcher.lua
r4330 r4377 673 673 local pageaction = true 674 674 http.header("X-CBI-State", state or 0) 675 tpl.render("cbi/header", {state = state}) 675 if not config.noheader then 676 tpl.render("cbi/header", {state = state}) 677 end 676 678 for i, res in ipairs(maps) do 677 679 res:render() … … 680 682 end 681 683 end 682 tpl.render("cbi/footer", {pageaction=pageaction, state = state, autoapply = config.autoapply}) 684 if not config.nofooter then 685 tpl.render("cbi/footer", {pageaction=pageaction, state = state, autoapply = config.autoapply}) 686 end 683 687 end 684 688
