? sitecatalyst_renaming.patch
Index: omniture.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/omniture/omniture.info,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 omniture.info
--- omniture.info 12 Sep 2007 20:23:00 -0000 1.1.2.1
+++ omniture.info 11 Oct 2007 12:30:37 -0000
@@ -1,4 +1,4 @@
; $Id: omniture.info,v 1.1.2.1 2007/09/12 20:23:00 greggles Exp $
-name = Omniture
-description = Adds Omniture javascript tracking code to all your site's pages.
+name = Omniture SiteCatalyst
+description = Adds Omniture SiteCatalyst javascript tracking code to all your site's pages.
Index: omniture.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/omniture/omniture.module,v
retrieving revision 1.1.2.6
diff -u -p -r1.1.2.6 omniture.module
--- omniture.module 3 Oct 2007 15:18:51 -0000 1.1.2.6
+++ omniture.module 11 Oct 2007 12:30:37 -0000
@@ -1,7 +1,7 @@
'admin/settings/omniture',
- 'title' => t('Omniture'),
- 'description' => t('Configure the settings used to generate your Omniture.'),
+ 'title' => t('SiteCaralyst'),
+ 'description' => t('Configure the settings used to integrate SiteCatalyst.'),
'callback' => 'drupal_get_form',
'callback arguments' => 'omniture_admin_settings',
- 'access' => user_access('administer Omniture configuration'),
+ 'access' => user_access('administer SiteCatalyst configuration'),
'type' => MENU_NORMAL_ITEM,
);
}
@@ -172,18 +172,18 @@ function omniture_admin_settings() {
'#type' => 'fieldset',
'#title' => t('General Settings'),
'#collapsible' => TRUE,
- '#description' => t('General settings for Omniture module')
+ '#description' => t('General Settings')
);
$form['general']["omniture_js_file_location"] = array(
'#type' => 'textfield',
- '#title' => t("Complete path to Omniture Javascript file"),
+ '#title' => t("Complete path to SiteCatalyst Javascript file"),
'#default_value' => check_plain(variable_get("omniture_js_file_location", 'http://www.example.com/js/s_code_remote_h.js')),
);
$form['general']["omniture_image_file_location"] = array(
'#type' => 'textfield',
- '#title' => t("Complete path to Omniture Image file"),
+ '#title' => t("Complete path to SiteCatalyst Image file"),
'#default_value' => check_plain(variable_get("omniture_image_file_location", 'http://examplecom.112.2O7.net/b/ss/examplecom/1/H.13--NS/0')),
);
@@ -211,7 +211,7 @@ function omniture_admin_settings() {
'#type' => 'fieldset',
'#title' => t('Vocabulary Variables'),
'#collapsible' => TRUE,
- '#description' => t('Define which vocabularies should should be tracked by which Omniture variables. Only applies to the full node view (e.g. node/1 or the aliased version of a node). Leave blank to disable for a vocabulary. Multiple terms from a "Multiple select" vocabulary will be placed into a comma separated list. Not available for "Free tagging" vocabularies.')
+ '#description' => t('Define which vocabularies should should be tracked by which SiteCatalyst variables. Only applies to the full node view (e.g. node/1 or the aliased version of a node). Leave blank to disable for a vocabulary. Multiple terms from a "Multiple select" vocabulary will be placed into a comma separated list. Not available for "Free tagging" vocabularies.')
);
// Allow setting a vocabulary into a variable
@@ -231,14 +231,14 @@ function omniture_admin_settings() {
'#title' => t('Advanced'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
- '#description' => t('You can add custom Omniture code here.')
+ '#description' => t('You can add custom SiteCatalyst code here.')
);
$form['advanced']['omniture_codesnippet'] = array(
'#type' => 'textarea',
'#title' => t('JavaScript Code'),
'#default_value' => variable_get('omniture_codesnippet', ''),
'#rows' => 15,
- '#description' => t('Paste custom code snippets here. These will be added to every page that Omniture appears on. For help with this feature see the cutroni.com blog. Do not include the <script> tags, and always end your code with a semicolon (;).', array('@snippets' => 'http://drupal.org/node/39282', '@blog' => 'http://cutroni.com/blog/') )
+ '#description' => t('Paste custom code snippets here. These will be added to every page that SiteCatalyst appears on. For help with this feature see the cutroni.com blog. Do not include the <script> tags, and always end your code with a semicolon (;).', array('@snippets' => 'http://drupal.org/node/39282', '@blog' => 'http://cutroni.com/blog/') )
);
return system_settings_form($form);
@@ -251,11 +251,11 @@ function omniture_requirements($phase) {
$requirements = array();
if ($phase == 'runtime') {
- // Raise warning if Omniture user account has not been set yet.
+ // Raise warning if Omniture-SiteCatalyst user account has not been set yet.
if (variable_get('omniture_account', 'UA-') == 'UA-') {
$requirements['omniture'] = array(
- 'title' => t('Omniture module'),
- 'description' => t('Omniture module has not been configured yet. Please configure its settings from the Omniture settings page.', array('@url' => url('admin/settings/omniture'))),
+ 'title' => t('Omniture SiteCatalyst module'),
+ 'description' => t('Omniture SiteCatalyst module has not been configured yet. Please configure its settings from the Omniture SiteCatalyst settings page.', array('@url' => url('admin/settings/omniture'))),
'severity' => REQUIREMENT_ERROR,
'value' => t('Not configured'),
);