updated features materio_subscrition and materio_user_profile

This commit is contained in:
Bachir Soussi Chiadmi
2013-12-09 17:22:25 +01:00
parent 39759425ce
commit 5cde537e0a
18 changed files with 3269 additions and 459 deletions

143
materio_subscriptions/materio_subscriptions.strongarm.inc Normal file → Executable file
View File

@@ -10,6 +10,75 @@
function materio_subscriptions_strongarm() {
$export = array();
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'cart-settings__active_tab';
$strongarm->value = 'edit-breadcrumb';
$export['cart-settings__active_tab'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'date_format_uc_store';
$strongarm->value = 'm/d/Y';
$export['date_format_uc_store'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_node__product';
$strongarm->value = array(
'view_modes' => array(
'teaser' => array(
'custom_settings' => TRUE,
),
),
'extra_fields' => array(
'form' => array(),
'display' => array(
'model' => array(
'teaser' => array(
'weight' => 0,
'visible' => FALSE,
),
),
'list_price' => array(
'teaser' => array(
'weight' => 0,
'visible' => FALSE,
),
),
'cost' => array(
'teaser' => array(
'weight' => 0,
'visible' => FALSE,
),
),
'weight' => array(
'teaser' => array(
'weight' => 0,
'visible' => FALSE,
),
),
'dimensions' => array(
'teaser' => array(
'weight' => 0,
'visible' => FALSE,
),
),
),
),
);
$export['field_bundle_settings_node__product'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'pathauto_node_product_pattern';
$strongarm->value = '';
$export['pathauto_node_product_pattern'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
@@ -77,11 +146,11 @@ function materio_subscriptions_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_address_format_250';
$strongarm->value = '!company
!first_name !last_name
!street1
!street2
!postal_code !city
$strongarm->value = '!company
!first_name !last_name
!street1
!street2
!postal_code !city
!country_name_if';
$export['uc_address_format_250'] = $strongarm;
@@ -157,7 +226,7 @@ function materio_subscriptions_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_cap_uc_termsofservice_agreement_cart_enabled';
$strongarm->value = 1;
$strongarm->value = 0;
$export['uc_cap_uc_termsofservice_agreement_cart_enabled'] = $strongarm;
$strongarm = new stdClass();
@@ -223,6 +292,13 @@ function materio_subscriptions_strongarm() {
$strongarm->value = '';
$export['uc_cart_checkout_complete_page'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_cart_default_same_address';
$strongarm->value = 0;
$export['uc_cart_default_same_address'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
@@ -237,6 +313,13 @@ function materio_subscriptions_strongarm() {
$strongarm->value = 1;
$export['uc_cart_email_validation'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_cart_empty_button';
$strongarm->value = 0;
$export['uc_cart_empty_button'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
@@ -269,7 +352,7 @@ function materio_subscriptions_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_checkout_anonymous';
$strongarm->value = 1;
$strongarm->value = 0;
$export['uc_checkout_anonymous'] = $strongarm;
$strongarm = new stdClass();
@@ -332,7 +415,7 @@ function materio_subscriptions_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_coupon_collapse_pane';
$strongarm->value = 0;
$strongarm->value = 1;
$export['uc_coupon_collapse_pane'] = $strongarm;
$strongarm = new stdClass();
@@ -346,9 +429,9 @@ function materio_subscriptions_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_credit_accepted_types';
$strongarm->value = 'Visa
Mastercard
Discover
$strongarm->value = 'Visa
Mastercard
Discover
American Express';
$export['uc_credit_accepted_types'] = $strongarm;
@@ -377,14 +460,14 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_credit_discover';
$strongarm->value = 1;
$strongarm->value = 0;
$export['uc_credit_discover'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_credit_encryption_path';
$strongarm->value = '/Users/bachir/Sites/materio/encrypt';
$strongarm->value = '/home/bachir/Sites/materio/creditcards_encryptkeys';
$export['uc_credit_encryption_path'] = $strongarm;
$strongarm = new stdClass();
@@ -398,7 +481,7 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_credit_issue_enabled';
$strongarm->value = 1;
$strongarm->value = 0;
$export['uc_credit_issue_enabled'] = $strongarm;
$strongarm = new stdClass();
@@ -426,7 +509,7 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_credit_start_enabled';
$strongarm->value = 1;
$strongarm->value = 0;
$export['uc_credit_start_enabled'] = $strongarm;
$strongarm = new stdClass();
@@ -454,7 +537,7 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_credit__active_tab';
$strongarm->value = 'edit-test-gateway';
$strongarm->value = 'edit-cc-fields';
$export['uc_credit__active_tab'] = $strongarm;
$strongarm = new stdClass();
@@ -636,8 +719,8 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_msg_order_existing_user';
$strongarm->value = 'Thank you for shopping at [store:name]. Your current order has been attached to the account we found matching your e-mail address.
$strongarm->value = 'Thank you for shopping at [store:name]. Your current order has been attached to the account we found matching your e-mail address.
<a href="/fr/user">Login</a> to view your current order status and order history. Remember to login when you make your next purchase for a faster checkout experience!';
$export['uc_msg_order_existing_user'] = $strongarm;
@@ -652,11 +735,11 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_msg_order_new_user';
$strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
<a href="/fr/user">Login</a> to your new account using the following information:
<strong>Username:</strong> !new_username
$strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
<a href="/fr/user">Login</a> to your new account using the following information:
<strong>Username:</strong> !new_username
<strong>Password:</strong> !new_password';
$export['uc_msg_order_new_user'] = $strongarm;
@@ -664,10 +747,10 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_msg_order_new_user_logged_in';
$strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
Your password and further instructions have been sent to your e-mail address.
$strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
Your password and further instructions have been sent to your e-mail address.
For your convenience, you are already logged in with your newly created account.';
$export['uc_msg_order_new_user_logged_in'] = $strongarm;
@@ -822,7 +905,7 @@ For your convenience, you are already logged in with your newly created account.
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_pane_uc_termsofservice_agreement_checkout_enabled';
$strongarm->value = 1;
$strongarm->value = 0;
$export['uc_pane_uc_termsofservice_agreement_checkout_enabled'] = $strongarm;
$strongarm = new stdClass();
@@ -975,8 +1058,10 @@ For your convenience, you are already logged in with your newly created account.
$strongarm->api_version = 1;
$strongarm->name = 'uc_roles_default_role_choices';
$strongarm->value = array(
10 => '10',
6 => '6',
8 => '8',
9 => 0,
7 => 0,
5 => 0,
3 => 0,
@@ -1030,7 +1115,7 @@ For your convenience, you are already logged in with your newly created account.
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'uc_store_email';
$strongarm->value = 'materio@g-u-i.net';
$strongarm->value = 'info@materio.com';
$export['uc_store_email'] = $strongarm;
$strongarm = new stdClass();