Permalink
Browse files

Some minimal changes to les_gallery and les_news.

  • Loading branch information...
1 parent 40e2059 commit 8bf89f8de63c909a3375bda8678c6c04d61bd390 @marilin marilin committed Oct 9, 2012
@@ -212,7 +212,7 @@ function les_gallery_field_default_fields() {
'entity_translation_sync' => FALSE,
'file_directory' => 'pildid/galerii',
'file_extensions' => 'png gif jpg jpeg',
- 'max_filesize' => '',
+ 'max_filesize' => '5000000',
'max_resolution' => '',
'min_resolution' => '100x100',
'title_field' => 1,
@@ -234,26 +234,34 @@ function les_gallery_field_default_fields() {
'attach_mode' => 'copy',
'path' => 'file_attach',
),
+ 'source_imce' => array(
+ 'imce_mode' => 0,
+ ),
'source_reference' => array(
'autocomplete' => '0',
),
),
'insert' => 1,
- 'insert_absolute' => FALSE,
+ 'insert_absolute' => 0,
'insert_class' => 'galerii',
'insert_default' => 'colorbox__gallery_thumbnail',
'insert_styles' => array(
'auto' => 0,
'colorbox__gallery_thumbnail' => 0,
'colorbox__large' => 0,
'colorbox__medium' => 0,
+ 'colorbox__news_thumbnail' => 0,
+ 'colorbox__proov' => 0,
'colorbox__slider_image_full' => 0,
'colorbox__slider_image_thumb' => 0,
'colorbox__thumbnail' => 0,
+ 'icon_link' => 0,
'image' => 0,
'image_gallery_thumbnail' => 0,
'image_large' => 0,
'image_medium' => 0,
+ 'image_news_thumbnail' => 0,
+ 'image_proov' => 0,
'image_slider_image_full' => 0,
'image_slider_image_thumb' => 0,
'image_thumbnail' => 0,
@@ -27,7 +27,7 @@ function les_gallery_menu_default_menu_links() {
'external' => '0',
'has_children' => '0',
'expanded' => '0',
- 'weight' => '-46',
+ 'weight' => '-40',
);
// Exported menu link: navigation:node/add/galerii
$menu_links['navigation:node/add/galerii'] = array(
@@ -3,7 +3,7 @@ description = This is image gallery made with Views
core = 7.x
package = LES
php = 5.2.4
-version = 7.x-0.3
+version = 7.x-0.4
project = les_gallery
dependencies[] = colorbox
dependencies[] = features
@@ -27,7 +27,7 @@ function les_news_menu_default_menu_links() {
'external' => '0',
'has_children' => '0',
'expanded' => '0',
- 'weight' => '-49',
+ 'weight' => '-48',
);
// Translatables
// Included for use with string extractors like potx.
@@ -3,7 +3,7 @@ description = LES News view
core = 7.x
package = LES
php = 5.2.4
-version = 7.x-0.2
+version = 7.x-0.3
project = les_news
dependencies[] = ctools
dependencies[] = features

0 comments on commit 8bf89f8

Please sign in to comment.