- Timestamp:
- 10/08/09 01:27:39 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
r5368 r5369 30 30 31 31 <ul style="margin:0; list-style-type:none"> 32 <% for _, zone in ipairs(zones) do %><%# --utl.spairs(zones, function(a,b) return (zones[a]:name() < zones[b]:name()) end) do %>32 <% for _, zone in utl.spairs(zones, function(a,b) return (zones[a]:name() < zones[b]:name()) end) do %> 33 33 <li style="padding:0.5em"> 34 34 <input class="cbi-input-radio" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="radio"<%=attr("id", cbid .. "." .. zone:name()) .. attr("name", cbid) .. attr("value", zone:name()) .. ifattr(value == zone:name(), "checked", "checked")%> /> … … 46 46 <% end %> 47 47 <% end %> 48 <% if empty then %><em> (no interfaces attached)</em><% end %>48 <% if empty then %><em><%:a_s_ipt_zone_empty (no interfaces attached)%></em><% end %> 49 49 </label> 50 50 </li> … … 54 54 <input class="cbi-input-radio" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="radio"<%=attr("id", cbid .. "_new") .. attr("name", cbid) .. attr("value", "-") .. ifattr(not value, "checked", "checked")%> /> 55 55 <div style="background-color:<%=fwm.zone.get_color()%>; padding:0.5em; display:inline"> 56 <label<%=attr("for", cbid .. "_new")%>><em> unspecified / create: </em></label>56 <label<%=attr("for", cbid .. "_new")%>><em><%:a_s_ipt_zone_unspec_create unspecified -or- create:%> </em></label> 57 57 <input style="width:6em" type="text"<%=attr("name", cbid .. ".newzone")%> /> 58 58 </div>
