* - The ))JavaScript(( code (located in the file Tiki.js) is executed when the user enters a search term and hits the button.
|
|
!!- The PHP File – “mod_dictionary.php”
|
-{CODE(in=>1)}<?php
|
+{CODE(in=>1)}<?php |
/* Empty Placeholder Module
|
// As you can see - there is nothing in this file - it is simply a placeholder
|
*/
|
-?> {CODE}
|
+?> {CODE} |
!!- The TPL File – “mod_dictionary.tpl”
|
-{CODE(in=>1)}{* $Header: /cvsroot/tikipro/_p_tp_search/modules/mod_dictionary.tpl,v 1.0 2004/08/25 21:28:32 starrider Exp $ *}
|
+{CODE(in=>1)}{* $Header: /cvsroot/bitweaver/_p_tp_search/modules/mod_dictionary.tpl,v 1.0 2004/08/25 21:28:32 starrider Exp $ *} |
{if $gTikiSystemPrefs.feature_search eq 'y'}
|
- {tikimodule title="{tr}Word Lookup{/tr}" name="dictionary"}
|
- <form name="dict_form" action="action">
|
- <h3 align="center">Word to look up:
|
- <input type="text" name="term" size=27 maxlength=48 value="" />
|
- <select name="dtselect" size=1>
|
- <option value="http://www.dictionary.com/cgi-bin/dict.pl?term=">Dictionary</option>
|
- <option value="http://www.thesaurus.com/cgi-bin/search?config=roget&words=">Thesaurus</option>
|
- <option value="http://www.acronymfinder.com/af-query.asp?p=dict&String=exact&Acronym=">Acronyms</option>
|
- <option value="http://web.ask.com/web?q=">AskJeeves</option>
|
- <option value="http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=">Google</option>
|
- <option value="http://www.highbeam.com/library/search.asp?FN=AO&q=">eLibrary</option>
|
- </select> <input type="button" value="Go!" onClick="dict_thes()"> <br>
|
- </h3>
|
- </form>
|
+ {tikimodule title="{tr}Word Lookup{/tr}" name="dictionary"} |
+ <form name="dict_form" action="action"> |
+ <h3 align="center">Word to look up: |
+ <input type="text" name="term" size=27 maxlength=48 value="" /> |
+ <select name="dtselect" size=1> |
+ <option value="http://www.dictionary.com/cgi-bin/dict.pl?term=">Dictionary</option> |
+ <option value="http://www.thesaurus.com/cgi-bin/search?config=roget&words=">Thesaurus</option> |
+ <option value="http://www.acronymfinder.com/af-query.asp?p=dict&String=exact&Acronym=">Acronyms</option> |
+ <option value="http://web.ask.com/web?q=">AskJeeves</option> |
+ <option value="http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=">Google</option> |
+ <option value="http://www.highbeam.com/library/search.asp?FN=AO&q=">eLibrary</option> |
+ </select> <input type="button" value="Go!" onClick="dict_thes()"> <br> |
+ </h3> |
+ </form> |
{/tikimodule}
|
{/if} {CODE}
|
^-=::Examining The TPL File::=-
|