Thanks for hinting me to the right direction! 😉
I modified your links with the allready existing functions/classes:
<?php if ( current_user_can('edit_others_posts') ) {
$post = get_post(get_the_ID());
echo Tribe__Events__Community__Main::instance()->getEditButton( $post, __( 'Edit', 'tribe-events-community' ), '<span class="edit wp-admin events-cal"> |', '</span> ' );
}
if ( current_user_can('delete_others_posts') ) {
echo Tribe__Events__Community__Main::instance()->getDeleteButton( $post );
}
?>
Works great! Thanks!!!
Sascha