mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Allow to not set any country
This commit is contained in:
parent
be059a42ae
commit
08c0dea655
1 changed files with 3 additions and 2 deletions
|
@ -389,8 +389,9 @@
|
|||
<label class="cbi-value-title"><%:Country%></label>
|
||||
<div class="cbi-value-field">
|
||||
<select class="cbi-input-select" name="country" size="1">
|
||||
<option value="world" <% if uci:get("openmptcprouter","settings","country") == "world" or uci:get("openmptcprouter","settings","country") == nil then %>selected="selected"<% end %>>World</option>
|
||||
<option value="china" <% if uci:get("openmptcprouter","settings","country") == "china" then %>selected="selected"<% end %>>China</option>
|
||||
<option value="" <% if uci:get("openmptcprouter","settings","country") == nil then %>selected="selected"<% end %>><%:None%></option>
|
||||
<option value="world" <% if uci:get("openmptcprouter","settings","country") == "world" then %>selected="selected"<% end %>><%:World%></option>
|
||||
<option value="china" <% if uci:get("openmptcprouter","settings","country") == "china" then %>selected="selected"<% end %>><%:China%></option>
|
||||
</select>
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue