mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Gallery Module Update (merged from trunk, r42474)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42939 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
614706f04d
commit
ab88be37fe
@ -93,13 +93,15 @@ class AssetTableField extends ComplexTableField {
|
||||
'Main'
|
||||
);
|
||||
|
||||
$detailFormFields->addFieldToTab("BottomRoot",
|
||||
new Tab("Gallery Options",
|
||||
new TextField( "Content", "Caption" )
|
||||
)
|
||||
);
|
||||
if(class_exists('GalleryFile')) {
|
||||
$detailFormFields->addFieldToTab("BottomRoot",
|
||||
new Tab("Gallery Options",
|
||||
new TextField( "Content", "Caption" )
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
else {
|
||||
else if (class_exists('GalleryFile')) {
|
||||
if( $childData->Extension == 'swf' ) {
|
||||
$detailFormFields->addFieldToTab("BottomRoot",
|
||||
new Tab("Gallery Options",
|
||||
|
Loading…
Reference in New Issue
Block a user