noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 07/12: Tag : add color when selected


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 07/12: Tag : add color when selected
Date: Wed, 16 Nov 2022 14:39:17 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 6c807c9d47dbacb27a980ddbed71c95e1a5be9b0
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Nov 6 20:21:46 2022 +0100

    Tag : add color when selected
---
 include/class/tag_action.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/tag_action.class.php 
b/include/class/tag_action.class.php
index 6e4c1fb52..5ae621a8e 100644
--- a/include/class/tag_action.class.php
+++ b/include/class/tag_action.class.php
@@ -76,7 +76,7 @@ class Tag_Action extends Tag
     function update_search_cell($p_prefix)
     {
         $data=$this->get_data();
-        echo '<span id="sp_'.$p_prefix.$data->t_id.'" class="tagcell">';
+        printf ('<span id="sp_%s%s" class="tagcell 
tagcell-color%s">',$p_prefix,$data->t_id,$data->t_color);
         echo h($data->t_tag);
         echo HtmlInput::hidden($p_prefix.'tag[]', $data->t_id);
         $js=sprintf("$('sp_".$p_prefix.$data->t_id."').remove();");



reply via email to

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