use glyph_bool in admin_active view
This commit is contained in:
parent
67bca99571
commit
2654fcf228
|
@ -107,9 +107,9 @@ function admin_active() {
|
|||
$usr['nick'] = User_Nick_render($usr);
|
||||
$usr['shirt_size'] = $tshirt_sizes[$usr['Size']];
|
||||
$usr['work_time'] = round($usr['shift_length'] / 60) . ' min (' . round($usr['shift_length'] / 3600) . ' h)';
|
||||
$usr['active'] = '<img src="pic/icons/' . ($usr['Aktiv'] == 1 ? 'tick' : 'cross') . '.png" alt="' . $usr['Aktiv'] . '">';
|
||||
$usr['force_active'] = '<img src="pic/icons/' . ($usr['force_active'] == 1 ? 'tick' : 'cross') . '.png" alt="' . $usr['force_active'] . '">';
|
||||
$usr['tshirt'] = '<img src="pic/icons/' . ($usr['Tshirt'] == 1 ? 'tick' : 'cross') . '.png" alt="' . $usr['Tshirt'] . '">';
|
||||
$usr['active'] = glyph_bool($usr['Aktiv'] == 1);
|
||||
$usr['force_active'] = glyph_bool($usr['force_active'] == 1);
|
||||
$usr['tshirt'] = glyph_bool($usr['Tshirt'] == 1);
|
||||
|
||||
$actions = array();
|
||||
if ($usr['Aktiv'] == 0)
|
||||
|
|
Loading…
Reference in New Issue