diff options
-rw-r--r-- | UI/lib/ui-header.html | 7 |
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 ?> |