Index: omniture.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/omniture/omniture.module,v
retrieving revision 1.6
diff -p -u -p -r1.6 omniture.module
--- omniture.module	7 Oct 2008 03:03:36 -0000	1.6
+++ omniture.module	18 Aug 2009 16:12:51 -0000
@@ -99,7 +99,9 @@ function omniture_footer($main = 0) {
       }
     }
 
-    $header = "<!-- SiteCatalyst code version: H.13. Copyright 1997-2007 Omniture, Inc. More info available at http://www.omniture.com -->\n";
+    $header = "<!-- SiteCatalyst code version: ";
+    $header .=  check_plain(variable_get("omniture_version", 'H.13.'));
+    $header .= " Copyright 1997-2009 Omniture, Inc. More info available at http://www.omniture.com -->\n";
     $header .= "<script type=\"text/javascript\" language=\"JavaScript\" src=\"";
     $header .=  check_plain(variable_get("omniture_js_file_location", 'http://www.example.com/js/s_code_remote_h.js'));
     $header .= "\"></script>\n";
@@ -112,7 +114,10 @@ function omniture_footer($main = 0) {
     $footer .= '//--></script><noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="';
     $footer .= check_plain(variable_get("omniture_image_file_location", 'http://examplecom.112.2O7.net/b/ss/examplecom/1/H.13--NS/0')) .'"'."\n";
     $footer .= 'height="1" width="1" border="0" alt="" /></a></noscript><!--/DO NOT REMOVE/-->'."\n";
-    $footer .= '<!-- End SiteCatalyst code version: H.13. -->'."\n";
+    $footer .= '<!-- End SiteCatalyst code version: ';
+    $footer .=  check_plain(variable_get("omniture_version", 'H.13.'));
+    $footer .= ' -->'."\n";
+ 
 
     if ($omniture_hooked_vars = module_invoke_all('omniture_variables', $main)) {
       if (isset($omniture_hooked_vars['header'])) {
@@ -159,6 +164,12 @@ function omniture_admin_settings() {
       '#default_value' => check_plain(variable_get("omniture_image_file_location", 'http://examplecom.112.2O7.net/b/ss/examplecom/1/H.13--NS/0')),
   );
 
+  $form['general']['omniture_version'] = array(
+      '#type' => 'textfield',
+      '#title' => t("SiteCatalyst version (used by omniture for debugging)"),
+      '#default_value' => check_plain(variable_get("omniture_version", 'H.13')),
+  );
+
   // Render the role overview.
   $result = db_query('SELECT * FROM {role} ORDER BY name');
 
@@ -316,4 +327,4 @@ var s_server="www.omniture.com"
          <script language="javascript" src="/js/banner_track.js"></script>
          <!-- END SITECATALYST CODE -->
 
-*/
\ No newline at end of file
+*/
