noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/14: Task #1045 - Amélioration apparence


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/14: Task #1045 - Amélioration apparence : Apparence
Date: Sun, 16 Nov 2014 14:27:50 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit b167e906e9fcfd389b347be84d3ed8a283ca82ca
Author: Dany De Bontridder <address@hidden>
Date:   Sun Nov 16 10:45:25 2014 +0100

    Task #1045 - Amélioration apparence  :
    Apparence
---
 include/search.inc.php          |    2 +-
 include/template/search_top.php |   42 ---------------------------------------
 2 files changed, 1 insertions(+), 43 deletions(-)

diff --git a/include/search.inc.php b/include/search.inc.php
index 47f9437..017c20e 100644
--- a/include/search.inc.php
+++ b/include/search.inc.php
@@ -60,7 +60,7 @@ if ($base == 'recherche.php' || $base == 'do.php')
                $div='search_op';
                $action="";
                $callback="";
-               require 'template/search_top.php';
+                echo HtmlInput::title_box(_('Recherche'), $div);
                echo '<form name="search_form_ajx" id="search_form_ajx" 
onsubmit="search_operation(this);return false">';
                echo HtmlInput::get_to_hidden(array('ctlc','ledger'));
                $inside=true;
diff --git a/include/template/search_top.php b/include/template/search_top.php
deleted file mode 100644
index 8b27755..0000000
--- a/include/template/search_top.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-/*
- *   This file is part of NOALYSS.
- *
- *   NOALYSS 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.
- *
- *   NOALYSS 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 NOALYSS; if not, write to the Free Software
- *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-/* $Revision$ */
-
-// Copyright Author Dany De Bontridder address@hidden
-
-/**\file
- *
- *
- * \brief
- *
- */
-?>
-<div 
style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px">
-<?php 
-   if ($div == "search_op") {
-     $callback=$_SERVER['PHP_SELF'];
-     $str="recherche.php?".Dossier::get().'&ac=SEARCH';
-     echo '<A id="close_div" HREF="javascript:void(0)" 
onclick="removeDiv(\''.$div.'\');">'._("Fermer").'</A>';
-   }
-?>
-</div>
-<div>
-       <?php echo h2info(_('Recherche'))?>
-</div>
\ No newline at end of file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]