projects
/
fusionforge
/
fusionforge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a myThemeXPBase var that allow jscook path overload
[fusionforge/fusionforge.git]
/
gforge
/
www
/
jscook
/
ThemeXP
/
theme.js
diff --git
a/gforge/www/jscook/ThemeXP/theme.js
b/gforge/www/jscook/ThemeXP/theme.js
index 8f21cebfb44ee55c0a1eaa1d45face86ae70f3b2..cfcf0290c45b257a25a4ca873ca0ef55614a3f88 100644
(file)
--- a/
gforge/www/jscook/ThemeXP/theme.js
+++ b/
gforge/www/jscook/ThemeXP/theme.js
@@
-1,6
+1,19
@@
// change this variable to update the theme directory
var ctThemeXPBase = '/~heng/JSCookTree/ThemeXP/';
// change this variable to update the theme directory
var ctThemeXPBase = '/~heng/JSCookTree/ThemeXP/';
+// the follow block allows user to re-define theme base directory
+// before it is loaded.
+try
+{
+ if (myThemeXPBase)
+ {
+ ctThemeXPBase = myThemeXPBase;
+ }
+}
+catch (e)
+{
+}
+
// theme node properties
var ctThemeXP1 =
{
// theme node properties
var ctThemeXP1 =
{