mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
add new filter fot litghbulb_off
This commit is contained in:
parent
795d5c055a
commit
030b45af8e
@ -716,10 +716,12 @@ foreach ($info as $user_id => $user_info) {
|
|||||||
$toDoString = __('Disable');
|
$toDoString = __('Disable');
|
||||||
$toDoAction = '1';
|
$toDoAction = '1';
|
||||||
$toDoImage = 'images/lightbulb.png';
|
$toDoImage = 'images/lightbulb.png';
|
||||||
|
$toDoClass = '';
|
||||||
} else {
|
} else {
|
||||||
$toDoString = __('Enable');
|
$toDoString = __('Enable');
|
||||||
$toDoAction = '0';
|
$toDoAction = '0';
|
||||||
$toDoImage = 'images/lightbulb_off.png';
|
$toDoImage = 'images/lightbulb_off.png';
|
||||||
|
$toDoClass = 'filter_none';
|
||||||
}
|
}
|
||||||
|
|
||||||
$data[6] = '<form method="POST" action="index.php?sec='.$sec.'&sec2=godmode/users/user_list&pure='.$pure.'" class="inline">';
|
$data[6] = '<form method="POST" action="index.php?sec='.$sec.'&sec2=godmode/users/user_list&pure='.$pure.'" class="inline">';
|
||||||
@ -742,7 +744,7 @@ foreach ($info as $user_id => $user_info) {
|
|||||||
[
|
[
|
||||||
'data-title' => $toDoString,
|
'data-title' => $toDoString,
|
||||||
'data-use_title_for_force_title' => '1',
|
'data-use_title_for_force_title' => '1',
|
||||||
'class' => 'forced_title no-padding',
|
'class' => 'forced_title no-padding '.$toDoClass,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$data[6] .= '</form>';
|
$data[6] .= '</form>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user