forked from WHMCS/orderforms-standard_cart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.tpl
25 lines (19 loc) · 958 Bytes
/
common.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{if $smarty.request.debug eq true}
<link rel="stylesheet" type="text/css" href="{assetPath file='all.css'}?v={$versionHash}" />
<script type="text/javascript" src="{assetPath file='scripts.js'}?v={$versionHash}"></script>
{assetExists file="custom.css"}
<link rel="stylesheet" type="text/css" href="{$__assetPath__}?v={$versionHash}" />
{/assetExists}
{assetExists file="custom.js"}
<script type="text/javascript" src="{$__assetPath__}?v={$versionHash}"></script>
{/assetExists}
{else}
<link rel="stylesheet" type="text/css" href="{assetPath file='all.min.css'}?v={$versionHash}" />
<script type="text/javascript" src="{assetPath file='scripts.min.js'}?v={$versionHash}"></script>
{assetExists file="custom.min.css"}
<link rel="stylesheet" type="text/css" href="{$__assetPath__}?v={$versionHash}" />
{/assetExists}
{assetExists file="custom.min.js"}
<script type="text/javascript" src="{$__assetPath__}?v={$versionHash}"></script>
{/assetExists}
{/if}