aboutsummaryrefslogtreecommitdiff
path: root/features/muamba_interface
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-23 14:03:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-23 14:03:10 -0300
commit1459c2923a6f1de73a20466b521fb6e1a627bc45 (patch)
treed3455b7b1af4d18f36973c3deda0ac588f98ceae /features/muamba_interface
parent6e84d7f37d716773d4148bee19f505396e7ade43 (diff)
downloadmuamba-1459c2923a6f1de73a20466b521fb6e1a627bc45.tar.gz
muamba-1459c2923a6f1de73a20466b521fb6e1a627bc45.tar.bz2
Adding interface feature
Diffstat (limited to 'features/muamba_interface')
-rw-r--r--features/muamba_interface/muamba_interface.features.inc15
-rw-r--r--features/muamba_interface/muamba_interface.info12
-rw-r--r--features/muamba_interface/muamba_interface.module7
-rw-r--r--features/muamba_interface/muamba_interface.strongarm.inc58
4 files changed, 92 insertions, 0 deletions
diff --git a/features/muamba_interface/muamba_interface.features.inc b/features/muamba_interface/muamba_interface.features.inc
new file mode 100644
index 0000000..13d70e2
--- /dev/null
+++ b/features/muamba_interface/muamba_interface.features.inc
@@ -0,0 +1,15 @@
+<?php
+/**
+ * @file
+ * muamba_interface.features.inc
+ */
+
+/**
+ * Implements hook_ctools_plugin_api().
+ */
+function muamba_interface_ctools_plugin_api() {
+ list($module, $api) = func_get_args();
+ if ($module == "strongarm" && $api == "strongarm") {
+ return array("version" => "1");
+ }
+}
diff --git a/features/muamba_interface/muamba_interface.info b/features/muamba_interface/muamba_interface.info
new file mode 100644
index 0000000..1890406
--- /dev/null
+++ b/features/muamba_interface/muamba_interface.info
@@ -0,0 +1,12 @@
+core = "7.x"
+dependencies[] = "strongarm"
+description = "Muamba Interface Feature"
+features[ctools][] = "strongarm:strongarm:1"
+features[variable][] = "site_mail"
+features[variable][] = "site_name"
+features[variable][] = "theme_default"
+features[variable][] = "theme_settings"
+name = "Muamba Interface"
+package = "Features"
+project = "muamba_interface"
+version = "7.x-0.1"
diff --git a/features/muamba_interface/muamba_interface.module b/features/muamba_interface/muamba_interface.module
new file mode 100644
index 0000000..018ae5d
--- /dev/null
+++ b/features/muamba_interface/muamba_interface.module
@@ -0,0 +1,7 @@
+<?php
+/**
+ * @file
+ * Code for the Muamba Interface feature.
+ */
+
+include_once('muamba_interface.features.inc');
diff --git a/features/muamba_interface/muamba_interface.strongarm.inc b/features/muamba_interface/muamba_interface.strongarm.inc
new file mode 100644
index 0000000..c2531f8
--- /dev/null
+++ b/features/muamba_interface/muamba_interface.strongarm.inc
@@ -0,0 +1,58 @@
+<?php
+/**
+ * @file
+ * muamba_interface.strongarm.inc
+ */
+
+/**
+ * Implements hook_strongarm().
+ */
+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 = 'site_mail';
+ $strongarm->value = 'muamba@sarava.org';
+ $export['site_mail'] = $strongarm;
+
+ $strongarm = new stdClass;
+ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+ $strongarm->api_version = 1;
+ $strongarm->name = 'site_name';
+ $strongarm->value = 'Clube da Muamba';
+ $export['site_name'] = $strongarm;
+
+ $strongarm = new stdClass;
+ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+ $strongarm->api_version = 1;
+ $strongarm->name = 'theme_default';
+ $strongarm->value = 'muambeiro';
+ $export['theme_default'] = $strongarm;
+
+ $strongarm = new stdClass;
+ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+ $strongarm->api_version = 1;
+ $strongarm->name = 'theme_settings';
+ $strongarm->value = array(
+ 'toggle_logo' => 1,
+ 'toggle_name' => 1,
+ 'toggle_slogan' => 1,
+ 'toggle_node_user_picture' => 1,
+ 'toggle_comment_user_picture' => 1,
+ 'toggle_comment_user_verification' => 1,
+ 'toggle_favicon' => 1,
+ 'toggle_main_menu' => 1,
+ 'toggle_secondary_menu' => 1,
+ 'default_logo' => 0,
+ 'logo_path' => '',
+ 'logo_upload' => '',
+ 'default_favicon' => 0,
+ 'favicon_path' => '',
+ 'favicon_upload' => '',
+ );
+ $export['theme_settings'] = $strongarm;
+
+ return $export;
+}