Changeset 7017

Show
Ignore:
Timestamp:
05/04/11 00:06:29 (2 years ago)
Author:
jow
Message:

modules/admin-full: merge services/dnsmasq and network/dhcpleases into network/dhcp

Location:
luci/trunk/modules/admin-full/luasrc
Files:
1 added
2 removed
2 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/modules/admin-full/luasrc/controller/admin/network.lua

    r6975 r7017  
    107107 
    108108    if nixio.fs.access("/etc/config/dhcp") then 
    109         page = node("admin", "network", "dhcpleases") 
    110         page.target = cbi("admin_network/dhcpleases") 
    111         page.title  = i18n("DHCP Leases") 
     109        page = node("admin", "network", "dhcp") 
     110        page.target = cbi("admin_network/dhcp") 
     111        page.title  = i18n("DHCP and DNS") 
    112112        page.order  = 30 
    113113 
  • luci/trunk/modules/admin-full/luasrc/controller/admin/services.lua

    r7015 r7017  
    2828    page.order  = 40 
    2929    page.index  = true 
    30  
    31     if nixio.fs.access("/etc/config/dhcp") then 
    32         local page  = node("admin", "services", "dnsmasq") 
    33         page.target = cbi("admin_services/dnsmasq") 
    34         page.title  = "Dnsmasq" 
    35         page.order  = 30 
    36     end 
    3730end