mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 09:10:23 +02:00
Issue #3200 More work on Media-picker. Version changed to 2.1.9 (git)
This commit is contained in:
@@ -1752,7 +1752,15 @@ class news_form_ui extends e_admin_form_ui
|
||||
}
|
||||
}
|
||||
|
||||
$text = $frm->imagepicker('news_thumbnail[0]', varset($thumbTmp[0]), varset($paths[0]),'media=news&video=1&legacyPath={e_IMAGE}newspost_images');
|
||||
if(deftrue('e_DEBUG_MEDIAPICKER'))
|
||||
{
|
||||
$text = $frm->mediapicker('news_thumbnail[0]', varset($thumbTmp[0]),'media=news&image=1&video=1&audio=1');
|
||||
}
|
||||
else
|
||||
{
|
||||
$text = $frm->imagepicker('news_thumbnail[0]', varset($thumbTmp[0]), varset($paths[0]),'media=news&video=1&legacyPath={e_IMAGE}newspost_images');
|
||||
}
|
||||
|
||||
$text .= $frm->imagepicker('news_thumbnail[1]', varset($thumbTmp[1]), varset($paths[1]),'media=news&video=1&legacyPath={e_IMAGE}newspost_images');
|
||||
$text .= $frm->imagepicker('news_thumbnail[2]', varset($thumbTmp[2]), varset($paths[2]),'media=news&video=1&legacyPath={e_IMAGE}newspost_images');
|
||||
$text .= $frm->imagepicker('news_thumbnail[3]', varset($thumbTmp[3]), varset($paths[3]),'media=news&video=1&legacyPath={e_IMAGE}newspost_images');
|
||||
|
Reference in New Issue
Block a user