fixed wrong lock icon paths
This commit is contained in:
parent
821e37c1b2
commit
9a1ffdf198
|
@ -531,7 +531,7 @@ function view_user_shifts() {
|
||||||
if (time() > $shift['start'])
|
if (time() > $shift['start'])
|
||||||
$entry_list[] = $inner_text . ' (vorbei)';
|
$entry_list[] = $inner_text . ' (vorbei)';
|
||||||
elseif ($angeltype['restricted'] == 1 && isset($angeltype['user_id']) && ! isset($angeltype['confirm_user_id']))
|
elseif ($angeltype['restricted'] == 1 && isset($angeltype['user_id']) && ! isset($angeltype['confirm_user_id']))
|
||||||
$entry_list[] = $inner_text . ' <img src="pic/lock.png" alt="unconfirmed" title="' . _("You are not confirmed for this angel type.") . '" />';
|
$entry_list[] = $inner_text . ' <img src="pic/icons/lock.png" alt="unconfirmed" title="' . _("You are not confirmed for this angel type.") . '" />';
|
||||||
elseif ($collides)
|
elseif ($collides)
|
||||||
$entry_list[] = $inner_text;
|
$entry_list[] = $inner_text;
|
||||||
else
|
else
|
||||||
|
@ -656,7 +656,7 @@ function view_user_shifts() {
|
||||||
if (time() > $shift['end']) {
|
if (time() > $shift['end']) {
|
||||||
$entry_list[] = $inner_text . ' (vorbei)';
|
$entry_list[] = $inner_text . ' (vorbei)';
|
||||||
} elseif ($angeltype['restricted'] == 1 && isset($angeltype['user_id']) && ! isset($angeltype['confirm_user_id'])) {
|
} elseif ($angeltype['restricted'] == 1 && isset($angeltype['user_id']) && ! isset($angeltype['confirm_user_id'])) {
|
||||||
$entry_list[] = $inner_text . ' <img src="pic/lock.png" alt="unconfirmed" title="Du bist für diesen Engeltyp noch nicht freigeschaltet." />';
|
$entry_list[] = $inner_text . ' <img src="pic/icons/lock.png" alt="unconfirmed" title="Du bist für diesen Engeltyp noch nicht freigeschaltet." />';
|
||||||
} else {
|
} else {
|
||||||
$entry_list[] = $inner_text . ' <a href="' . page_link_to('user_settings') . '#angel_types_anchor">(Werde ' . $angeltype['name'] . ')</a>';
|
$entry_list[] = $inner_text . ' <a href="' . page_link_to('user_settings') . '#angel_types_anchor">(Werde ' . $angeltype['name'] . ')</a>';
|
||||||
}
|
}
|
||||||
|
@ -729,7 +729,7 @@ function make_select($items, $selected, $name, $title = null) {
|
||||||
$html_items[] = '<li class="heading">' . $title . '</li>' . "\n";
|
$html_items[] = '<li class="heading">' . $title . '</li>' . "\n";
|
||||||
|
|
||||||
foreach ($items as $i)
|
foreach ($items as $i)
|
||||||
$html_items[] = '<li><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/lock.png" alt="unconfirmed" title="Du bist für diesen Engeltyp noch nicht freigeschaltet." />') . '</li>';
|
$html_items[] = '<li><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." />') . '</li>';
|
||||||
$html = '<div class="selection ' . $name . '">' . "\n";
|
$html = '<div class="selection ' . $name . '">' . "\n";
|
||||||
$html .= '<ul id="selection_' . $name . '">' . "\n";
|
$html .= '<ul id="selection_' . $name . '">' . "\n";
|
||||||
$html .= implode("\n", $html_items);
|
$html .= implode("\n", $html_items);
|
||||||
|
|
Loading…
Reference in New Issue