Author: dpillot
Date: Mon Aug 7 14:27:16 2006
New Revision: 342
URL:
https://svndev.jahia.net/websvn/listing.php?sc=1&rev=342&repname=corporate_portal_templates_v2
Log:
fix for cross-site copy/paste and import: removed prefix sitekey of
resourcebundle id
Modified:
trunk/src/jsp/common/common_vars.inc
Modified: trunk/src/jsp/common/common_vars.inc
URL:
https://svndev.jahia.net/websvn/diff.php?path=/trunk/src/jsp/common/common_vars.inc&rev=342&repname=corporate_portal_templates_v2
==============================================================================
--- trunk/src/jsp/common/common_vars.inc (original)
+++ trunk/src/jsp/common/common_vars.inc Mon Aug 7 14:27:16 2006
@@ -80,7 +80,9 @@
boolean hasReadAccess = jData.page().checkReadAccess(user);
// Resource Bundle Definition
-String resBundleID = jParams.getSite().getSiteKey() +
"_Corporate_portal_templates_v2";
+//String resBundleID = jParams.getSite().getSiteKey() +
"_Corporate_portal_templates_v2";
+// dont put any dynamic and site related data in this bundle ID, or beware...
+String resBundleID = "CORPORATE_PORTAL_TEMPLATES_V2";
StringBuffer resBundleDef = new StringBuffer("<jahia-res-bundle id=");
resBundleDef.append(resBundleID);
resBundleDef.append("
resbundle=jahiatemplates.Corporate_portal_templates_v2>");