PluginProbe
WP Directory Kit / 1.3.3
WP Directory Kit v1.3.3
1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 1.4.0 1.4.1 All 35 releases
wpdirectorykit / application / views / wdk_location / import_from_svg.php

import_from_svg.php in WP Directory Kit 1.3.3, at application/views/wdk_location/import_from_svg.php

57 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template for Edit Location.
4 *
5 * This is the template that form edit
6 *
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit; // Exit if accessed directly.
11 }
12 ?>
13 <!-- This file should primarily consist of HTML with a little bit of PHP. -->
14
15 <div class="wrap wdk-wrap">
16 <h1 class="wp-heading-inline"><?php echo __('Location Management','wpdirectorykit'); ?></h1>
17 <br /><br />
18 <div class="wdk-body">
19 <div class="postbox" style="display: block;">
20 <div class="postbox-header"><h3><?php echo __('Add/Edit Location','wpdirectorykit'); ?></h3>
21 </div>
22 <div class="inside">
23
24 <form method="post" action="<?php echo esc_url(wmvc_current_edit_url()); ?>" novalidate="novalidate">
25 <?php wp_nonce_field( 'wdk-svg-import', '_wpnonce'); ?>
26 <?php
27 $form->messages('class="alert alert-danger"', __('Locations imported', 'wpdirectorykit'));
28 ?>
29
30 <table class="form-table" role="presentation">
31 <tbody>
32 <tr>
33 <th scope="row"><label for="related_svg_map"><?php echo __('Related SVG Map','wpdirectorykit'); ?></label></th>
34 <td>
35 <?php
36 echo wmvc_select_option('related_svg_map', $maps_list, '', NULL, __('Not Selected','wpdirectorykit'), '0');
37 ?>
38 </td>
39 </tr>
40 <tr>
41 <th scope="row"><label for="related_svg_map_location"><?php echo __('Related SVG Map Location','wpdirectorykit'); ?></label></th>
42 <td>
43 <?php
44 echo wmvc_select_option('related_svg_map_location', $parents, wmvc_show_data('idlocation', $location, ''), NULL, __('Root','wpdirectorykit'), '0');
45 ?>
46 </td>
47 </tr>
48 </tbody>
49 </table>
50 <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php echo esc_html__('Import Locations','wpdirectorykit'); ?>">
51 </form>
52 </div>
53 </div>
54 </div>
55 </div>
56
57 <?php $this->view('general/footer', $data); ?>