o.inputstyle = "apply"
o.write = function()
return luci.http.redirect(
- luci.dispatcher.build_url("admin/system/packages") ..
+ luci.dispatcher.build_url("admin/system/opkg") ..
"?submit=1&install=iptables-mod-conntrack-extra"
)
end
function p_install.write()
return luci.http.redirect(
- luci.dispatcher.build_url("admin/system/packages") ..
+ luci.dispatcher.build_url("admin/system/opkg") ..
"?submit=1&install=%s" % opkg_package
)
end
var e = document.getElementById(ifc.id + '-ifc-edit');
if (e) e.disabled = true;
- var link = L.url('admin/system/packages') + '?query=luci-proto&display=available';
+ var link = L.url('admin/system/opkg') + '?query=luci-proto&display=available';
L.dom.content(d, [
E('em', _('Unsupported protocol type.')), E('br'),
E('a', { href: link }, _('Install protocol extensions...'))
function p_install.write()
return luci.http.redirect(
- luci.dispatcher.build_url("admin/system/packages") ..
+ luci.dispatcher.build_url("admin/system/opkg") ..
"?submit=1&install=%s" % net:opkg_package()
)
end