Просмотр исходного кода

#2860 Audio attachments in modules like posts & classes

Alex Trofimov 5 лет назад
Родитель
Сommit
74a0db2e5a

+ 2 - 2
modules/boonex/posts/classes/BxPostsConfig.php

@@ -96,7 +96,7 @@ class BxPostsConfig extends BxBaseModTextConfig
             'OBJECT_STORAGE_FILES' => 'bx_posts_files',
             'OBJECT_STORAGE_PHOTOS' => 'bx_posts_photos',
             'OBJECT_STORAGE_VIDEOS' => 'bx_posts_videos',
-            'OBJECT_STORAGE_SOUNDS' => 'bx_classes_sounds',
+            'OBJECT_STORAGE_SOUNDS' => 'bx_posts_sounds',
             'OBJECT_IMAGES_TRANSCODER_PREVIEW' => 'bx_posts_preview',
             'OBJECT_IMAGES_TRANSCODER_GALLERY' => 'bx_posts_gallery',
             'OBJECT_IMAGES_TRANSCODER_COVER' => 'bx_posts_cover',
@@ -104,7 +104,7 @@ class BxPostsConfig extends BxBaseModTextConfig
             'OBJECT_IMAGES_TRANSCODER_GALLERY_FILES' => 'bx_posts_gallery_files',
             'OBJECT_IMAGES_TRANSCODER_PREVIEW_PHOTOS' => 'bx_posts_preview_photos',
             'OBJECT_IMAGES_TRANSCODER_GALLERY_PHOTOS' => 'bx_posts_gallery_photos',
-            'OBJECT_SOUNDS_TRANSCODER' => 'bx_classes_sounds_mp3',
+            'OBJECT_SOUNDS_TRANSCODER' => 'bx_posts_sounds_mp3',
             'OBJECT_VIDEOS_TRANSCODERS' => array(
                 'poster' => 'bx_posts_videos_poster', 
             	'poster_preview' => 'bx_posts_videos_poster_preview',

+ 1 - 1
modules/boonex/posts/install/sql/install.sql

@@ -423,7 +423,7 @@ INSERT INTO `sys_transcoder_filters` (`transcoder_object`, `filter`, `filter_par
 ('bx_posts_videos_mp4', 'Mp4', 'a:2:{s:1:"h";s:3:"318";s:10:"force_type";s:3:"mp4";}', 0),
 ('bx_posts_videos_mp4_hd', 'Mp4', 'a:3:{s:1:"h";s:3:"720";s:13:"video_bitrate";s:4:"1536";s:10:"force_type";s:3:"mp4";}', 0),
 
-('bx_classes_sounds_mp3', 'Mp3', 'a:0:{}', 0),
+('bx_posts_sounds_mp3', 'Mp3', 'a:0:{}', 0),
 
 ('bx_posts_preview_files', 'Resize', 'a:3:{s:1:"w";s:3:"300";s:1:"h";s:3:"200";s:11:"crop_resize";s:1:"1";}', '0'),
 ('bx_posts_gallery_files', 'Resize', 'a:4:{s:1:"w";s:3:"600";s:1:"h";s:3:"600";s:13:"square_resize";s:1:"1";s:10:"force_type";s:3:"jpg";}', '0');