[Fusionforge-commits] r10637 - in trunk/src/www/search: . include include/renderers

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Sep 22 18:14:50 CEST 2010


Author: nerville
Date: 2010-09-22 18:14:49 +0200 (Wed, 22 Sep 2010)
New Revision: 10637

Modified:
   trunk/src/www/search/advanced_search.php
   trunk/src/www/search/include/SearchManager.class.php
   trunk/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
   trunk/src/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php
   trunk/src/www/search/index.php
Log:
exit functions migration

Modified: trunk/src/www/search/advanced_search.php
===================================================================
--- trunk/src/www/search/advanced_search.php	2010-09-22 16:02:20 UTC (rev 10636)
+++ trunk/src/www/search/advanced_search.php	2010-09-22 16:14:49 UTC (rev 10637)
@@ -1,14 +1,28 @@
 <?php
-
 /**
- * GForge Search Engine
+ * Search Engine
  *
  * Copyright 2004 (c) Dominik Haas, GForge Team
+ * http://fusionforge.org
  *
- * http://gforge.org
+ * This file is part of FusionForge.
  *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once $gfcommon.'include/escapingUtils.php';

Modified: trunk/src/www/search/include/SearchManager.class.php
===================================================================
--- trunk/src/www/search/include/SearchManager.class.php	2010-09-22 16:02:20 UTC (rev 10636)
+++ trunk/src/www/search/include/SearchManager.class.php	2010-09-22 16:14:49 UTC (rev 10637)
@@ -1,11 +1,25 @@
 <?php
 /**
- * GForge Search Engine
+ * Search Engine
  *
  * Copyright 2004 (c) Guillaume Smet
+ * http://fusionforge.org
  *
- * http://gforge.org
+ * This file is part of FusionForge.
  *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 require_once $gfwww.'search/include/engines/GroupSearchEngine.class.php';

Modified: trunk/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
===================================================================
--- trunk/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php	2010-09-22 16:02:20 UTC (rev 10636)
+++ trunk/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php	2010-09-22 16:14:49 UTC (rev 10637)
@@ -1,14 +1,28 @@
 <?php
-
 /**
- * GForge Search Engine
+ * Search Engine
  *
  * Copyright 2004 (c) Dominik Haas, GForge Team
+ * http://fusionforge.org
  *
- * http://gforge.org
+ * This file is part of FusionForge.
  *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+
 require_once $gfcommon.'include/pre.php';
 require_once $gfwww.'search/include/renderers/HtmlGroupSearchRenderer.class.php';
 

Modified: trunk/src/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php
===================================================================
--- trunk/src/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php	2010-09-22 16:02:20 UTC (rev 10636)
+++ trunk/src/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php	2010-09-22 16:14:49 UTC (rev 10637)
@@ -1,15 +1,29 @@
 <?php
-
 /**
- * GForge Search Engine
+ * Search Engine
  *
- * Portions Copyright 1999-2001 (c) VA Linux Systems
- * The rest Copyright 2004 (c) Guillaume Smet / Open Wide
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2004 (c) Guillaume Smet
+ * http://fusionforge.org
  *
- * http://gforge.org
+ * This file is part of FusionForge.
  *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+
 require_once $gfwww.'search/include/renderers/HtmlGroupSearchRenderer.class.php';
 require_once $gfcommon.'search/ArtifactSearchQuery.class.php';
 
@@ -93,10 +107,8 @@
 	 * redirectToResult - redirect the user  directly to the result when there is only one matching result
 	 */
 	function redirectToResult() {
-		header('Location: /tracker/?group_id='.$this->groupId.'&atid='.$this->artifactId.'&func=detail&aid='.$this->getResultId('artifact_id'));
-		exit();
+        session_redirect('/tracker/?group_id='.$this->groupId.'&atid='.$this->artifactId.'&func=detail&aid='.$this->getResultId('artifact_id'));
 	}
-	
 }
 
 // Local Variables:

Modified: trunk/src/www/search/index.php
===================================================================
--- trunk/src/www/search/index.php	2010-09-22 16:02:20 UTC (rev 10636)
+++ trunk/src/www/search/index.php	2010-09-22 16:14:49 UTC (rev 10637)
@@ -1,13 +1,26 @@
 <?php
-
 /**
- * GForge Search Engine
+ * Search Engine
  *
- * Portions Copyright 1999-2001 (c) VA Linux Systems
- * The rest Copyright 2004 (c) Guillaume Smet / Open Wide
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2004 (c) Guillaume Smet / Open Wide
+ * http://fusionforge.org
  *
- * http://gforge.org
+ * This file is part of FusionForge.
  *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 




More information about the Fusionforge-commits mailing list