From: Christian Bayle Date: Wed, 12 Mar 2008 21:53:48 +0000 (+0000) Subject: Add a myThemeXPBase var that allow jscook path overload X-Git-Tag: v4_7_b2~133 X-Git-Url: https://scm.fusionforge.org/anonscm/gitweb?p=fusionforge%2Ffusionforge.git;a=commitdiff_plain;h=addb2d3e7c28931e1046856f7106b23dd47cbf2a Add a myThemeXPBase var that allow jscook path overload --- diff --git a/gforge/www/jscook/ThemeXP/theme.js b/gforge/www/jscook/ThemeXP/theme.js index 8f21cebfb4..cfcf0290c4 100644 --- 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/'; +// 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 = {