Changeset 7567


Ignore:
Timestamp:
07/28/07 17:21:33 (6 years ago)
Author:
BrainSlayer
Message:

display ack timing help only on ack supported devices. Factory Defaults gui fix

Location:
src/router
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/modules/broadcom.c

    r7553 r7567  
    10721072    websWrite (wp, output); 
    10731073#endif 
    1074  
    1075 /* 
    1076    struct support_list *v; 
    1077    for (v = supports; v < &supports[SUPPORT_COUNT]; v++) 
    1078     { 
    1079       if (!strcmp (v->supp_name, name) && !strcmp (v->supp_value, value)) 
    1080         { 
    1081           websWrite (wp, output); 
    1082           return; 
    1083         } 
    1084     } 
    1085 */ 
     1074#ifdef HAVE_ACK 
     1075  if (!strcmp (name, "ACK") && !strcmp (value, "1")) 
     1076    websWrite (wp, output); 
     1077#endif 
     1078 
    10861079  return; 
    10871080} 
     
    11211114#ifndef HAVE_WIVIZ 
    11221115  if (!strcmp (name, "WIVIZ_SUPPORT") && !strcmp (value, "1")) 
     1116    { 
     1117      websWrite (wp, output); 
     1118      return; 
     1119    } 
     1120#endif 
     1121#ifndef HAVE_ACK 
     1122  if (!strcmp (name, "ACK") && !strcmp (value, "1")) 
    11231123    { 
    11241124      websWrite (wp, output); 
     
    11671167  return; 
    11681168#endif 
    1169 /* 
    1170   struct support_list *v; 
    1171   for (v = supports; v < &supports[SUPPORT_COUNT]; v++) 
    1172     { 
    1173       if (!strcmp (v->supp_name, name)) 
    1174         { 
    1175           if (strcmp (v->supp_value, value)) 
    1176             { 
    1177               websWrite (wp, output); 
    1178               return; 
    1179             } 
    1180           else 
    1181             return; 
    1182         } 
    1183     } 
    1184 */ 
    11851169//        websWrite(wp,output); 
    11861170  return; 
  • src/router/kromo/cisco_wrt54g_en/Factory_Defaults.asp

    r7450 r7567  
    99                } 
    1010                F.save_button.value = sbutton.saving; 
    11                 apply(F); 
    12                 return true; 
    13         } 
    14 } 
    15 function to_apply(F) { 
    16         if( F.FactoryDefaults[0].checked == 1 ) { 
    17                 if(!confirm(factdef.mess1)) { 
    18                         return false; 
    19                 } 
    20                 F.save_button.value = sbutton.saving; 
    21                 applytake(F); 
     11                applyupdate(F); 
    2212                return true; 
    2313        } 
     
    7262                                                                <script type="text/javascript"> 
    7363                                                                //<![CDATA[ 
    74                                                                 submitFooterButton(1,1); 
     64                                                                document.write("<input class=\"button\" type=\"button\" name=\"save_button\" value=\"" + sbutton.save + "\" onclick=\"to_submit(this.form);\" />"); 
     65                                                                document.write("<input class=\"button\" type=\"button\" name=\"reset_button\" value=\"" + sbutton.cancel + "\" onclick=\"window.location.reload();\" />"); 
    7566                                                                //]]> 
    7667                                                                </script> 
  • src/router/kromo/cisco_wrt54g_en/Makefile

    r7414 r7567  
    7474        mkdir $(INSTALLDIR)/www/style/buffalo 
    7575        cp buffalo/style.css $(INSTALLDIR)/www/style/buffalo 
    76         cp buffalo/common_buffalo.css $(INSTALLDIR)/www/style 
     76#       cp elegant/style_ie.css $(INSTALLDIR)/www/style/buffalo 
     77        cp buffalo/common.css $(INSTALLDIR)/www/style 
    7778        cp buffalo/images/* $(INSTALLDIR)/www/images 
     79 
     80#       mkdir $(INSTALLDIR)/www/style/buffalo 
     81#       cp buffalo/style.css $(INSTALLDIR)/www/style/buffalo 
     82#       cp buffalo/common_buffalo.css $(INSTALLDIR)/www/style 
     83#       cp buffalo/images/* $(INSTALLDIR)/www/images 
    7884endif 
    7985 
  • src/router/kromo/cisco_wrt54g_en/Wireless_Basic.asp

    r7450 r7567  
    229229                                                <dt class="term"><% tran("wl_basic.label2"); %>:</dt> 
    230230                                                <dd class="definition"><% tran("hwl_basic.right2"); %></dd> 
     231<% support_invmatch("ACK","1","<!--"); %> 
    231232                                                <dt class="term"><% tran("hwl_basic.right3"); %></dt> 
    232233                                                <dd class="definition"><% tran("hwl_basic.right4"); %></dd> 
     234<% support_invmatch("ACK","1","-->"); %> 
    233235                                        </dl><br /> 
    234236                                        <a href="javascript:openHelpWindow<% nvram_selmatch("dist_type","micro","Ext"); %>('HWireless.asp')"><% tran("share.more"); %></a> 
  • src/router/kromo/cisco_wrt54g_en/help/HWireless.asp

    r6808 r7567  
    3535                                <dt>Wireless SSID Broadcast</dt> 
    3636                                <dd>When wireless clients survey the local area for wireless networks to associate with, they will detect the SSID broadcast by the router. To broadcast the router SSID, keep the default setting, <i>Enable</i>. If you do not want to broadcast the router SSID, then select <i>Disable</i>.</dd> 
     37<% support_invmatch("ACK","1","<!--"); %> 
    3738                                <dt>Sensitivity Range</dt> 
    3839                                <dd>Adjusts the ack timing in Atheros typical way based on the maximum distance in meters 
    3940                                        <div class="note"> 
    4041                                                <h4>Note</h4> 
    41                                                 <div>On Atheros based DD-WRT firmwares 0 will not disable ack timing but will turn into a dynamic ACK timing mode</div> 
     42                                                <div>On Atheros based DD-WRT firmwares 0 will not disable ack timing but will turn into default ACK timing mode</div> 
    4243                                        </div> 
    4344                                        <ul class="wide"> 
     
    4647                                        </ul> 
    4748                                </dd> 
     49<% support_invmatch("ACK","1","-->"); %> 
    4850                                <dd>Check all values and click <i>Save Settings</i> to save your settings. Click <i>Cancel Changes</i> to cancel your unsaved changes.</dd> 
    4951                        </dl> 
Note: See TracChangeset for help on using the changeset viewer.