|
@@ 997-1001 (lines=5) @@
|
| 994 |
|
$sidebar_fields = $section->fetchFields(null, 'sidebar'); |
| 995 |
|
$main_fields = $section->fetchFields(null, 'main'); |
| 996 |
|
|
| 997 |
|
if (!empty($sidebar_fields) && !empty($main_fields)) { |
| 998 |
|
$this->Form->setAttribute('class', 'two columns'); |
| 999 |
|
} else { |
| 1000 |
|
$this->Form->setAttribute('class', 'columns'); |
| 1001 |
|
} |
| 1002 |
|
|
| 1003 |
|
// Only show the Edit Section button if the Author is a developer. #938 ^BA |
| 1004 |
|
if (Symphony::Author()->isDeveloper()) { |
|
@@ 1330-1334 (lines=5) @@
|
| 1327 |
|
$sidebar_fields = $section->fetchFields(null, 'sidebar'); |
| 1328 |
|
$main_fields = $section->fetchFields(null, 'main'); |
| 1329 |
|
|
| 1330 |
|
if (!empty($sidebar_fields) && !empty($main_fields)) { |
| 1331 |
|
$this->Form->setAttribute('class', 'two columns'); |
| 1332 |
|
} else { |
| 1333 |
|
$this->Form->setAttribute('class', 'columns'); |
| 1334 |
|
} |
| 1335 |
|
|
| 1336 |
|
// Only show the Edit Section button if the Author is a developer. #938 ^BA |
| 1337 |
|
if (Symphony::Author()->isDeveloper()) { |