updated admin
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
09ac2a24ac
commit
443e4fc138
@ -4,6 +4,16 @@
|
||||
* materio_administration.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_administration_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_views_api().
|
||||
*/
|
||||
|
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.menu_custom.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_menu_default_menu_custom().
|
||||
*/
|
||||
function materio_administration_menu_default_menu_custom() {
|
||||
$menus = array();
|
||||
|
||||
// Exported menu: navigation.
|
||||
$menus['navigation'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'title' => 'Navigation',
|
||||
'description' => 'The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.',
|
||||
'language' => 'und',
|
||||
'i18n_mode' => '0',
|
||||
);
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Navigation');
|
||||
t('The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.');
|
||||
|
||||
|
||||
return $menus;
|
||||
}
|
@ -3,13 +3,39 @@ core = 7.x
|
||||
package = Materio
|
||||
php = 5.2.4
|
||||
dependencies[] = ctools
|
||||
dependencies[] = features
|
||||
dependencies[] = menu
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = views
|
||||
dependencies[] = views_bulk_operations
|
||||
dependencies[] = workflow
|
||||
dependencies[] = workflow_actions
|
||||
dependencies[] = workflow_views
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[ctools][] = views:views_default:3.0
|
||||
features[features_api][] = api:1
|
||||
features[menu_custom][] = navigation
|
||||
features[variable][] = editmenu_cache_menu
|
||||
features[variable][] = editmenu_css_error
|
||||
features[variable][] = editmenu_css_filename
|
||||
features[variable][] = editmenu_detect_popup
|
||||
features[variable][] = editmenu_dropdown_zindex
|
||||
features[variable][] = editmenu_effect
|
||||
features[variable][] = editmenu_effect_speed
|
||||
features[variable][] = editmenu_element
|
||||
features[variable][] = editmenu_element_method
|
||||
features[variable][] = editmenu_exclusions
|
||||
features[variable][] = editmenu_fix
|
||||
features[variable][] = editmenu_hide_delay
|
||||
features[variable][] = editmenu_menu
|
||||
features[variable][] = editmenu_menu_scope
|
||||
features[variable][] = editmenu_menubar_zindex
|
||||
features[variable][] = editmenu_running
|
||||
features[variable][] = editmenu_superfish_version
|
||||
features[variable][] = editmenu_theme
|
||||
features[variable][] = editmenu_uid1
|
||||
features[variable][] = editmenu_visibility_operator
|
||||
features[variable][] = editmenu_visibility_pages
|
||||
features[views_view][] = admin_content_node
|
||||
features[views_view][] = admin_contents
|
||||
features[views_view][] = admin_peoples
|
||||
|
173
materio_administration/materio_administration.strongarm.inc
Normal file
173
materio_administration/materio_administration.strongarm.inc
Normal file
@ -0,0 +1,173 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function materio_administration_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 = 'editmenu_cache_menu';
|
||||
$strongarm->value = 0;
|
||||
$export['editmenu_cache_menu'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_css_error';
|
||||
$strongarm->value = 1333478060;
|
||||
$export['editmenu_css_error'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_css_filename';
|
||||
$strongarm->value = '';
|
||||
$export['editmenu_css_filename'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_detect_popup';
|
||||
$strongarm->value = 1;
|
||||
$export['editmenu_detect_popup'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_dropdown_zindex';
|
||||
$strongarm->value = '9999';
|
||||
$export['editmenu_dropdown_zindex'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_effect';
|
||||
$strongarm->value = 'opacity';
|
||||
$export['editmenu_effect'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_effect_speed';
|
||||
$strongarm->value = 'fast';
|
||||
$export['editmenu_effect_speed'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_element';
|
||||
$strongarm->value = 'body';
|
||||
$export['editmenu_element'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_element_method';
|
||||
$strongarm->value = 'prepend';
|
||||
$export['editmenu_element_method'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_exclusions';
|
||||
$strongarm->value = array(
|
||||
'adaptivetheme_gui_admin' => 0,
|
||||
'adaptivetheme_gui_starter' => 0,
|
||||
'bartik' => 0,
|
||||
'garland' => 0,
|
||||
'gui7' => 0,
|
||||
'guibik' => 0,
|
||||
'inigui' => 0,
|
||||
'rubik' => 0,
|
||||
'seven' => 0,
|
||||
'stark' => 0,
|
||||
'tao' => 0,
|
||||
);
|
||||
$export['editmenu_exclusions'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_fix';
|
||||
$strongarm->value = 'scroll';
|
||||
$export['editmenu_fix'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_hide_delay';
|
||||
$strongarm->value = '800';
|
||||
$export['editmenu_hide_delay'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_menu';
|
||||
$strongarm->value = 'navigation:0';
|
||||
$export['editmenu_menu'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_menubar_zindex';
|
||||
$strongarm->value = '9999';
|
||||
$export['editmenu_menubar_zindex'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_menu_scope';
|
||||
$strongarm->value = 'footer';
|
||||
$export['editmenu_menu_scope'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_running';
|
||||
$strongarm->value = FALSE;
|
||||
$export['editmenu_running'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_superfish_version';
|
||||
$strongarm->value = 'superfish-1.4.1.js';
|
||||
$export['editmenu_superfish_version'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_theme';
|
||||
$strongarm->value = 'gui.net';
|
||||
$export['editmenu_theme'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_uid1';
|
||||
$strongarm->value = 0;
|
||||
$export['editmenu_uid1'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_visibility_operator';
|
||||
$strongarm->value = '0';
|
||||
$export['editmenu_visibility_operator'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_visibility_pages';
|
||||
$strongarm->value = '';
|
||||
$export['editmenu_visibility_pages'] = $strongarm;
|
||||
|
||||
return $export;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user