Skip to content

Commit 38076b3

Browse files
committed
Allow the usage of Google Maps in the admin panel
1 parent 2922c8d commit 38076b3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

com.woltlab.wcf/templates/googleMapsElement.tpl renamed to com.woltlab.wcf/templates/shared_googleMapsElement.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
></woltlab-core-google-maps>
1818

1919
{if $googleMapsHidden}
20-
{include file='messageUserConsent' host="maps.google.com" url="https://www.google.com/maps/" target=$googleMapsElementID sandbox=true}
20+
{include file='shared_messageUserConsent' host="maps.google.com" url="https://www.google.com/maps/" target=$googleMapsElementID sandbox=true}
2121
{/if}
File renamed without changes.

wcfsetup/install/files/lib/system/template/TemplateEngine.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,13 @@ class TemplateEngine extends SingletonFactory
109109
'formError' => 'shared_formError',
110110
'formNotice' => 'shared_formNotice',
111111
'formSuccess' => 'shared_formSuccess',
112+
'googleMapsElement' => 'shared_googleMapsElement',
112113
'languageChooser' => 'shared_languageChooser',
113114
'lineBreakSeparatedTextOptionType' => 'shared_lineBreakSeparatedTextOptionType',
114115
'mediaManager' => 'shared_mediaManager',
115116
'messageFormAttachments' => 'shared_messageFormAttachments',
116117
'messageTableOfContents' => 'shared_messageTableOfContents',
118+
'messageUserConsent' => 'shared_messageUserConsent',
117119
'multipleLanguageInputJavascript' => 'shared_multipleLanguageInputJavascript',
118120
'passwordStrengthLanguage' => 'shared_passwordStrengthLanguage',
119121
'quoteMetaCode' => 'shared_quoteMetaCode',

0 commit comments

Comments
 (0)