Advertisement
Guest User

Untitled

a guest
Aug 15th, 2014
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. <?php
  2. /**
  3. * Email Template
  4. * The template for the Event Submission Notification Email
  5. *
  6. * Override this template in your own theme by creating a file at
  7. * [your-theme]/tribe-events/community/email-template.php
  8. *
  9. * @package TribeCommunityEvents
  10. * @since 3.6
  11. * @author Modern Tribe Inc.
  12. *
  13. */
  14.  
  15. if ( !defined('ABSPATH') ) { die('-1'); }
  16. ?>
  17. <html>
  18. <body>
  19. <h2><?php echo $post->post_title; ?></h2>
  20. <h4><?php echo tribe_get_start_date( $tribe_event_id ); ?> -
  21.  
  22. <?php echo tribe_get_end_date( $tribe_event_id ); ?></h4>
  23.  
  24. <hr />
  25.  
  26. <h3><?php _e( 'Event Organizer', 'tribe-events-community' ); ?
  27.  
  28. ></h3>
  29. <p><?php echo tribe_get_organizer( tribe_get_event_meta(
  30.  
  31. $post->ID, '_EventOrganizerID', true ) ); ?></p>
  32.  
  33. <h3><?php _e( 'Event Venue', 'tribe-events-community' ); ?
  34.  
  35. ></h3>
  36. <p><?php echo tribe_get_venue( tribe_get_event_meta( $post->ID,
  37.  
  38. '_EventVenueID', true ) ); ?></p>
  39.  
  40. <h3><?php _e( 'Description','tribe-events-community' ); ?></h3>
  41. <?php echo $post->post_content; ?>
  42. <hr />
  43.  
  44. <p>This submission came from:
  45. <?php esc_html_e( get_user_by( 'id', $post->post_author )-
  46.  
  47. >user_email ) ?>
  48. </p>
  49.  
  50.  
  51. <h4><?php echo $this->getEditButton( $post, __( 'Review Event',
  52.  
  53. 'tribe-events-community' ) ); if ( $post->post_status == 'publish' ) { ?> | <a
  54.  
  55. href="<?php echo get_permalink( $tribe_event_id ); ?>">View Event</a><?php } ?></h4>
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement