From 030b45af8e7a53e4f1b7bb3720cbf5e658010c44 Mon Sep 17 00:00:00 2001
From: marcos <marcos.alconada@artica.es>
Date: Thu, 7 Oct 2021 12:50:10 +0200
Subject: [PATCH] add new filter fot litghbulb_off

---
 pandora_console/godmode/users/user_list.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pandora_console/godmode/users/user_list.php b/pandora_console/godmode/users/user_list.php
index aca2686e59..e146bf9646 100644
--- a/pandora_console/godmode/users/user_list.php
+++ b/pandora_console/godmode/users/user_list.php
@@ -716,10 +716,12 @@ foreach ($info as $user_id => $user_info) {
                     $toDoString = __('Disable');
                     $toDoAction = '1';
                     $toDoImage  = 'images/lightbulb.png';
+                    $toDoClass  = '';
                 } else {
                     $toDoString = __('Enable');
                     $toDoAction = '0';
                     $toDoImage  = 'images/lightbulb_off.png';
+                    $toDoClass  = 'filter_none';
                 }
 
                 $data[6] = '<form method="POST" action="index.php?sec='.$sec.'&amp;sec2=godmode/users/user_list&amp;pure='.$pure.'" class="inline">';
@@ -742,7 +744,7 @@ foreach ($info as $user_id => $user_info) {
                     [
                         'data-title'                     => $toDoString,
                         'data-use_title_for_force_title' => '1',
-                        'class'                          => 'forced_title no-padding',
+                        'class'                          => 'forced_title no-padding '.$toDoClass,
                     ]
                 );
                 $data[6] .= '</form>';