diff --git a/acquia_agent/acquia_agent.module b/acquia_agent/acquia_agent.module index d25e640..1a38efa 100644 --- a/acquia_agent/acquia_agent.module +++ b/acquia_agent/acquia_agent.module @@ -227,11 +227,11 @@ function acquia_agent_init() { empty($_POST) && user_access('administer site configuration') && (!acquia_agent_has_credentials()) && (strpos($request, variable_get('file_public_path', conf_path() . DIRECTORY_SEPARATOR . 'files')) !== 0)) { - $text = 'Get a free 30-day trial of the Acquia Network which includes a library of expert knowledge, tools and services to make your site awesome, and Drupal support when you need it.
If you have an Acquia Network subscription, connect now. Otherwise, you can turn this message off by disabling the Acquia Network modules.'; + $text = 'Sign up for Acquia Cloud Free, a free Drupal sandbox to experiment with new features, test your code quality, and apply continuous integration best practices. Check out the epic set of dev features and tools that come with your free subscription.'; if (isset($_SERVER['AH_SITE_GROUP'])) { $text = 'Connect your site to the Acquia Network now. Learn more.'; } - $message = t($text, array('!more' => url('https://docs.acquia.com/network/install/connector'), '!acquia-free' => url('admin/config/system/acquia-agent'), '!library' => url('http://library.acquia.com'), '!settings' => url('admin/config/system/acquia-agent/setup'), '!support' => url('http://www.acquia.com/drupal-support'), '!services' => url('http://www.acquia.com/products-services/acquia-network/cloud-services'), '!admin-modules' => url('admin/modules'))); + $message = t($text, array('!acquia-free' => url('https://www.acquia.com/acquia-cloud-free'), '!settings' => url('admin/config/system/acquia-agent/setup'))); drupal_set_message($message, 'warning', FALSE); } } diff --git a/acquia_agent/acquia_agent.pages.inc b/acquia_agent/acquia_agent.pages.inc index 2d2ab2d..aad5fc4 100644 --- a/acquia_agent/acquia_agent.pages.inc +++ b/acquia_agent/acquia_agent.pages.inc @@ -142,7 +142,7 @@ function acquia_agent_migrate_form($form, &$form_state) { } /** - * Main 30 day trial form function + * Main free subscription form function */ function acquia_agent_an_start_form($form, &$form_state, $banner) { $header = acquia_agent_an_info_header(); @@ -181,7 +181,7 @@ function acquia_agent_settings_page($arg = NULL) { drupal_add_css($path . '/css/acquia_agent.css'); if (empty($identifier) && empty($key) && $arg != 'setup') { - drupal_set_title(t('Get a free 30 day trial of the Acquia Network')); + drupal_set_title(t('Get an Acquia Cloud Free subscription')); return drupal_get_form('acquia_agent_an_start_form', $banner); } if (empty($identifier) && empty($key)) { diff --git a/acquia_agent/tests/acquia_agent.test b/acquia_agent/tests/acquia_agent.test index abf87d7..d90ed31 100644 --- a/acquia_agent/tests/acquia_agent.test +++ b/acquia_agent/tests/acquia_agent.test @@ -58,8 +58,8 @@ class AcquiaAgentTestCase extends DrupalWebTestCase { */ private function acquiaAgentStrings($id) { switch ($id) { - case '30-day': - return 'Get a free 30-day trial of the Acquia Network which includes a library of expert knowledge, tools and services to make your site awesome, and Drupal support when you need it.'; + case 'free': + return 'Sign up for Acquia Cloud Free, a free Drupal sandbox to experiment with new features, test your code quality, and apply continuous integration best practices.'; case 'get-connected': return 'If you have an Acquia Network subscription, connect now. Otherwise, you can turn this message off by disabling the Acquia Network modules.'; case 'enter-email': @@ -96,7 +96,7 @@ class AcquiaAgentTestCase extends DrupalWebTestCase { public function testAcquiaAgentGetConnected() { // Check for call to get connected. $this->drupalGet('admin'); - $this->assertText($this->acquiaAgentStrings('30-day'), 'The explanation of services text exists'); + $this->assertText($this->acquiaAgentStrings('free'), 'The explanation of services text exists'); $this->assertLinkByHref($this->cloud_services_url, 0, 'Link to Acquia.com Cloud Services exists'); $this->assertText($this->acquiaAgentStrings('get-connected'), 'The call-to-action to connect text exists'); $this->assertLink('connect now', 0, 'The "connect now" link exists');