noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 08/30: To let TOOLS plugin to add tag to oper


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 08/30: To let TOOLS plugin to add tag to operation
Date: Sat, 3 Dec 2022 08:35:07 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit f43666dcb76e56416b9d045b1242292eabcd34bd
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Nov 19 18:28:07 2022 +0100

    To let TOOLS plugin to add tag to operation
---
 include/class/tag_action.class.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/class/tag_action.class.php 
b/include/class/tag_action.class.php
index 5ae621a8e..cef954309 100644
--- a/include/class/tag_action.class.php
+++ b/include/class/tag_action.class.php
@@ -87,12 +87,13 @@ class Tag_Action extends Tag
     /**
      * let select a tag to add to the search
      */
-    function select_search($p_prefix)
+    function select_search($p_prefix,$title=true)
     {
         $res="";
         $ret=$this->get_data()->seek(' order by t_tag');
         require_once NOALYSS_TEMPLATE.'/tag_search_select.php';
-        return HtmlInput::title_box('Tag', $p_prefix.'tag_div').$res;
+        if ($title)         return HtmlInput::title_box('Tag', 
$p_prefix.'tag_div').$res;
+        else return $res;
     }
 
 }



reply via email to

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