1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
$count = 0;
|
11 |
|
|
?>
|
12 |
|
|
|
13 |
|
|
<div id="editor-configuration-form">
|
14 |
|
|
|
15 |
|
|
<table id="properties" class="sticky-enabled">
|
16 |
|
|
<tbody>
|
17 |
|
|
<?php foreach ($rows as $container_key => $container_settings): ?>
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
<tr class="container-row" id="<?php print $container_key; ?>">
|
21 |
|
|
<td colspan="3"><?php print $container_settings['textfield']; ?></td>
|
22 |
|
|
</tr>
|
23 |
|
|
|
24 |
|
|
<?php if (isset($container_settings['properties'])): ?>
|
25 |
|
|
<?php foreach ($container_settings['properties'] as $property_key => $property): ?>
|
26 |
|
|
|
27 |
|
|
<tr class="<?php print $count % 2 == 0 ? 'odd' : 'even'; ?> draggable">
|
28 |
|
|
<td><?php print $property->name; ?></td>
|
29 |
|
|
<td><?php print $property->container; ?></td>
|
30 |
|
|
<td><?php print $property->weight; ?></td>
|
31 |
|
|
</tr>
|
32 |
|
|
<?php $count++; ?>
|
33 |
|
|
<?php endforeach; ?>
|
34 |
|
|
<?php endif; ?>
|
35 |
|
|
<?php endforeach; ?>
|
36 |
|
|
|
37 |
|
|
</tbody>
|
38 |
|
|
</table>
|
39 |
|
|
|
40 |
|
|
<?php print $submit; ?>
|
41 |
|
|
|
42 |
|
|
</div> |