From b61db35eff0e9b5040754c5c83a86b732cf582ea Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 10 Oct 2011 22:27:13 -0300 Subject: Adding more stuff to features (2) --- features/muamba_interface/muamba_interface.info | 2 ++ .../muamba_interface.strongarm.inc | 34 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) (limited to 'features/muamba_interface') diff --git a/features/muamba_interface/muamba_interface.info b/features/muamba_interface/muamba_interface.info index d000af1..2c54e9b 100644 --- a/features/muamba_interface/muamba_interface.info +++ b/features/muamba_interface/muamba_interface.info @@ -20,6 +20,8 @@ features[menu_custom][] = "user-menu" features[user_permission][] = "access site-wide contact form" features[user_permission][] = "access user contact forms" features[user_permission][] = "administer contact forms" +features[variable][] = "captcha_default_challenge" +features[variable][] = "captcha_placement_map_cache" features[variable][] = "colorbox_caption_trim" features[variable][] = "colorbox_caption_trim_length" features[variable][] = "colorbox_compression_type" diff --git a/features/muamba_interface/muamba_interface.strongarm.inc b/features/muamba_interface/muamba_interface.strongarm.inc index 84933fd..b12cf1e 100644 --- a/features/muamba_interface/muamba_interface.strongarm.inc +++ b/features/muamba_interface/muamba_interface.strongarm.inc @@ -10,6 +10,40 @@ function muamba_interface_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 = 'captcha_default_challenge'; + $strongarm->value = 'image_captcha/Image'; + $export['captcha_default_challenge'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_placement_map_cache'; + $strongarm->value = array( + 'comment_form' => array( + 'path' => array(), + 'key' => NULL, + 'weight' => 18.9, + ), + 'user_register_form' => array( + 'path' => array( + 0 => 'actions', + ), + 'key' => 'submit', + 'weight' => NULL, + ), + 'contact_site_form' => array( + 'path' => array( + 0 => 'actions', + ), + 'key' => 'submit', + 'weight' => NULL, + ), + ); + $export['captcha_placement_map_cache'] = $strongarm; + $strongarm = new stdClass; $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; -- cgit v1.2.3