3 * FusionForge globalsearch plugin
5 * Copyright 2003-2004, GForge, LLC
6 * Copyright 2007-2009, Roland Mas
8 * This file is part of FusionForge.
10 * FusionForge is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published
12 * by the Free Software Foundation; either version 2 of the License,
13 * or (at your option) any later version.
15 * FusionForge is distributed in the hope that it will be useful, but
16 * WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with FusionForge; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
26 class globalSearchPlugin extends Plugin {
27 function globalSearchPlugin () {
29 $this->name = "globalsearch" ;
30 $this->hooks[] = "site_admin_option_hook" ;
33 function CallHook ($hookname, $params) {
34 global $Language, $G_SESSION, $HTML, $group_id;
36 if ($hookname == "site_admin_option_hook") {
37 print '<li><a href="/plugins/globalsearch/edit_assoc_sites.php">'._("Admin Associated Sites").'</a></li>';
44 // c-file-style: "bsd"