|
|
|
@ -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(
|
|
|
|
|