|
@@ 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()) { |
|
@@ 1309-1313 (lines=5) @@
|
| 1306 |
|
$sidebar_fields = $section->fetchFields(null, 'sidebar'); |
| 1307 |
|
$main_fields = $section->fetchFields(null, 'main'); |
| 1308 |
|
|
| 1309 |
|
if (!empty($sidebar_fields) && !empty($main_fields)) { |
| 1310 |
|
$this->Form->setAttribute('class', 'two columns'); |
| 1311 |
|
} else { |
| 1312 |
|
$this->Form->setAttribute('class', 'columns'); |
| 1313 |
|
} |
| 1314 |
|
|
| 1315 |
|
// Only show the Edit Section button if the Author is a developer. #938 ^BA |
| 1316 |
|
if (Symphony::Author()->isDeveloper()) { |