|
|
@@ -162,12 +162,27 @@ class FilesInFolders { |
|
|
|
? $this->config['bulkIncludePic'] |
|
|
|
: $f3->get('bulkIncludePic') ? : FALSE |
|
|
|
; |
|
|
|
if ($bulkIncludePic) { |
|
|
|
if ($bulkIncludePic) { |
|
|
|
|
|
|
|
foreach($this->structs[$domain_key]['pic'] as $key=>$file) { |
|
|
|
$this->content[$domain][$key."10image"] = sprintf( |
|
|
|
"<img class=\"bulkImportedImage $bulkIncludePic\" src=\"/$file\" />" |
|
|
|
); |
|
|
|
$image_include_version = 2; |
|
|
|
switch ($image_include_version) { |
|
|
|
case 1: |
|
|
|
$this->content[$domain][$key."10image"] = sprintf( |
|
|
|
"<img class=\"bulkImportedImage $bulkIncludePic\" src=\"/$file\" />" |
|
|
|
); |
|
|
|
break; |
|
|
|
case 2: |
|
|
|
$module = new CEimage(['image',$file,'','gallery']); |
|
|
|
$this->content[$domain][$key."10image"] = $module->index(); |
|
|
|
unset($module); |
|
|
|
break; |
|
|
|
case 3: |
|
|
|
//$this->content[$domain][] = "asdasd"; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
$bulkIncludeAudio = array_key_exists('bulkIncludeAudio',$this->config) |
|
|
|
? $this->config['bulkIncludeAudio'] |