first commit
This commit is contained in:
15
web/common/templates/components/js_data.tpl
Normal file
15
web/common/templates/components/js_data.tpl
Normal file
@@ -0,0 +1,15 @@
|
||||
<script>
|
||||
wpj.data = wpj.data || { };
|
||||
|
||||
{if $dbcfg.instagram.api}
|
||||
wpj.data.instagram = true;
|
||||
{/if}
|
||||
|
||||
{ifmodule RECAPTCHA__CLOUDFLARE}
|
||||
wpj.data.captcha = { sitekey: '{findModule('recaptcha','site_cloudflare_invisible')}' };
|
||||
{/ifmodule}
|
||||
|
||||
{block "js-data"}
|
||||
|
||||
{/block}
|
||||
</script>
|
||||
Reference in New Issue
Block a user