epic-anmeldungen #2
@ -36,10 +36,10 @@ function kompass_print_events_overview() {
|
||||
echo '<td> ' .
|
||||
'<a href="' . admin_url('admin.php?page=kompass-events&action=edit-event&event-id=' . $event->id ) . '">' . __('Edit', BDP_LV_PLUGIN_SLUG) . '</a><br />' .
|
||||
($event->signup_allowed ?
|
||||
'<a href="' . admin_url('admin.php?page=kompass-events&action=close-event&event-id=' . $event->id ) . '">' . __('Deny registration', BDP_LV_PLUGIN_SLUG) . '</a>' :
|
||||
'<a href="' . admin_url('admin.php?page=kompass-events&action=open-event&event-id=' . $event->id ) . '">' . __('Allow registration', BDP_LV_PLUGIN_SLUG) . '</a>') .
|
||||
'<a style="color: #ff0000;" href="' . admin_url('admin.php?page=kompass-events&action=close-event&event-id=' . $event->id ) . '">' . __('Deny registration', BDP_LV_PLUGIN_SLUG) . '</a>' :
|
||||
'<a style="color: #72b752;" href="' . admin_url('admin.php?page=kompass-events&action=open-event&event-id=' . $event->id ) . '">' . __('Allow registration', BDP_LV_PLUGIN_SLUG) . '</a>') .
|
||||
'<br />' .
|
||||
'<a href="' . admin_url('admin.php?page=kompass-events&action=archive-event&event-id=' . $event->id ) . '">' . __('Move to Archive', BDP_LV_PLUGIN_SLUG) . '</a></td>';
|
||||
'<a style="color: #ff0000;" href="' . admin_url('admin.php?page=kompass-events&action=archive-event&event-id=' . $event->id ) . '">' . __('Move to Archive', BDP_LV_PLUGIN_SLUG) . '</a></td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user