diff options
author | Felix Favre <gnomus@gnomus.de> | 2014-12-06 18:16:18 +0100 |
---|---|---|
committer | Felix Favre <gnomus@gnomus.de> | 2014-12-06 18:16:18 +0100 |
commit | 191ba6e1b14b94a3a46c16ca488f388c82120bad (patch) | |
tree | 09d64f0627d52eda2a72cf1a83ad411e4ac91e9f /includes/pages | |
parent | 524acb15ba70f49f44e85d4864ed035550703814 (diff) |
replace all the remaining old icons with glyphicons
Diffstat (limited to 'includes/pages')
-rw-r--r-- | includes/pages/user_shifts.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 . ' <img src="pic/icons/lock.png" alt="unconfirmed" title="' . _("You are not confirmed for this angel type.") . '" />'; + $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 . ' <img src="pic/icons/lock.png" alt="unconfirmed" title="Du bist für diesen Engeltyp noch nicht freigeschaltet." />'; + $entry_list[] = $inner_text . glyph("lock"); } else { $entry_list[] = $inner_text . ' <a href="' . page_link_to('user_settings') . '#angel_types_anchor">(Werde ' . $angeltype['name'] . ')</a>'; } @@ -786,7 +786,7 @@ function make_select($items, $selected, $name, $title = null) { $html_items[] = '<h4>' . $title . '</h4>' . "\n"; foreach ($items as $i) - $html_items[] = '<div class="checkbox"><label><input type="checkbox" name="' . $name . '[]" value="' . $i['id'] . '"' . (in_array($i['id'], $selected) ? ' checked="checked"' : '') . '> ' . $i['name'] . '</label>' . (! isset($i['enabled']) || $i['enabled'] ? '' : ' <img src="pic/icons/lock.png" alt="unconfirmed" title="Du bist für diesen Engeltyp noch nicht freigeschaltet." />') . '</div><br />'; + $html_items[] = '<div class="checkbox"><label><input type="checkbox" name="' . $name . '[]" value="' . $i['id'] . '"' . (in_array($i['id'], $selected) ? ' checked="checked"' : '') . '> ' . $i['name'] . '</label>' . (! isset($i['enabled']) || $i['enabled'] ? '' : glyph("lock")) . '</div><br />'; $html = '<div id="selection_' . $name . '" class="selection ' . $name . '">' . "\n"; $html .= implode("\n", $html_items); $html .= buttons(array( |