|
@@ 1036-1040 (lines=5) @@
|
| 1033 |
|
$sidebar_fields = $section->fetchFields(null, 'sidebar'); |
| 1034 |
|
$main_fields = $section->fetchFields(null, 'main'); |
| 1035 |
|
|
| 1036 |
|
if (!empty($sidebar_fields) && !empty($main_fields)) { |
| 1037 |
|
$this->Form->setAttribute('class', 'two columns'); |
| 1038 |
|
} else { |
| 1039 |
|
$this->Form->setAttribute('class', 'columns'); |
| 1040 |
|
} |
| 1041 |
|
|
| 1042 |
|
// Only show the Edit Section button if the Author is a developer. #938 ^BA |
| 1043 |
|
if (Symphony::Author()->isDeveloper()) { |
|
@@ 1731-1735 (lines=5) @@
|
| 1728 |
|
$sidebar_fields = $section->fetchFields(null, 'sidebar'); |
| 1729 |
|
$main_fields = $section->fetchFields(null, 'main'); |
| 1730 |
|
|
| 1731 |
|
if (!empty($sidebar_fields) && !empty($main_fields)) { |
| 1732 |
|
$this->Form->setAttribute('class', 'two columns'); |
| 1733 |
|
} else { |
| 1734 |
|
$this->Form->setAttribute('class', 'columns'); |
| 1735 |
|
} |
| 1736 |
|
|
| 1737 |
|
// Only show the Edit Section button if the Author is a developer. #938 ^BA |
| 1738 |
|
if (Symphony::Author()->isDeveloper()) { |