Changeset 12350


Ignore:
Timestamp:
06/22/09 07:27:28 (4 years ago)
Author:
eko
Message:

more dual radio stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/kromo/dd-wrt/index.asp

    r12028 r12350  
    302302                                                        <input type="hidden" name="fullswitch" value="0" /> 
    303303                                                        <input type="hidden" name="lan_ipaddr" value="4" /> 
    304                                                         <h2><% nvram_else_match("wl_mode", "ap", "<script type="text/javascript">Capture(idx.h2);</script>", "<script type="text/javascript">Capture(idx.h22);</script>"); %></h2> 
    305  
     304                                                         
     305                                                        <% ifdef("WET", "<!--"); %>      
     306                                                        <h2><script type="text/javascript">Capture(idx.h2);</script></h2>                        
     307                                                        <% ifdef("WET", "-->"); %> 
     308                                                        <% ifndef("WET", "<!--"); %> 
     309                                                        <h2><script type="text/javascript">Capture(idx.h22);</script></h2> 
     310                                                        <% ifndef("WET", "-->"); %> 
     311                                                         
    306312                                                        <fieldset> 
    307313                                                                <legend><% tran("idx.legend"); %></legend> 
    308314 
    309                                 <% nvram_match("wl0_mode", "ap", "<!--"); %> 
    310                                 <% nvram_match("wl0_mode", "sta", "<!--"); %> 
    311                                 <% nvram_match("wl0_mode", "infra", "<!--"); %> 
    312                                 <% nvram_match("wl0_mode", "apsta", "<!--"); %> 
    313                                 <% nvram_match("wl0_mode", "wdssta", "<!--"); %> 
    314                                 <% nvram_match("wl0_mode", "wdsap", "<!--"); %> 
     315                                <% ifndef("WET", "<!--"); %> 
    315316                                                                <div class="setting"> 
    316317                                                                <div class="label"><% tran("idx.conn_type"); %></div> 
    317318                                                                <% tran("share.disabled"); %> 
    318319                                                                </div> 
    319                                 <% nvram_match("wl0_mode", "ap", "-->"); %> 
    320                                 <% nvram_match("wl0_mode", "sta", "-->"); %> 
    321                                 <% nvram_match("wl0_mode", "infra", "-->"); %> 
    322                                 <% nvram_match("wl0_mode", "apsta", "-->"); %> 
    323                                 <% nvram_match("wl0_mode", "wdssta", "-->"); %>  
    324                                 <% nvram_match("wl0_mode", "wdsap", "-->"); %> 
    325  
     320                                <% ifndef("WET", "-->"); %> 
    326321                                 
    327                                 <% nvram_match("wl0_mode", "apstawet", "<!--"); %> 
    328                                 <% nvram_match("wl0_mode", "wet", "<!--"); %> 
     322                                <% ifdef("WET", "<!--"); %> 
    329323                                                                <div class="setting"> 
    330324                                                                <div class="label"><% tran("idx.conn_type"); %></div> 
     
    334328                                                                </div> 
    335329                                                                <% show_index_setting(); %> 
    336                                 <% nvram_match("wl0_mode", "wet", "-->"); %> 
    337                                 <% nvram_match("wl0_mode", "apstawet", "-->"); %> 
     330                                <% ifdef("WET", "-->"); %> 
    338331                                 
    339332                                                                <div class="setting"> 
     
    352345                                                                </div> 
    353346                         
    354                                 <% nvram_match("wl0_mode", "wet", "<!--"); %> 
    355                                 <% nvram_match("wl0_mode", "apstawet", "<!--"); %> 
     347                                <% ifdef("WET", "<!--"); %> 
    356348                                                                <div class="setting"> 
    357349                                                                        <div class="label"><% tran("share.hostname"); %></div> 
     
    374366                                                                        <input class="num" maxlength="4" onblur="valid_mtu(this)" size="5" name="wan_mtu" value="<% nvram_get("wan_mtu"); %>" /> 
    375367                                                                </div> 
    376                                 <% nvram_match("wl0_mode", "wet", "-->"); %> 
    377                                 <% nvram_match("wl0_mode", "apstawet", "-->"); %> 
     368                                <% ifdef("WET", "-->"); %> 
    378369                                                        </fieldset><br /> 
    379370                                                         
Note: See TracChangeset for help on using the changeset viewer.