diff options
| author | thomas <noreply@maennchen1.de> | 2016-10-18 08:18:51 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2016-10-18 08:18:51 +0000 |
| commit | 22552d9972210d4c864b6e87107bcc78577302b1 (patch) | |
| tree | 3b0ae3cad8b44acef396ac5d92e22c4e946eb1cb | |
| parent | 8cb9c75fb1b25acb909db0b7b62c72fa5e2fc750 (diff) | |
- Google Button für API-Key
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5830 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/mods/mod_statistics/settings_edit.phtml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/views/mods/mod_statistics/settings_edit.phtml b/views/mods/mod_statistics/settings_edit.phtml index eaa1d87..587b1dc 100644 --- a/views/mods/mod_statistics/settings_edit.phtml +++ b/views/mods/mod_statistics/settings_edit.phtml @@ -29,6 +29,17 @@ echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_status['.$statusCode.']', $statusName, (is_array($arSelectedStatus) && is_string($arSelectedStatus[0]) && strlen($arSelectedStatus[0]) && in_array($statusCode, $arSelectedStatus)?true:false));
}
?>
+
+ <?php /* Kartendarstelung START */ ?>
+
+ <?php echo wpsg_drawForm_Input('wpsg_mod_statistics_googlekey', __('Google API-Key', 'wpsg'), $this->get_option('wpsg_mod_statistics_googlekey'), array('help' => 'wpsg_mod_statistics_googlekey')); ?>
+
+ <a class="button-primary" id="button-google" target="popup" href="https://console.developers.google.com/flows/enableapi?apiid=maps_backend&keyType=CLIENT_SIDE&reusekey=true" onclick="window.open('', 'popup', 'width=500;height=200,resizable=yes,menubar=yes')">
+ <?php echo __('Schlüssel über Ihr Googlekonto anfordern'); ?>
+ </a>
+
+ <?php /* Kartendarstellung ENDE */?>
+
<div class="wpsg_clearer"></div>
</div>
|
