From 191ba6e1b14b94a3a46c16ca488f388c82120bad Mon Sep 17 00:00:00 2001 From: Felix Favre Date: Sat, 6 Dec 2014 18:16:18 +0100 Subject: replace all the remaining old icons with glyphicons --- includes/pages/user_shifts.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/pages/user_shifts.php') diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 5634bff7..5ffa4d9e 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -570,7 +570,7 @@ function view_user_shifts() { if (time() > $shift['start']) $entry_list[] = $inner_text . ' (vorbei)'; elseif ($angeltype['restricted'] == 1 && isset($angeltype['user_id']) && ! isset($angeltype['confirm_user_id'])) - $entry_list[] = $inner_text . ' unconfirmed'; + $entry_list[] = $inner_text . glyph('lock'); elseif ($collides) $entry_list[] = $inner_text; else @@ -707,7 +707,7 @@ function view_user_shifts() { if (time() > $shift['end']) { $entry_list[] = $inner_text . ' (vorbei)'; } elseif ($angeltype['restricted'] == 1 && isset($angeltype['user_id']) && ! isset($angeltype['confirm_user_id'])) { - $entry_list[] = $inner_text . ' unconfirmed'; + $entry_list[] = $inner_text . glyph("lock"); } else { $entry_list[] = $inner_text . ' (Werde ' . $angeltype['name'] . ')'; } @@ -786,7 +786,7 @@ function make_select($items, $selected, $name, $title = null) { $html_items[] = '

' . $title . '

' . "\n"; foreach ($items as $i) - $html_items[] = '
' . (! isset($i['enabled']) || $i['enabled'] ? '' : ' unconfirmed') . '

'; + $html_items[] = '
' . (! isset($i['enabled']) || $i['enabled'] ? '' : glyph("lock")) . '

'; $html = '
' . "\n"; $html .= implode("\n", $html_items); $html .= buttons(array( -- cgit v1.2.3-54-g00ecf