Debian Codegraph @

php/index.php

raw
1 <?
2 /*
3 * AikSaurus Online - A Web Interface to the AikSaurus Thesaurus Library
4 * Copyright (C) 2001 by Jared Davis
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */
20 ?>
21
22 <?
23
24 include("../format.php");
25 printHeader("phpAiksaur");
26
27 if (!empty($lookup))
28 {
29 include("phpAiksaur_embedded.php");
30 printFooter();
31 exit;
32 }
33
34 ?>
35
36 <h2><a href="popsaurus.png">
37 <img class="ss" src="popsaurus_thumb.png" align="right" width="250" height="212" border="1">
38 </a>
39 phpAiksaur: A PHP Thesaurus</h2>
40
41 <h3>Information</h3>
42
43 <p>phpAiksaur is a PHP interface to the Aiksaurus thesaurus library.
44 It is free, open-source software released under the
45 <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a>.
46 </p>
47
48 <p>phpAiksaur is <strong>easy to embed</strong> and customize in your web
49 site or web application. It should be easy to integrate with open
50 source web email clients, news authoring programs, and so forth.
51 </p>
52
53 <h3>Versions</h3>
54
55 <p>phpAiksaur includes two interfaces that you can choose from, and a core
56 php class if you'd rather write your own.
57 </p>
58
59 <p><strong>Web sites</strong> probably want to use the
60 <strong>embedded</strong> version. (<a href="index.php?lookup=ashen">demo</a>)
61 </p>
62 <ul>
63 <li>No JavaScript required</li>
64 <li>Can take on the appearance of your web site</li>
65 <li>Meant to function like a regular part of your site</li>
66 </ul>
67
68 <?
69 include("phpAiksaur_popup.php");
70 phpAiksaur_popup();
71 ?>
72
73 <form name="popupThesaurus">
74 <input type="hidden" name="lookup" value="ashen" />
75 </form>
76
77 <p><strong>Web applications</strong> probably want to use the
78 <strong>popup</strong> version. (<a href="javascript:launchThesaurus()">demo</a>)
79 </p>
80 <ul>
81 <li>Requires JavaScript on client's browser</li>
82 <li>Pops up he term into a new, tight window</li>
83 <li>Doesn't take user away from what they were doing</li>
84 <li>Ideal for web based email/authoring software</li>
85 </ul>
86
87 <?
88 printFooter();
89 ?>