PluginProbe
Maps Plugin using Google Maps for WordPress – WP Google Map / 1.9.6
Maps Plugin using Google Maps for WordPress – WP Google Map v1.9.6
1.9.7 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.3 All 96 releases
gmap-embed / admin / includes / wpgmap_list.php

wpgmap_list.php in Maps Plugin using Google Maps for WordPress – WP Google Map 1.9.6, at admin/includes/wpgmap_list.php

60 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 exit;
4 }
5 require_once WGM_PLUGIN_PATH . '/includes/helper.php';
6 ?>
7 <div class="wrap">
8 <h1 class="wp-heading-inline"><?php esc_html_e('All Maps', 'gmap-embed'); ?></h1>
9 <?php
10 if (_wgm_can_add_new_map()) {
11 ?>
12 <a href="<?php echo esc_url(admin_url('admin.php?page=wpgmapembed-new')); ?>"
13 class="page-title-action"><?php esc_html_e('Add New', 'gmap-embed'); ?></a>
14 <?php
15 } else {
16 // translators: %s: Premium version URL.
17 echo '<a href="#" class="page-title-action wgm_enable_premium" style="opacity: .3" data-notice="' . esc_html(sprintf(__('You need to upgrade to the <a target="_blank" href="%s">Premium</a> Version to <b> Create Unlimited Maps</b>.', 'gmap-embed'), esc_url('https://wpgooglemap.com/pricing?utm_source=gmap-embed&utm_medium=wordpress-plugin&utm_campaign=upgrade-to-pro&utm_content=map-list-add-new-lock'))) . '">' . esc_html__('Add New', 'gmap-embed') . '</a><sup class="wgm-pro-label">' . esc_html__('Pro', 'gmap-embed') . '</sup>';
18 }
19 if (!_wgm_is_premium()) {
20 echo '<a target="_blank" href="' . esc_url('https://wpgooglemap.com/pricing?utm_source=gmap-embed&utm_medium=wordpress-plugin&utm_campaign=upgrade-to-pro&utm_content=map-list-header-upgrade-btn') . '" class="button wgm_btn" style="float:right;width:auto;padding: 5px 7px;font-size: 11px;margin-left:5px;"><i style="line-height: 25px;" class="dashicons dashicons-star-filled"></i> ' . esc_html__('Upgrade ($19 only)', 'gmap-embed') . '</a>';
21 }
22 echo '<a target="_blank" href="' . esc_url('https://tawk.to/chat/6083e29962662a09efc1acd5/1f41iqarp') . '" class="button wgm_btn" style="float:right;width:auto;padding: 5px 7px;font-size: 11px;margin-right:5px;background-color: #cb5757 !important;color: white !important;"><i style="line-height: 28px;" class="dashicons dashicons-format-chat"></i> ' . esc_html__('LIVE Chat', 'gmap-embed') . '</a>';
23 echo '<a href="' . esc_url(admin_url('admin.php?page=wpgmapembed-support')) . '" class="button wgm_btn" style="float:right;width:auto;padding: 5px 7px;font-size: 11px;margin-right:5px;"><i style="line-height: 25px;" class="dashicons dashicons-editor-help"></i> ' . esc_html__('Documentation', 'gmap-embed') . '</a>';
24 ?>
25 <hr class="wp-header-end">
26 <div id="gmap_container_inner">
27 <?php require_once WGM_PLUGIN_PATH . 'admin/includes/wgm_messages_viewer.php'; ?>
28 <!---------------------------Maps List-------------->
29 <div id="wgm_all_maps" style="padding:5px;">
30 <table id="wgm_map_list_dt" class="stripe hover row-border order-column" style="width:100%">
31 <thead>
32 <tr style="text-align: left;">
33 <th style="width: 6% !important;"><?php esc_html_e('ID', 'gmap-embed'); ?></th>
34 <th style="min-width: 20%;"><?php esc_html_e('Title', 'gmap-embed'); ?></th>
35 <th style="width: 6% !important;"><?php esc_html_e('Type', 'gmap-embed'); ?></th>
36 <th style="width: 6% !important;"><?php esc_html_e('Width', 'gmap-embed'); ?></th>
37 <th style="width: 6% !important;"><?php esc_html_e('Height', 'gmap-embed'); ?></th>
38 <th style="width: 15% !important;"><?php esc_html_e('Shortcode', 'gmap-embed'); ?></th>
39 <th style="min-width: 12% !important;"><?php esc_html_e('Action', 'gmap-embed'); ?></th>
40 </tr>
41 </thead>
42 <tbody>
43 </tbody>
44 </table>
45 </div>
46 </div>
47 <div id="copy_to_clipboard_toaster" style="bottom: 0; display: none;
48 right: 0;
49 position: fixed;
50 background-color: #e15c10;
51 color: white;
52 font-size: 13px;
53 padding: 5px;
54 border-radius: 2px;
55 z-index: 999;
56 box-shadow: 0 0 5px gray;
57 font-family: arial;"><?php esc_html_e('Copied to Clipboard', 'gmap-embed'); ?></div>
58 <span style="font-size: small;font-style: italic;float: right;font-size:10px;">
59 <?php echo 'v.' . esc_html(WGM_PLUGIN_VERSION); ?>
60 </span>