[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1925] trunk/UI/lib/ui-header.html



Revision: 1925
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1925&view=rev
Author:   einhverfr
Date:     2007-11-29 21:43:44 -0800 (Thu, 29 Nov 2007)

Log Message:
-----------
Adding support for javascript and css include lists to ui-header

Modified Paths:
--------------
    trunk/UI/lib/ui-header.html

Modified: trunk/UI/lib/ui-header.html
===================================================================
--- trunk/UI/lib/ui-header.html	2007-11-29 21:40:36 UTC (rev 1924)
+++ trunk/UI/lib/ui-header.html	2007-11-30 05:43:44 UTC (rev 1925)
@@ -11,9 +11,12 @@
 	<?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 ?>
 	
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.