PluginProbe
Event Post / 5.5
Event Post v5.5
6.1.1 6.1.0 6.0.1 6.0.0 5.12.0 trunk 3.9 4.0 4.2 4.3 4.4 4.5 5.0 5.1 5.10.0 5.10.1 5.10.2 5.10.3 5.10.4 5.11.0 5.11.1 5.2 5.5 5.6 5.6.1 All 46 releases
event-post / views / admin / custombox-location.php

custombox-location.php in Event Post 5.5, at views/admin/custombox-location.php

60 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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