summaryrefslogtreecommitdiff
path: root/UI/lib/ui-header.html
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-30 05:43:44 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-30 05:43:44 +0000
commit57662811db634598271d5a750a68f48ae342fa81 (patch)
tree706a49378a2d86a496322004ed1607bf00f64259 /UI/lib/ui-header.html
parent7791fb2e1d90b7ff1c25d0096c18a85a1aee2972 (diff)
Adding support for javascript and css include lists to ui-header
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1925 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/lib/ui-header.html')
-rw-r--r--UI/lib/ui-header.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/UI/lib/ui-header.html b/UI/lib/ui-header.html
index 91fe0c8a..39740b8e 100644
--- a/UI/lib/ui-header.html
+++ b/UI/lib/ui-header.html
@@ -11,8 +11,11 @@
<?lsmb ELSE ?>
<link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
<?lsmb END ?>
- <?lsmb IF script_css ?>
- <link rel="stylesheet" href="UI/<?lsmb script_css ?>" type="text/css" title="LedgerSMB stylesheet" />
+ <?lsmb FOREACH s = include_stylesheet ?>
+ <link rel="stylesheet" href="<?lsmb s ?>" type="text/css" title="LedgerSMB stylesheet" />
+ <?lsmb END ?>
+ <?lsmb FOREACH s = include_script ?>
+ <script type="text/javascript" src="<?lsmb s ?>" />
<?lsmb END ?>