| 1 |
<div> |
| 2 |
<label for="<?php echo $this->META_ATTENDANCE_MODE; ?>"> |
| 3 |
<?php _e('Attendance Mode:', 'event-post') ?> |
| 4 |
<select name="<?php echo $this->META_ATTENDANCE_MODE; ?>" id="<?php echo $this->META_ATTENDANCE_MODE; ?>"> |
| 5 |
<option value=""></option> |
| 6 |
<?php foreach ($this->attendance_modes as $mode_name => $mode_label): ?> |
| 7 |
<option value="<?php echo $mode_name; ?>" <?php selected($mode_name, $event->attendance_mode, true); ?>><?php echo $mode_label; ?></option> |
| 8 |
<?php endforeach; ?> |
| 9 |
</select> |
| 10 |
</label> |
| 11 |
</div> |
| 12 |
<div class="eventpost-misc-pub-section eventpost-location-type-online"> |
| 13 |
<p> |
| 14 |
<label for="<?php echo $this->META_VIRTUAL_LOCATION; ?>"> |
| 15 |
<?php _e('Virtual Location:', 'event-post') ?> |
| 16 |
<input type="url" value ="<?php echo $event->virtual_location; ?>" name="<?php echo $this->META_VIRTUAL_LOCATION; ?>" id="<?php echo $this->META_VIRTUAL_LOCATION; ?>" class="widefat"/> |
| 17 |
</label> |
| 18 |
</p> |
| 19 |
</div> |
| 20 |
|
| 21 |
<div class="eventpost-misc-pub-section eventpost-location-type-offline"> |
| 22 |
<label for="<?php echo $this->META_ADD; ?>"> |
| 23 |
<?php _e('Address, as it will be displayed:', 'event-post') ?> |
| 24 |
<textarea name="<?php echo $this->META_ADD; ?>" id="<?php echo $this->META_ADD; ?>" class="widefat"><?php echo $event->address; ?></textarea> |
| 25 |
</label> |
| 26 |
</div> |
| 27 |
|
| 28 |
<div id="event_address_searchwrap" class="eventpost-location-type-offline"> |
| 29 |
<span class="dashicons dashicons-location eventpost-edit-icon"></span> |
| 30 |
<?php _e('GPS coordinates:', 'event-post') ?> |
| 31 |
<a id="event_address_search" title="<?php _e('Search or fill exact coordinates', 'event-post') ?>"> |
| 32 |
<?php _e('Search / Edit', 'event-post') ?> |
| 33 |
</a> |
| 34 |
|
| 35 |
<div class="misc-pub-section" id="event_address_coords"> |
| 36 |
<p> |
| 37 |
<span id="eventaddress_result"></span> |
| 38 |
</p> |
| 39 |
<label for="<?php echo $this->META_LAT; ?>"> |
| 40 |
<?php _e('Latitude:', 'event-post') ?> |
| 41 |
<input type="text" value ="<?php echo $event->lat; ?>" name="<?php echo $this->META_LAT; ?>" id="<?php echo $this->META_LAT; ?>" class="widefat"/> |
| 42 |
</label> |
| 43 |
|
| 44 |
<label for="<?php echo $this->META_LONG; ?>"> |
| 45 |
<?php _e('Longitude:', 'event-post') ?> |
| 46 |
<input type="text" value ="<?php echo $event->long; ?>" name="<?php echo $this->META_LONG; ?>" id="<?php echo $this->META_LONG; ?>" class="widefat"/> |
| 47 |
</label> |
| 48 |
<p> |
| 49 |
<a id="event_address_unsearch" class="button button-small"> |
| 50 |
<span class="dashicons dashicons-yes"></span> |
| 51 |
<?php _e('Done', 'event-post') ?> |
| 52 |
</a> |
| 53 |
</p> |
| 54 |
</div> |
| 55 |
</div> |
| 56 |
|
| 57 |
<div class="eventpost-misc-pub-section eventpost-location-type-offline" id="event-post-map-preview-wrapper"> |
| 58 |
<div id="event-post-map-preview" data-marker="<?php echo $this->get_marker($event->color); ?>"></div> |
| 59 |
</div> |
| 60 |
|