[Fusionforge-commits] FusionForge branch 6.0 updated. v6.0.3-77-gc21ba38

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Jan 31 10:57:15 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  c21ba38b236411d2f7eaa0668be906254f5f0833 (commit)
      from  cd5a19b920ab2e2d7488106435811701b4862961 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=c21ba38b236411d2f7eaa0668be906254f5f0833

commit c21ba38b236411d2f7eaa0668be906254f5f0833
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Jan 31 10:56:52 2016 +0100

    search engine plugin: add missing licence, use util_make_url when needed, remove broken image

diff --git a/src/www/export/search_plugin.php b/src/www/export/search_plugin.php
index 157c7b8..7d5f06c 100644
--- a/src/www/export/search_plugin.php
+++ b/src/www/export/search_plugin.php
@@ -1,22 +1,36 @@
 <?php
-/*
- * Project List plugin for Gforge
- * by Nicolas Quienot
- * Copyright (c) 2008 Linagora
- * License : GNU General Public License
+/**
+ * Project List plugin for FusionForge
+ * Copyright 2008, Nicolas Quienot - Linagora
+ * Copyright 2015, Franck Villaume - TrivialDev
+ * http://fusionforge.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 Licence, 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 require_once '../env.inc.php';
 require_once $gfcommon.'include/pre.php';
 
+$sysdebug_enable = false;
+
 print '<?xml version="1.0" encoding="UTF-8"?>';
 ?>
 <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
 <ShortName><?php echo forge_get_config ('forge_name'); ?></ShortName>
 <Description><?php echo _("Search in project"); ?></Description>
 <InputEncoding>UTF-8</InputEncoding>
-<Image width="16" height="16" type="image/x-icon"><?php echo "http://".forge_get_config('web_host')."/images/opensearchdescription.png"; ?></Image>
-<Url type="text/html" method="GET" template="<?php print 'http' . (session_issecure()?'s':'') . '://' . forge_get_config('web_host'); ?>/search/?type_of_search=soft&words={searchTerms}"/>
+<Url type="text/html" template="<?php print util_make_url('/search/?type_of_search=soft&words={searchTerms}'); ?>" />
 </OpenSearchDescription>

-----------------------------------------------------------------------

Summary of changes:
 src/www/export/search_plugin.php | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list