- Introduced new templates for catalog, checkout, contact, and error pages. - Implemented caching headers and redirection in index.php files across various directories. - Enhanced product and layout templates for better integration with Creative Elements. - Added backoffice header styles and scripts for improved UI/UX in the admin panel.
36 lines
799 B
Smarty
36 lines
799 B
Smarty
{**
|
|
* Creative Elements - live Theme & Page Builder
|
|
*
|
|
* @author WebshopWorks
|
|
* @copyright 2019-2022 WebshopWorks.com
|
|
* @license One domain support license
|
|
*}
|
|
{if $stylesheets}
|
|
{foreach $stylesheets.external as $stylesheet}
|
|
<link rel="stylesheet" href="{$stylesheet.uri}" media="{$stylesheet.media}">
|
|
{/foreach}
|
|
|
|
{foreach $stylesheets.inline as $stylesheet}
|
|
<style>
|
|
{$stylesheet.content|cefilter}
|
|
</style>
|
|
{/foreach}
|
|
{/if}
|
|
|
|
{foreach $javascript.external as $js}
|
|
<script src="{$js.uri}" {$js.attribute}></script>
|
|
{/foreach}
|
|
|
|
{foreach $javascript.inline as $js}
|
|
<script>
|
|
{$js.content|cefilter}
|
|
</script>
|
|
{/foreach}
|
|
|
|
{if $js_custom_vars}
|
|
<script>
|
|
{foreach $js_custom_vars as $var_key => $var_val}
|
|
var {$var_key} = {json_encode($var_val)|cefilter};
|
|
{/foreach}
|
|
</script>
|
|
{/if} |