|
@@ 976-980 (lines=5) @@
|
| 973 |
|
$sidebar_fields = $section->fetchFields(null, 'sidebar'); |
| 974 |
|
$main_fields = $section->fetchFields(null, 'main'); |
| 975 |
|
|
| 976 |
|
if (!empty($sidebar_fields) && !empty($main_fields)) { |
| 977 |
|
$this->Form->setAttribute('class', 'two columns'); |
| 978 |
|
} else { |
| 979 |
|
$this->Form->setAttribute('class', 'columns'); |
| 980 |
|
} |
| 981 |
|
|
| 982 |
|
// Only show the Edit Section button if the Author is a developer. #938 ^BA |
| 983 |
|
if (Symphony::Author()->isDeveloper()) { |
|
@@ 1325-1329 (lines=5) @@
|
| 1322 |
|
$sidebar_fields = $section->fetchFields(null, 'sidebar'); |
| 1323 |
|
$main_fields = $section->fetchFields(null, 'main'); |
| 1324 |
|
|
| 1325 |
|
if (!empty($sidebar_fields) && !empty($main_fields)) { |
| 1326 |
|
$this->Form->setAttribute('class', 'two columns'); |
| 1327 |
|
} else { |
| 1328 |
|
$this->Form->setAttribute('class', 'columns'); |
| 1329 |
|
} |
| 1330 |
|
|
| 1331 |
|
// Only show the Edit Section button if the Author is a developer. #938 ^BA |
| 1332 |
|
if (Symphony::Author()->isDeveloper()) { |