symphony/content/content.blueprintsdatasources.php 1 location
|
@@ 263-265 (lines=3) @@
|
| 260 |
|
if (is_array($sections) && !empty($sections)) { |
| 261 |
|
array_unshift($options, array('label' => __('Sections'), 'data-label' => 'sections', 'options' => array())); |
| 262 |
|
|
| 263 |
|
foreach ($sections as $s) { |
| 264 |
|
$options[0]['options'][] = array($s->get('id'), ($fields['source'] == $s->get('id')), General::sanitize($s->get('name'))); |
| 265 |
|
} |
| 266 |
|
} |
| 267 |
|
|
| 268 |
|
$div->appendChild(Widget::Select('source', $options, array('id' => 'ds-context'))); |
symphony/content/content.blueprintsevents.php 1 location
|
@@ 156-158 (lines=3) @@
|
| 153 |
|
if (is_array($sections) && !empty($sections)) { |
| 154 |
|
$section_options = array('label' => __('Sections'), 'options' => array()); |
| 155 |
|
|
| 156 |
|
foreach ($sections as $s) { |
| 157 |
|
$section_options['options'][] = array($s->get('id'), $source == $s->get('id'), General::sanitize($s->get('name'))); |
| 158 |
|
} |
| 159 |
|
} |
| 160 |
|
|
| 161 |
|
$options[] = $section_options; |
symphony/content/content.systemauthors.php 1 location
|
@@ 432-438 (lines=7) @@
|
| 429 |
|
} |
| 430 |
|
|
| 431 |
|
if (is_array($sections) && !empty($sections)) { |
| 432 |
|
foreach ($sections as $s) { |
| 433 |
|
$options[] = array( |
| 434 |
|
$s->get('id'), |
| 435 |
|
$author->get('default_area') == $s->get('id'), |
| 436 |
|
General::sanitize($s->get('name')) |
| 437 |
|
); |
| 438 |
|
} |
| 439 |
|
} |
| 440 |
|
|
| 441 |
|
/** |