I am a bit embarrassed about this... I added the new search options but they were supposed to be disabled by default...
The new options for Web and Site were added so that it is simple for users to include the standard "search the web" or "search my site" functionality which is available on many websites. It was implemented in a way which is completely extensible:
1. To enable/disable the options in the skin object, you simply set the public attributes in your skin ( like any other skin object ):
<dnn:SEARCH runat="server" id="dnnSEARCH" showWeb="False" showSite="False" />
or for HTML skins, in the skin file:
<Object>
<Token>[SEARCH]</Token>
<Settings>
<Setting>
<Name>showWeb</Name>
<Value>False</Value>
</Setting>
<Setting>
<Name>ShowSite</Name>
<Value>False</Value>
</Setting>
</Settings>
</Object>
Note that you can set one option to True and the Other to False for even more customization. In addition there is another attribute:
UseWebForSite="True"
This option can be used if you want to leverage a search engine like Google for your internal site search - rather than using the native DNN search engine. In this case the results for a Site search will return publicly accessible results for only your website from a remote search engine.
2. You could also set them in the source code as per John's suggestion above - however since this is core code it means that your change may get overwritten on the next upgrade.
3. If you actually want the Site and Web options in your site, you also have the ability to configure them even more in the related RESX file ( Search.ascx.resx ) which is accessible using the DNN Language Editor:
<data name="URL.Text">
<value>http://www.google.com/custom?hl=en&client=pub-9770992166002654&sitesearch=[DOMAIN]&q=[TEXT]</value>
</data>
In this case the Web search is done using Google and it is passing an affiliate ClientID, optional SiteSearch domain name, and the search query. Any or all of the values in this resouce string can be modified to suit your needs. Note that by default, the DotNetNuke project ClientID is included in the search query, as it is an inobtrusive way for us to generate a bit advertising revenue to help offset the costs of provifing community programs and managing the open source project.
You can even support other search engines simply... for example for MSN you could specify:
<data name="URL.Text">
<value>http://search.msn.com/results.aspx?q=[TEXT]</value>
</data>
This enhancement was inspired by Steve Orr's recent article on Gadgets in AspNetPro magazine.