Changeset 12632
- Timestamp:
- 08/11/09 14:03:17 (4 years ago)
- File:
-
- 1 edited
-
src/router/kromo/dd-wrt/Routing.asp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/kromo/dd-wrt/Routing.asp
r12629 r12632 124 124 <% nvram_else_selmatch("wk_mode","ospf","","<!--"); %> 125 125 <fieldset> 126 <legend><% tran("route.zebra_legend"); %></legend> 126 <legend><% tran("route.ospf_legend"); %></legend> 127 <div class="setting"> 128 <div class="label"><% tran("route.ospf_conf"); %></div> 129 <textarea cols="60" rows="4" id="ospfd_conf" name="ospfd_conf"></textarea> 130 <script type="text/javascript"> 131 //<![CDATA[ 132 var ospfd_conf = fix_cr( '<% nvram_get("ospfd_conf"); %>' ); 133 document.getElementById("ospfd_conf").value = ospfd_conf; 134 //]]> 135 </script> 136 </div> 127 137 <div class="setting"> 128 138 <div class="label"><% tran("route.zebra_legend"); %></div> … … 138 148 <div class="label"><% tran("route.zebra_log"); %></div> 139 149 <input class="spaceradio" type="radio" name="zebra_log" value="1" <% nvram_checked("zebra_log", "1"); %> /><% tran("share.enable"); %> 140 <input class="spaceradio" type="radio" name=" tebra_log" value="0" <% nvram_checked("zebra_log", "0"); %> /><% tran("share.disable"); %>150 <input class="spaceradio" type="radio" name="zebra_log" value="0" <% nvram_checked("zebra_log", "0"); %> /><% tran("share.disable"); %> 141 151 </div> 142 152 </fieldset><br /> 143 <fieldset>144 <legend><% tran("route.ospf_legend"); %></legend>145 <div class="setting">146 <div class="label"><% tran("route.ospf_conf"); %></div>147 <textarea cols="60" rows="4" id="ospfd_conf" name="ospfd_conf"></textarea>148 <script type="text/javascript">149 //<![CDATA[150 var ospfd_conf = fix_cr( '<% nvram_get("ospfd_conf"); %>' );151 document.getElementById("ospfd_conf").value = ospfd_conf;152 //]]>153 </script>154 </div>155 </fieldset>156 153 <% nvram_else_selmatch("wk_mode","ospf","","-->"); %> 157 <% nvram_else_selmatch("wk_mode","bgp","","<!--"); %> 158 <fieldset> 159 <legend><% tran("route.zebra_legend"); %></legend> 154 <% nvram_else_selmatch("wk_mode","bgp","","<!--"); %> 155 <fieldset> 156 <legend><% tran("route.bgp_legend"); %></legend> 157 <div class="setting"> 158 <div class="label"><% tran("route.bgp_own_as"); %></div> 159 <input size="10" name="routing_bgp_as" value="<% nvram_get("routing_bgp_as"); %>" /> 160 </div> 161 <div class="setting"> 162 <div class="label"><% tran("route.bgp_ip"); %></div> 163 <input type="hidden" name="routing_bgp_neighbor_ip" value="0.0.0.0" /><input size="3" maxlength="3" name="routing_bgp_neighbor_ip_0" onblur="valid_range(this,0,255,route.bgp_ip)" class="num" value="<% get_single_ip("routing_bgp_neighbor_ip","0"); %>" />.<input size="3" maxlength="3" name="routing_bgp_neighbor_ip_1" onblur="valid_range(this,0,255,route.bgp_ip)" class="num" value="<% get_single_ip("routing_bgp_neighbor_ip","1"); %>" />.<input size="3" maxlength="3" name="routing_bgp_neighbor_ip_2" onblur="valid_range(this,0,255,route.bgp_ip)" class="num" value="<% get_single_ip("routing_bgp_neighbor_ip","2"); %>" />.<input size="3" maxlength="3" name="routing_bgp_neighbor_ip_3" onblur="valid_range(this,0,254,route.bgp_ip)" class="num" value="<% get_single_ip("routing_bgp_neighbor_ip","3"); %>" /> 164 </div> 165 <div class="setting"> 166 <div class="label"><% tran("route.bgp_as"); %></div> 167 <input size="10" name="routing_bgp_neighbor_as" value="<% nvram_get("routing_bgp_neighbor_as"); %>" /> 168 </div> 160 169 <div class="setting"> 161 170 <div class="label"><% tran("route.zebra_legend"); %></div> … … 171 180 <div class="label"><% tran("route.zebra_log"); %></div> 172 181 <input class="spaceradio" type="radio" name="zebra_log" value="1" <% nvram_checked("zebra_log", "1"); %> /><% tran("share.enable"); %> 173 <input class="spaceradio" type="radio" name="tebra_log" value="0" <% nvram_checked("zebra_log", "0"); %> /><% tran("share.disable"); %> 174 </div> 175 </fieldset><br /> 176 <fieldset> 177 <legend><% tran("route.bgp_legend"); %></legend> 178 <div class="setting"> 179 <div class="label"><% tran("route.bgp_own_as"); %></div> 180 <input size="10" name="routing_bgp_as" value="<% nvram_get("routing_bgp_as"); %>" /> 181 </div> 182 <div class="setting"> 183 <div class="label"><% tran("route.bgp_ip"); %></div> 184 <input type="hidden" name="routing_bgp_neighbor_ip" value="0.0.0.0" /><input size="3" maxlength="3" name="routing_bgp_neighbor_ip_0" onblur="valid_range(this,0,255,route.bgp_ip)" class="num" value="<% get_single_ip("routing_bgp_neighbor_ip","0"); %>" />.<input size="3" maxlength="3" name="routing_bgp_neighbor_ip_1" onblur="valid_range(this,0,255,route.bgp_ip)" class="num" value="<% get_single_ip("routing_bgp_neighbor_ip","1"); %>" />.<input size="3" maxlength="3" name="routing_bgp_neighbor_ip_2" onblur="valid_range(this,0,255,route.bgp_ip)" class="num" value="<% get_single_ip("routing_bgp_neighbor_ip","2"); %>" />.<input size="3" maxlength="3" name="routing_bgp_neighbor_ip_3" onblur="valid_range(this,0,254,route.bgp_ip)" class="num" value="<% get_single_ip("routing_bgp_neighbor_ip","3"); %>" /> 185 </div> 186 <div class="setting"> 187 <div class="label"><% tran("route.bgp_as"); %></div> 188 <input size="10" name="routing_bgp_neighbor_as" value="<% nvram_get("routing_bgp_neighbor_as"); %>" /> 182 <input class="spaceradio" type="radio" name="zebra_log" value="0" <% nvram_checked("zebra_log", "0"); %> /><% tran("share.disable"); %> 189 183 </div> 190 184 </fieldset><br/> … … 206 200 <div class="label"><% tran("route.zebra_log"); %></div> 207 201 <input class="spaceradio" type="radio" name="zebra_log" value="1" <% nvram_checked("zebra_log", "1"); %> /><% tran("share.enable"); %> 208 <input class="spaceradio" type="radio" name=" tebra_log" value="0" <% nvram_checked("zebra_log", "0"); %> /><% tran("share.disable"); %>202 <input class="spaceradio" type="radio" name="zebra_log" value="0" <% nvram_checked("zebra_log", "0"); %> /><% tran("share.disable"); %> 209 203 </div> 210 204 </fieldset><br />
Note: See TracChangeset
for help on using the changeset viewer.
