Commit 776ac2ae313130f161a31a4f202bb95cd0ceaec0
1 parent
9647600c
Changes to support requireCSSStandalone
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4112 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
8 additions
and
0 deletions
templates/kt3/standard_page.smarty
| ... | ... | @@ -9,11 +9,19 @@ |
| 9 | 9 | <link rel="stylesheet" type="text/css" href="{$rootUrl}/{$sResourceURL}" /> |
| 10 | 10 | {/foreach} |
| 11 | 11 | |
| 12 | + <!-- Standalone CSS. --> | |
| 13 | + {foreach item=sCSS from=$page->getCSSStandalone()} | |
| 14 | + <style> | |
| 15 | +{$sCSS} | |
| 16 | + </style> | |
| 17 | + {/foreach} | |
| 18 | + | |
| 12 | 19 | <!-- Javascript Files. --> |
| 13 | 20 | {foreach item=sResourceURL from=$page->getJSResources()} |
| 14 | 21 | <script type="text/javascript" src="{$rootUrl}/{$sResourceURL}"> </script> |
| 15 | 22 | {/foreach} |
| 16 | 23 | |
| 24 | + <!-- Standalone Javascript. --> | |
| 17 | 25 | {foreach item=sJavascript from=$page->getJSStandalone()} |
| 18 | 26 | <script type="text/javascript"> |
| 19 | 27 | {$sJavascript} | ... | ... |