updated/sunc feautures betxeen local and online
This commit is contained in:
@@ -13,7 +13,7 @@ function materio_bookmarks_flag_default_flags() {
|
||||
$flags['bookmarks'] = array(
|
||||
'entity_type' => 'node',
|
||||
'title' => 'Bookmarks',
|
||||
'global' => '0',
|
||||
'global' => 0,
|
||||
'types' => array(
|
||||
0 => 'breve',
|
||||
1 => 'materiau',
|
||||
@@ -27,11 +27,26 @@ function materio_bookmarks_flag_default_flags() {
|
||||
'unflag_denied_text' => '',
|
||||
'link_type' => 'toggle',
|
||||
'weight' => 0,
|
||||
'show_in_links' => array(
|
||||
'full' => 'full',
|
||||
'bookmark' => 'bookmark',
|
||||
'cardsmall' => 'cardsmall',
|
||||
'cardmedium' => 'cardmedium',
|
||||
'cardbig' => 'cardbig',
|
||||
'cardfull' => 'cardfull',
|
||||
'teaser' => 0,
|
||||
'rss' => 0,
|
||||
'diff_standard' => 0,
|
||||
'print' => 0,
|
||||
'email_plain' => 0,
|
||||
'email_html' => 0,
|
||||
'email_textalt' => 0,
|
||||
'token' => 0,
|
||||
),
|
||||
'show_as_field' => 0,
|
||||
'show_on_form' => 0,
|
||||
'access_author' => '',
|
||||
'show_contextual_link' => FALSE,
|
||||
'show_on_page' => 1,
|
||||
'show_on_teaser' => 0,
|
||||
'i18n' => 0,
|
||||
'module' => 'materio_bookmarks',
|
||||
'locked' => array(
|
||||
@@ -63,12 +78,13 @@ function materio_bookmarks_image_default_styles() {
|
||||
'module' => 'image',
|
||||
'name' => 'image_scale_and_crop',
|
||||
'data' => array(
|
||||
'width' => '50',
|
||||
'height' => '70',
|
||||
'width' => 50,
|
||||
'height' => 70,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'label' => 'card-bookmark',
|
||||
);
|
||||
|
||||
return $styles;
|
||||
|
@@ -10,24 +10,26 @@
|
||||
function materio_bookmarks_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: flag bookmarks.
|
||||
// Exported permission: 'flag bookmarks'.
|
||||
$permissions['flag bookmarks'] = array(
|
||||
'name' => 'flag bookmarks',
|
||||
'roles' => array(
|
||||
0 => 'Utilisateur',
|
||||
1 => 'administrator',
|
||||
2 => 'root',
|
||||
'Student' => 'Student',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag',
|
||||
);
|
||||
|
||||
// Exported permission: unflag bookmarks.
|
||||
// Exported permission: 'unflag bookmarks'.
|
||||
$permissions['unflag bookmarks'] = array(
|
||||
'name' => 'unflag bookmarks',
|
||||
'roles' => array(
|
||||
0 => 'Utilisateur',
|
||||
1 => 'administrator',
|
||||
2 => 'root',
|
||||
'Student' => 'Student',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag',
|
||||
);
|
||||
|
@@ -1,13 +1,13 @@
|
||||
name = Materio bookmarks
|
||||
core = 7.x
|
||||
package = Materio
|
||||
php = 5.2.4
|
||||
dependencies[] = features
|
||||
dependencies[] = flag
|
||||
dependencies[] = image
|
||||
dependencies[] = materio_flag
|
||||
features[features_api][] = api:1
|
||||
features[features_api][] = api:2
|
||||
features[flag][] = bookmarks
|
||||
features[image][] = card-bookmark
|
||||
features[user_permission][] = flag bookmarks
|
||||
features[user_permission][] = unflag bookmarks
|
||||
project path = sites/all/modules/features
|
||||
|
Reference in New Issue
Block a user