Debian Codegraph @

php/phpAiksaur_popup.php

raw
1 <?
2 /*
3 * phpAiksaur - 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 function phpAiksaur_popup()
22 {
23 print "<script language=\"JavaScript1.1\">\n"
24 . "<!--\n"
25 . " function launchThesaurus()\n"
26 . " {\n"
27 . " url = \"phpAiksaur_popup_frameset.php?lookup=\"\n"
28 . " + document.popupThesaurus.lookup.value;\n\n"
29 . " Pop = window.open(\n"
30 . " url,\n"
31 . " \"AikSaurus_PHP_Popup\",\n"
32 . " \"toolbar=1,location=0,directories=0,status=0,menubar=0,\"\n"
33 . " + \"resizable=1,scrollbars=1,width=480,height=340\"\n"
34 . " );\n"
35 . " }\n"
36 . "// -->\n"
37 . "</script>";
38 }
39
40 ?>