@@ 45-49 (lines=5) @@ | ||
42 | { |
|
43 | if (! FlashObject::has_external_flash_file()) { |
|
44 | $show = true; |
|
45 | if (is_array(self::get_classes_with_flash()) && count(self::get_classes_with_flash())) { |
|
46 | if (!in_array($this->owner->ClassName, self::get_classes_with_flash())) { |
|
47 | $show = false; |
|
48 | } |
|
49 | } |
|
50 | if (is_array(self::get_classes_without_flash()) && count(self::get_classes_without_flash())) { |
|
51 | if (in_array($this->owner->ClassName, self::get_classes_without_flash())) { |
|
52 | $show = false; |
|
@@ 50-54 (lines=5) @@ | ||
47 | $show = false; |
|
48 | } |
|
49 | } |
|
50 | if (is_array(self::get_classes_without_flash()) && count(self::get_classes_without_flash())) { |
|
51 | if (in_array($this->owner->ClassName, self::get_classes_without_flash())) { |
|
52 | $show = false; |
|
53 | } |
|
54 | } |
|
55 | if ($show) { |
|
56 | $fields->addFieldToTab("Root.Content.FlashObject", new FileIFrameField('FlashFile', 'File')); |
|
57 | $fields->addFieldToTab("Root.Content.FlashObject", new TextField('Title', 'Title')); |