From 1cdbd40f536a749cde3a02420040e2d0acadb319 Mon Sep 17 00:00:00 2001
From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 22 Jun 2010 15:34:16 +0000
Subject: [PATCH] better way of setting these environment variables

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16776 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/examples/apache/eg_vhost.conf                        | 4 ++++
 Open-ILS/web/opac/skin/default/xml/chilifresh.xml             | 6 ------
 Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_extras.xml | 1 -
 Open-ILS/web/opac/skin/default/xml/result/result_table.xml    | 1 -
 4 files changed, 4 insertions(+), 8 deletions(-)
 delete mode 100644 Open-ILS/web/opac/skin/default/xml/chilifresh.xml

diff --git a/Open-ILS/examples/apache/eg_vhost.conf b/Open-ILS/examples/apache/eg_vhost.conf
index 6f825d1241..b8b7bc1993 100644
--- a/Open-ILS/examples/apache/eg_vhost.conf
+++ b/Open-ILS/examples/apache/eg_vhost.conf
@@ -98,6 +98,10 @@ RewriteRule - - [E=locale:%1] [L]
     # and are willing to accept some increased server load, set this:
     #SetEnvIf Request_URI ".*" OILS_OPAC_BYPASS_STATIC_FOR_HTTPS=yes
 
+    # Specify a ChiliFresh account to integrate their services with the OPAC
+    #SetEnv OILS_CHILIFRESH_ACCOUNT
+    #SetEnv OILS_CHILIFRESH_PROFILE
+    #SetEnv OILS_CHILIFRESH_URL http://chilifresh.com/on-site/js/evergreen.js
 </LocationMatch>
 
 
diff --git a/Open-ILS/web/opac/skin/default/xml/chilifresh.xml b/Open-ILS/web/opac/skin/default/xml/chilifresh.xml
deleted file mode 100644
index 7cbc40ce52..0000000000
--- a/Open-ILS/web/opac/skin/default/xml/chilifresh.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<!-- Specify your ChiliFresh account # below to enable ChiliFresh integration with the OPAC -->
-
-<!--#set var='OILS_CHILIFRESH_ACCOUNT' value=""-->
-<!--#set var='OILS_CHILIFRESH_PROFILE' value=""-->
-<!--#set var='OILS_CHILIFRESH_URL' value="http://chilifresh.com/on-site/js/evergreen.js"-->
-
diff --git a/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_extras.xml b/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_extras.xml
index 06a27b5e78..9842985151 100644
--- a/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_extras.xml
+++ b/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_extras.xml
@@ -120,7 +120,6 @@
 	<div id='rdetail_preview_badge' class='hide_me'>&rdetail.extras.preview.badge;</div>
 
     <!-- ChiliFresh setup -->
-    <!--#include virtual="../chilifresh.xml"-->
     <script language='javascript' type='text/javascript'>
         var chilifresh = '<!--#echo var="OILS_CHILIFRESH_ACCOUNT"-->';
     </script>
diff --git a/Open-ILS/web/opac/skin/default/xml/result/result_table.xml b/Open-ILS/web/opac/skin/default/xml/result/result_table.xml
index 5e6d596b53..c307f363e5 100644
--- a/Open-ILS/web/opac/skin/default/xml/result/result_table.xml
+++ b/Open-ILS/web/opac/skin/default/xml/result/result_table.xml
@@ -222,7 +222,6 @@
 	</script>
 
     <!-- ChiliFresh setup -->
-    <!--#include virtual="../chilifresh.xml"-->
     <script language='javascript' type='text/javascript'>
         var chilifresh = '<!--#echo var="OILS_CHILIFRESH_ACCOUNT"-->';
     </script>
-- 
2.11.0