mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Gallery Module Update
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42472 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
978ca0b7e9
commit
dc34d1d6e7
@ -91,13 +91,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…
x
Reference in New Issue
Block a user